mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-11 22:54:34 +00:00
Merge pull request #1136 from Areloch/TabbedEditorFormBaseline
Moves the world Editor guis to be based through a tabbed structure
This commit is contained in:
commit
917cb882e9
20 changed files with 1503 additions and 1471 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue