From 5e7264b2923ff87c83acce2f45d0e15bbea12ac3 Mon Sep 17 00:00:00 2001 From: Relintai Date: Sun, 8 Sep 2024 15:29:07 +0200 Subject: [PATCH] Increase max trunk length. --- modules/procedural_tree_3d/procedural_tree_mesh.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/procedural_tree_3d/procedural_tree_mesh.cpp b/modules/procedural_tree_3d/procedural_tree_mesh.cpp index 682e0a551..2711d63e1 100644 --- a/modules/procedural_tree_3d/procedural_tree_mesh.cpp +++ b/modules/procedural_tree_3d/procedural_tree_mesh.cpp @@ -659,7 +659,7 @@ void ProceduralTreeMesh::_bind_methods() { ClassDB::bind_method(D_METHOD("trunk_get_length"), &ProceduralTreeMesh::trunk_get_length); ClassDB::bind_method(D_METHOD("trunk_set_length", "value"), &ProceduralTreeMesh::trunk_set_length); - ADD_PROPERTY(PropertyInfo(Variant::REAL, "trunk_length", PROPERTY_HINT_RANGE, "0.01,5,0.001"), "trunk_set_length", "trunk_get_length"); + ADD_PROPERTY(PropertyInfo(Variant::REAL, "trunk_length", PROPERTY_HINT_RANGE, "0.01,50,0.001"), "trunk_set_length", "trunk_get_length"); ADD_GROUP("Mesh", "");