*** empty log message ***

This commit is contained in:
Joe Shochet 2001-03-12 21:06:08 +00:00
parent d7857a6f5a
commit 600ed23ca7

View File

@ -2666,9 +2666,9 @@ class LevelStyleManager:
center = bounds.getCenter()
center = center * (sf * node.getScale()[0])
# Reposition it
node.setXY((radius * math.cos(i * angle)) - center[0],
(radius * aspectRatio * math.sin(i * angle)) -
center[2])
node.setPos((radius * math.cos(i * angle)) - center[0],
(radius * aspectRatio * math.sin(i * angle)) -
center[2])
node.setScale(node.getScale() * sf)
# Add it to the wallColorMenu
node.reparentTo(newColorMenu)
@ -2774,9 +2774,9 @@ class LevelStyleManager:
bounds = node.getBounds()
center = bounds.getCenter()
center = center * (sf * node.getScale()[0])
node.setXY(radius * math.cos(i * angle) - center[0],
((radius * aspectRatio * math.sin(i * angle)) -
center[2]))
node.setPos(radius * math.cos(i * angle) - center[0],
((radius * aspectRatio * math.sin(i * angle)) -
center[2]))
node.setScale(node.getScale() * sf)
# Add it to the newMenu
node.reparentTo(newMenu)