mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
Made selectio not working in the avatar-drive mode
This commit is contained in:
parent
e1ff1900e8
commit
ba103752f3
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user