Make 3D selection box independent of object size

Also fixed a typo where sbox_instance was mixed up with sbox_instance_xray.
This commit is contained in:
Haoyu Qiu
2021-08-09 22:51:30 +08:00
parent 25fd4edd29
commit 34b8d1e119
2 changed files with 42 additions and 19 deletions
+2
View File
@@ -422,7 +422,9 @@ public:
bool last_xform_dirty;
Node3D *sp;
RID sbox_instance;
RID sbox_instance_offset;
RID sbox_instance_xray;
RID sbox_instance_xray_offset;
Ref<EditorNode3DGizmo> gizmo;
Map<int, Transform3D> subgizmos; // map ID -> initial transform