mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-05 11:28:17 -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:
|
for i in self.selectedNodePathHookHooks:
|
||||||
i()
|
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.fDrive:
|
||||||
if self.controlManager:
|
base.direct.deselect(nodePath)
|
||||||
self.controlManager.disable()
|
|
||||||
|
|
||||||
def deselectedNodePathHook(self, nodePath):
|
def deselectedNodePathHook(self, nodePath):
|
||||||
# Clear out old root variables
|
# Clear out old root variables
|
||||||
|
Loading…
x
Reference in New Issue
Block a user