소스 검색

Merge pull request #1377 from Azaezel/alpha41/cureEDysfunction

need to filter subscenes out of screenspace box drag
Brian Roberts 7 달 전
부모
커밋
75db179ced
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;