Skip to content

Commit

Permalink
#123 Fix bug crash after reset layout
Browse files Browse the repository at this point in the history
  • Loading branch information
ducphamhong committed Feb 24, 2022
1 parent 5dbf226 commit 3f067e4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Projects/Editor/Source/Editor/Space/Scene/CSpaceScene.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 3f067e4

Please sign in to comment.