This panel is not for 2D paint, IMAGEPAINT_PROJECT_LAYER_CLONE is only ever used in projection painting, not 2D painting.
Add a proper poll for this.
Details
Details
Diff Detail
Diff Detail
- Repository
- rB Blender
Event Timeline
Comment Actions
The object check should be restricted to settings.mode == 'MATERIAL' case, since this panel is also for 2D image painting.
Comment Actions
settings.mode == 'IMAGE' also requires a mesh object...? or does this work without UVs? checking again...
Comment Actions
In fact, after checking more, this whole panel is useless in 2D paint, IMAGEPAINT_PROJECT_LAYER_CLONE is only ever used in ... well projection painting, not 2D painting...
I mean, I guess it could be supported in 2D as well, but this is outside the scope of this fix.
Will update diff accordingly...