mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-14 08:04:40 +00:00
need to filter subscenes out of screenspace box drag
the ap hangs otherwise
This commit is contained in:
parent
f71f4e051f
commit
11bf7df46d
1 changed files with 1 additions and 1 deletions
|
|
@ -2464,7 +2464,7 @@ static void findDragMeshCallback( SceneObject *obj, void *data )
|
||||||
if ( dragData->mWorldEditor->objClassIgnored( obj ) ||
|
if ( dragData->mWorldEditor->objClassIgnored( obj ) ||
|
||||||
!obj->isSelectionEnabled() ||
|
!obj->isSelectionEnabled() ||
|
||||||
obj->getTypeMask() & ( TerrainObjectType | ProjectileObjectType ) ||
|
obj->getTypeMask() & ( TerrainObjectType | ProjectileObjectType ) ||
|
||||||
dynamic_cast< GroundPlane* >( obj ) ||
|
dynamic_cast< GroundPlane* >( obj ) || dynamic_cast<SubScene*>(obj) ||
|
||||||
Prefab::getPrefabByChild( obj ) )
|
Prefab::getPrefabByChild( obj ) )
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue