Add threshold to dragging nodes with select to prevent accidental drags
This commit is contained in:
parent
766c6dbb24
commit
00a4ee5cf3
4 changed files with 36 additions and 15 deletions
|
|
@ -387,6 +387,7 @@ private:
|
|||
Vector3 orig_gizmo_pos;
|
||||
int edited_gizmo = 0;
|
||||
Point2 mouse_pos;
|
||||
Point2 original_mouse_pos;
|
||||
bool snap = false;
|
||||
Ref<EditorNode3DGizmo> gizmo;
|
||||
int gizmo_handle = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue