mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Replace radians range hint with radians_as_degrees
This commit is contained in:
parent
c12d63556b
commit
e45927b2f2
18 changed files with 63 additions and 55 deletions
|
|
@ -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();
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue