I am not sure if this is something that people are running from scripts?
Yeah, this was the area I don't know much about and could see as being problematic here. IMO it might make sense to…
Some more data here, on my MBP with a M3 Pro, I cannot get this distorted geometry to appear. I wonder if this is NVIDIA specific?
Operating system: macOS-14.4-arm64-arm-64bit 64 Bits Graphics…
Ran with --log "*,^wm.msgbus.*" --log-level -1
but didn't get anything interesting in particular from the output
So, I mainly did manual testing here on a few different meshes:
I'm not sure what the best practice here is, but I couldn't see a way to access this data inside the C++ code for this property, as the RNA runtime for this passes in nullptr
for the ED_image_paint_brush_type_use_canvas
bContext
parameter, and there doesn't appear to be a way to keep this a property and also pass that parameter in, nor does it seem possible to access the currently active brush type from just a bToolRef