Remove node_hrcr hack
This commit is contained in:
parent
9c9ec63e1d
commit
de4f29f458
15 changed files with 42 additions and 50 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue