mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 01:44:06 -04:00
*** empty log message ***
This commit is contained in:
parent
a9f6d03ce9
commit
89d21422b5
@ -600,7 +600,7 @@ class LevelEditor(NodePath, PandaObject):
|
||||
# First snap selected node path to grid
|
||||
pos = selectedNode.getPos(direct.grid)
|
||||
snapPos = direct.grid.computeSnapPoint(pos)
|
||||
if self.fPlaneSnap.get():
|
||||
if self.panel.fPlaneSnap.get():
|
||||
zheight = 0
|
||||
else:
|
||||
zheight = snapPos[2]
|
||||
|
Loading…
x
Reference in New Issue
Block a user