disable_item_mode - to set previously edited object as active

It seems very natural that after exiting item mode the edited item should become active (similar to how it works in edit mode).
This commit is contained in:
Andrej730
2024-09-25 10:45:34 +05:00
parent 3c309bbac8
commit 5952ce8ed3
+1
View File
@@ -1485,6 +1485,7 @@ class Geometry(bonsai.core.tool.Geometry):
if props.representation_obj:
props.representation_obj.hide_set(False)
cls.unlock_object(props.representation_obj)
tool.Blender.set_active_object(props.representation_obj)
cls.sync_item_positions()
props.is_changing_mode = True
if props.mode != "OBJECT":