Browse Source

Made selectio not working in the avatar-drive mode

Gyedo Jeon 18 years ago
parent
commit
ba103752f3
1 changed files with 1 additions and 5 deletions
  1. 1 5
      direct/src/leveleditor/LevelEditor.py

+ 1 - 5
direct/src/leveleditor/LevelEditor.py

@@ -2257,12 +2257,8 @@ class LevelEditor(NodePath, DirectObject):
         for i in self.selectedNodePathHookHooks:
                 i()
 
-        # if in drive mode and some object is selected, disable
-        # avatar controls and camera controls to prevent conflicts
-        # with being able to manipulate the selected object
         if self.fDrive:
-            if self.controlManager:
-                self.controlManager.disable()
+            base.direct.deselect(nodePath)
 
     def deselectedNodePathHook(self, nodePath):
         # Clear out old root variables