You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-10 13:00:37 +00:00
Update snap setting only with OK
restore previous values with cancel
(cherry picked from commit 667a981d4d)
This commit is contained in:
@@ -579,6 +579,9 @@ private:
|
||||
Ref<SpatialMaterial> plane_gizmo_color_hl[3];
|
||||
|
||||
int over_gizmo_handle;
|
||||
float snap_translate_value;
|
||||
float snap_rotate_value;
|
||||
float snap_scale_value;
|
||||
|
||||
Ref<ArrayMesh> selection_box;
|
||||
RID indicators;
|
||||
@@ -658,6 +661,8 @@ private:
|
||||
SpinBox *settings_znear;
|
||||
SpinBox *settings_zfar;
|
||||
|
||||
void _snap_changed();
|
||||
void _snap_update();
|
||||
void _xform_dialog_action();
|
||||
void _menu_item_pressed(int p_option);
|
||||
void _menu_item_toggled(bool pressed, int p_option);
|
||||
|
||||
Reference in New Issue
Block a user