mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-14 16:14:38 +00:00
Merge branch 'alpha40_zonePicker2' of https://github.com/Azaezel/Torque3D into Preview4_0
This commit is contained in:
commit
9524e77596
1 changed files with 14 additions and 14 deletions
|
|
@ -28,8 +28,8 @@
|
||||||
#include "scene/mixin/sceneAmbientSoundObject.impl.h"
|
#include "scene/mixin/sceneAmbientSoundObject.impl.h"
|
||||||
#include "scene/mixin/scenePolyhedralObject.impl.h"
|
#include "scene/mixin/scenePolyhedralObject.impl.h"
|
||||||
|
|
||||||
#include "gui/worldEditor/worldEditor.h"
|
|
||||||
#include "scene/sceneManager.h"
|
#include "scene/sceneManager.h"
|
||||||
|
#include "gui/worldEditor/worldEditor.h"
|
||||||
|
|
||||||
IMPLEMENT_CO_NETOBJECT_V1( Zone );
|
IMPLEMENT_CO_NETOBJECT_V1( Zone );
|
||||||
|
|
||||||
|
|
@ -103,10 +103,9 @@ bool Zone::_doSelect(void* object, const char* index, const char* data)
|
||||||
void Zone::selectWithin()
|
void Zone::selectWithin()
|
||||||
{
|
{
|
||||||
SimpleQueryList sql;
|
SimpleQueryList sql;
|
||||||
//getContainer()->polyhedronFindObjects(getPolyhedron(), 0xFFFFFFFF, SimpleQueryList::insertionCallback, &sql);
|
|
||||||
|
|
||||||
//replace the above with this once we stort out how to look up the managed zoneID from the insatnce itself
|
|
||||||
Zone* zoneClient = (Zone*)getClientObject();
|
Zone* zoneClient = (Zone*)getClientObject();
|
||||||
|
if (zoneClient)
|
||||||
|
{
|
||||||
SceneZoneSpaceManager* zoneManager = zoneClient->getSceneManager()->getZoneManager();
|
SceneZoneSpaceManager* zoneManager = zoneClient->getSceneManager()->getZoneManager();
|
||||||
if (zoneManager)
|
if (zoneManager)
|
||||||
{
|
{
|
||||||
|
|
@ -125,6 +124,7 @@ void Zone::selectWithin()
|
||||||
sql.insertObject(obj);
|
sql.insertObject(obj);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
WorldEditor* wedit;
|
WorldEditor* wedit;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue