Преглед изворни кода

Bugfix: Properly prune destroyed scene objects when returning the current selection

BearishSun пре 6 година
родитељ
комит
a5b71495f3
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      Source/EditorCore/Scene/BsSelection.cpp

+ 1 - 1
Source/EditorCore/Scene/BsSelection.cpp

@@ -235,7 +235,7 @@ namespace bs
 		bool anyDestroyed = false;
 		for (auto& SO : sceneObjects)
 		{
-			if (!SO.isDestroyed(true))
+			if (SO.isDestroyed(true))
 			{
 				anyDestroyed = true;
 				break;