mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-12-27 01:48:35 -07:00
Allow painting only when 1 object is selected
CURA-12660
This commit is contained in:
parent
6292f5b133
commit
ef7bde87fa
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue