Merge pull request #1136 from Areloch/TabbedEditorFormBaseline

Moves the world Editor guis to be based through a tabbed structure
This commit is contained in:
Brian Roberts 2023-11-14 19:31:42 -06:00 committed by GitHub
commit 917cb882e9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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);