Page MenuHome

Calling UV Sculpt From Operator Search Crashes Blender
Closed, ResolvedPublicBUG

Description

System Information
Operating system: Linux-5.3.0-26-generic-x86_64-with-debian-buster-sid 64 Bits
Graphics card: Mesa DRI Intel(R) UHD Graphics 620 (Kabylake GT2) Intel Open Source Technology Center 4.5 (Core Profile) Mesa 19.2.1

Blender Version
Broken: version: 2.83 (sub 0), branch: master, commit date: 2020-01-17 19:09, hash: rB1f92e9903fb7
Worked: (optional)

Short description of error
Calling UV Sculpt From Operator Search Crashes Blender

Exact steps for others to reproduce the error
Open UV Editing workspace
Calling UV Sculpt From Operator Search

Event Timeline

Jeroen Bakker (jbakker) changed the task status from Needs Triage to Confirmed.Jan 20 2020, 9:26 AM
Jeroen Bakker (jbakker) changed the subtype of this task from "Report" to "Bug".

It fails as in uv_sculpt_stroke_init the uvsculpt tool isn't initialized yet (ts->uvsculpt == NULL).

Proposed solutions is to Implement a more accurate poll function so it doesn't select the in the search menu as it needs a valid ts->uvsculpt. This seems to be the best situation as there are multiple brushes that could be assigned. It isn't clear for the user what brush will be selected.

Committed fix before I saw your comment. Updating poll was simplest.

Creating the data on demand was more involved that I'd have liked and adds a code-path that almost never runs.