Explorar el Código

Bugfix: Auto-select objects dropped into the Hierarcy window

BearishSun hace 6 años
padre
commit
8cd64e8f76
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      Source/EditorCore/GUI/BsGUITreeView.cpp

+ 1 - 1
Source/EditorCore/GUI/BsGUITreeView.cpp

@@ -418,9 +418,9 @@ namespace bs
 						treeElement = element->parent;
 				}
 
+				unselectAll();
 				dragAndDropEnded(treeElement);
 				mDragInProgress = false;
-				unselectAll();
 
 				return true;
 			}