浏览代码

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

Remove nearly-unused "default" range hint min/max
Thaddeus Crews 1 周之前
父节点
当前提交
73da0d2020
共有 1 个文件被更改,包括 2 次插入2 次删除
  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 {
 struct EditorPropertyRangeHint {
 	bool or_greater = true;
 	bool or_greater = true;
 	bool or_less = 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;
 	double step = 1.0;
 	String suffix;
 	String suffix;
 	bool exp_range = false;
 	bool exp_range = false;