summaryrefslogtreecommitdiff
path: root/scene
diff options
context:
space:
mode:
authorAndrea Catania <info@andreacatania.com>2018-10-05 15:15:54 +0200
committerAndrea Catania <info@andreacatania.com>2018-10-05 15:15:54 +0200
commit5328dcb7bba61f7727bdf75ec634adab1584a51c (patch)
tree9b4429d98ff9daee8bbd823dd629aa4ec3e3c141 /scene
parent62fc66291be4b86c91a7d52bade2102abd783e3a (diff)
Improved trimesh stability
Diffstat (limited to 'scene')
-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 8ccca81acd..869f4a3a9b 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.01"), "set_margin", "get_margin");
+ ADD_PROPERTY(PropertyInfo(Variant::REAL, "margin", PROPERTY_HINT_RANGE, "0.04,10,0.001"), "set_margin", "get_margin");
}
Shape::Shape() :