Bladeren bron

coincident point fix

Joe Shochet 22 jaren geleden
bovenliggende
commit
b25970c3c4
1 gewijzigde bestanden met toevoegingen van 3 en 0 verwijderingen
  1. 3 0
      direct/src/leveleditor/LevelEditor.py

+ 3 - 0
direct/src/leveleditor/LevelEditor.py

@@ -2868,6 +2868,9 @@ class LevelEditor(NodePath, PandaObject):
         # Store the point in the DNA. If this point is already in there,
         # it returns the existing point
         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):
             marker = self.drawSuitPoint(suitPoint,
                 absPos, self.currentSuitPointType,