diff options
Diffstat (limited to 'editor/editor_properties.h')
| -rw-r--r-- | editor/editor_properties.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/editor_properties.h b/editor/editor_properties.h index 281ab03986..5feb40b3d7 100644 --- a/editor/editor_properties.h +++ b/editor/editor_properties.h @@ -399,7 +399,7 @@ class EditorPropertyFloat : public EditorProperty { GDCLASS(EditorPropertyFloat, EditorProperty); EditorSpinSlider *spin = nullptr; bool setting = false; - bool angle_in_radians = false; + bool radians_as_degrees = false; void _value_changed(double p_val); protected: @@ -408,7 +408,7 @@ protected: public: virtual void update_property() override; - void setup(double p_min, double p_max, double p_step, bool p_hide_slider, bool p_exp_range, bool p_greater, bool p_lesser, const String &p_suffix = String(), bool p_angle_in_radians = false); + void setup(double p_min, double p_max, double p_step, bool p_hide_slider, bool p_exp_range, bool p_greater, bool p_lesser, const String &p_suffix = String(), bool p_radians_as_degrees = false); EditorPropertyFloat(); }; |
