summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBastiaan Olij <mux213@gmail.com>2018-11-03 18:55:18 +1100
committerBastiaan Olij <mux213@gmail.com>2018-11-08 19:26:09 +1100
commitf10a10ca1db9dfee03fdfb3b8a7e01db914561b5 (patch)
tree6b2577bc01576177a1019beb2ee7b5b028030879
parent6d7dc9d98bba92d6c8ff66b053d088bb01d8b000 (diff)
downloadredot-engine-f10a10ca1db9dfee03fdfb3b8a7e01db914561b5.tar.gz
Lower minimum margin for collision shapes
-rw-r--r--scene/resources/shape.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/resources/shape.cpp b/scene/resources/shape.cpp
index 869f4a3a9b..214e2e8edc 100644
--- a/scene/resources/shape.cpp
+++ b/scene/resources/shape.cpp
@@ -101,7 +101,7 @@ void Shape::_bind_methods() {
ClassDB::bind_method(D_METHOD("set_margin", "margin"), &Shape::set_margin);
ClassDB::bind_method(D_METHOD("get_margin"), &Shape::get_margin);
- ADD_PROPERTY(PropertyInfo(Variant::REAL, "margin", PROPERTY_HINT_RANGE, "0.04,10,0.001"), "set_margin", "get_margin");
+ ADD_PROPERTY(PropertyInfo(Variant::REAL, "margin", PROPERTY_HINT_RANGE, "0.001,10,0.001"), "set_margin", "get_margin");
}
Shape::Shape() :