Call make_visible(false) instead of just hiding voxel_world_editor. This fixes #7. Thanks.

This commit is contained in:
Relintai 2022-02-09 14:37:33 +01:00
parent bdf5c36711
commit 65485930a2

View File

@ -471,7 +471,7 @@ VoxelWorldEditorPlugin::VoxelWorldEditorPlugin(EditorNode *p_node) {
add_control_to_container(CONTAINER_SPATIAL_EDITOR_SIDE_RIGHT, voxel_world_editor); add_control_to_container(CONTAINER_SPATIAL_EDITOR_SIDE_RIGHT, voxel_world_editor);
} break; } break;
} }
voxel_world_editor->hide(); make_visible(false);
} }
VoxelWorldEditorPlugin::~VoxelWorldEditorPlugin() { VoxelWorldEditorPlugin::~VoxelWorldEditorPlugin() {