From dfd1331690fab7e634e2e18fd7269bab8f759b3a Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Wed, 16 May 2018 09:13:41 -0300 Subject: Allow editing of some unbound properties when hinted (or no range hinted) --- editor/editor_properties.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'editor/editor_properties.h') diff --git a/editor/editor_properties.h b/editor/editor_properties.h index 0a831bfcfe..4fcef5fdae 100644 --- a/editor/editor_properties.h +++ b/editor/editor_properties.h @@ -201,7 +201,7 @@ protected: public: virtual void update_property(); - void setup(int p_min, int p_max); + void setup(int p_min, int p_max, bool p_allow_greater, bool p_allow_lesser); EditorPropertyInteger(); }; @@ -231,7 +231,7 @@ protected: public: virtual void update_property(); - void setup(double p_min, double p_max, double p_step, bool p_no_slider, bool p_exp_range); + void setup(double p_min, double p_max, double p_step, bool p_no_slider, bool p_exp_range, bool p_greater, bool p_lesser); EditorPropertyFloat(); }; -- cgit v1.2.3