summaryrefslogtreecommitdiff
path: root/scene/resources/world_boundary_shape_2d.cpp
diff options
context:
space:
mode:
authorAaron Franke <arnfranke@yahoo.com>2021-12-02 18:09:19 -0600
committerAaron Franke <arnfranke@yahoo.com>2022-05-19 14:34:27 -0500
commit5dc3bfb80e84cdb1861f0d5900dc086b04e1e101 (patch)
treef764c3da29e924a8ff60504fefe252276bc5224e /scene/resources/world_boundary_shape_2d.cpp
parent920ca6252888489ca72647ad8d5ef721d5e5e686 (diff)
Use suffixes for units in nodes and resources
Diffstat (limited to 'scene/resources/world_boundary_shape_2d.cpp')
-rw-r--r--scene/resources/world_boundary_shape_2d.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/resources/world_boundary_shape_2d.cpp b/scene/resources/world_boundary_shape_2d.cpp
index ac5be79d24..013ffb9e24 100644
--- a/scene/resources/world_boundary_shape_2d.cpp
+++ b/scene/resources/world_boundary_shape_2d.cpp
@@ -108,7 +108,7 @@ void WorldBoundaryShape2D::_bind_methods() {
ClassDB::bind_method(D_METHOD("get_distance"), &WorldBoundaryShape2D::get_distance);
ADD_PROPERTY(PropertyInfo(Variant::VECTOR2, "normal"), "set_normal", "get_normal");
- ADD_PROPERTY(PropertyInfo(Variant::FLOAT, "distance", PROPERTY_HINT_RANGE, "0.01,1024,0.01,or_greater"), "set_distance", "get_distance");
+ ADD_PROPERTY(PropertyInfo(Variant::FLOAT, "distance", PROPERTY_HINT_RANGE, "0.01,1024,0.01,or_greater,suffix:px"), "set_distance", "get_distance");
}
WorldBoundaryShape2D::WorldBoundaryShape2D() :