summaryrefslogtreecommitdiffstats
path: root/scene/3d/voxel_gi.cpp
diff options
context:
space:
mode:
authorkobewi <kobewi4e@gmail.com>2021-10-21 16:46:07 +0200
committerkobewi <kobewi4e@gmail.com>2021-10-28 01:43:34 +0200
commitde4f29f458fd07d9fb132e38662359e2850c566c (patch)
tree97098883d5c6feb0d7edb0abb763d716b657ac83 /scene/3d/voxel_gi.cpp
parent9c9ec63e1dbd33cace4a988783f1130b4c3f06ad (diff)
downloadredot-engine-de4f29f458fd07d9fb132e38662359e2850c566c.tar.gz
Remove node_hrcr hack
Diffstat (limited to 'scene/3d/voxel_gi.cpp')
-rw-r--r--scene/3d/voxel_gi.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/3d/voxel_gi.cpp b/scene/3d/voxel_gi.cpp
index 377abd5b38..18b1632048 100644
--- a/scene/3d/voxel_gi.cpp
+++ b/scene/3d/voxel_gi.cpp
@@ -403,7 +403,7 @@ void VoxelGI::bake(Node *p_from_node, bool p_create_visual_debug) {
if (p_create_visual_debug) {
MultiMeshInstance3D *mmi = memnew(MultiMeshInstance3D);
mmi->set_multimesh(baker.create_debug_multimesh());
- add_child(mmi);
+ add_child(mmi, true);
#ifdef TOOLS_ENABLED
if (is_inside_tree() && get_tree()->get_edited_scene_root() == this) {
mmi->set_owner(this);