Browse Source

Merge pull request #109884 from aaronfranke/range-min-max

Remove nearly-unused "default" range hint min/max
Thaddeus Crews 2 tuần trước cách đây
mục cha
commit
73da0d2020
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      editor/inspector/editor_properties.cpp

+ 2 - 2
editor/inspector/editor_properties.cpp

@@ -3591,8 +3591,8 @@ bool EditorInspectorDefaultPlugin::parse_property(Object *p_object, const Varian
 struct EditorPropertyRangeHint {
 	bool or_greater = true;
 	bool or_less = true;
-	double min = -99999.0;
-	double max = 99999.0;
+	double min = 0.0;
+	double max = 0.0;
 	double step = 1.0;
 	String suffix;
 	bool exp_range = false;