Fix stack overflow when instancing a terrain node in editor

This commit is contained in:
Marc Gilleron 2021-12-14 01:28:10 +00:00
parent efc12ffefb
commit 35f09b7f72

View File

@ -43,7 +43,7 @@ TypedArray<String> VoxelNode::get_configuration_warnings() const {
Ref<VoxelStream> stream = get_stream();
Ref<VoxelGenerator> generator = get_generator();
TypedArray<String> warnings = get_configuration_warnings();
TypedArray<String> warnings = Node3D::get_configuration_warnings();
if (mesher.is_null()) {
warnings.append(TTR("This node has no mesher assigned, it wont produce any mesh visuals. "