mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -04:00
*** empty log message ***
This commit is contained in:
parent
50e0952b6b
commit
69b5116768
@ -699,7 +699,8 @@ class LevelEditor(NodePath, PandaObject):
|
|||||||
if hotKey == 'insert':
|
if hotKey == 'insert':
|
||||||
self.setRandomBuildingStyle(dnaNode, dnaNode.getName())
|
self.setRandomBuildingStyle(dnaNode, dnaNode.getName())
|
||||||
# Get a new building width
|
# Get a new building width
|
||||||
self.setCurrent('building_width', self.getRandomWallWidth())
|
self.setCurrent('building_width',
|
||||||
|
self.getRandomWallWidth())
|
||||||
dnaNode.setWidth(self.getCurrent('building_width'))
|
dnaNode.setWidth(self.getCurrent('building_width'))
|
||||||
|
|
||||||
# Add the DNA to the active parent
|
# Add the DNA to the active parent
|
||||||
|
Loading…
x
Reference in New Issue
Block a user