فهرست منبع

need to filter subscenes out of screenspace box drag
the ap hangs otherwise

AzaezelX 7 ماه پیش
والد
کامیت
11bf7df46d
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      Engine/source/gui/worldEditor/worldEditor.cpp

+ 1 - 1
Engine/source/gui/worldEditor/worldEditor.cpp

@@ -2464,7 +2464,7 @@ static void findDragMeshCallback( SceneObject *obj, void *data )
    if ( dragData->mWorldEditor->objClassIgnored( obj ) ||
         !obj->isSelectionEnabled() ||
         obj->getTypeMask() & ( TerrainObjectType | ProjectileObjectType ) ||
-        dynamic_cast< GroundPlane* >( obj ) ||
+        dynamic_cast< GroundPlane* >( obj ) || dynamic_cast<SubScene*>(obj) ||
         Prefab::getPrefabByChild( obj ) )
    {
       return;