mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
coincident point fix
This commit is contained in:
parent
de732a0bab
commit
b25970c3c4
@ -2868,6 +2868,9 @@ class LevelEditor(NodePath, PandaObject):
|
|||||||
# Store the point in the DNA. If this point is already in there,
|
# Store the point in the DNA. If this point is already in there,
|
||||||
# it returns the existing point
|
# it returns the existing point
|
||||||
suitPoint = DNASTORE.storeSuitPoint(self.currentSuitPointType, absPos)
|
suitPoint = DNASTORE.storeSuitPoint(self.currentSuitPointType, absPos)
|
||||||
|
print "placeSuitPoint: ", suitPoint
|
||||||
|
# In case the point returned is a different type, update our type
|
||||||
|
self.currentSuitPointType = suitPoint.getPointType()
|
||||||
if not self.pointDict.has_key(suitPoint):
|
if not self.pointDict.has_key(suitPoint):
|
||||||
marker = self.drawSuitPoint(suitPoint,
|
marker = self.drawSuitPoint(suitPoint,
|
||||||
absPos, self.currentSuitPointType,
|
absPos, self.currentSuitPointType,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user