Allow painting only when 1 object is selected

CURA-12660
This commit is contained in:
Erwan MATHIEU 2025-07-31 11:24:36 +02:00
parent 6292f5b133
commit ef7bde87fa

View file

@ -172,8 +172,8 @@ class PaintView(SolidView):
return
display_objects = Selection.getAllSelectedObjects().copy()
if not display_objects:
# Display the classic view until an object is selected
if len(display_objects) != 1:
# Display the classic view until a single object is selected
super().beginRendering()
return