diff --git a/Projects/Editor/Source/Editor/Space/Scene/CSpaceScene.cpp b/Projects/Editor/Source/Editor/Space/Scene/CSpaceScene.cpp index cedf8d0b9..f32f5c9f7 100644 --- a/Projects/Editor/Source/Editor/Space/Scene/CSpaceScene.cpp +++ b/Projects/Editor/Source/Editor/Space/Scene/CSpaceScene.cpp @@ -306,6 +306,8 @@ namespace Skylicht // register event m_scene->registerEvent("Handles", CHandles::getInstance()); m_scene->registerEvent("Selecting", CSelecting::getInstance()); + + m_scene->updateIndexSearchObject(); } CScene* CSpaceScene::initNullScene()