Moves the world Editor guis to be based through a tabbed structure to make it easier to begin separating out editor/tool guis into their own tabs or elements for better separation.

Currently establishes the MainScene tab and otherwise retains existing behavior directly
This commit is contained in:
Areloch 2023-11-14 18:58:58 -06:00
parent fcd611353d
commit 59247bd9ca
20 changed files with 1503 additions and 1471 deletions

View file

@ -248,7 +248,7 @@ void LightManager::registerGlobalLights( const Frustum *frustum, bool staticLigh
// the shape bounds and can often get culled.
GameConnection *conn = GameConnection::getConnectionToServer();
if (conn->getControlObject())
if (conn && conn->getControlObject())
{
GameBase *conObject = conn->getControlObject();
activeLights.push_back_unique(conObject);