Skip to content

Commit

Permalink
update bldg labels on rename if we are showing them
Browse files Browse the repository at this point in the history
  • Loading branch information
drewc5131 committed Dec 30, 2020
1 parent 57bb3e0 commit 66347e2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions toontown/leveleditor/LevelEditor.py
Original file line number Diff line number Diff line change
Expand Up @@ -1585,6 +1585,8 @@ def renameLandmark(self, title = ''):
dnaNode = self.findDNANode(selectedNode)
if DNAGetClassType(dnaNode) == DNA_LANDMARK_BUILDING:
dnaNode.setTitle(title)
if self.panel.bldgLabels.get():
self.labelBldgs()

def addAnimBuilding(self, animBuildingType):
print("addAnimBuilding %s " % animBuildingType)
Expand Down

0 comments on commit 66347e2

Please sign in to comment.