You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-24 15:26:15 +00:00
Fixes transform gizmo position when node has default transform
Changes made: * Added dirty bit for SpatialEditorSelectedItem's last_xform * SpatialEditorViewport checks that dirt bit too before skipping the selection
This commit is contained in:
@@ -482,10 +482,14 @@ public:
|
||||
Transform original; // original location when moving
|
||||
Transform original_local;
|
||||
Transform last_xform; // last transform
|
||||
bool last_xform_dirty;
|
||||
Spatial *sp;
|
||||
RID sbox_instance;
|
||||
|
||||
SpatialEditorSelectedItem() { sp = NULL; }
|
||||
SpatialEditorSelectedItem() {
|
||||
sp = NULL;
|
||||
last_xform_dirty = true;
|
||||
}
|
||||
~SpatialEditorSelectedItem();
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user