Rotated geometry's position does not persist through save.

Started by coverton, December 08, 2017, 11:55:32 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

coverton

Keyshot 7, Windows 7.

Wrote this small script to rotate all geometry 90 degrees which worked perfectly in Keyshot 6.  Ever since upgrading to 7 the script runs fine but after saving, closing, and then reopening a file all geometry is back to it's original position.

root = lux.getSceneTree()
y_axis = luxmath.Vector(0,1,0)
R = luxmath.Matrix().makeIdentity().rotateAroundAxis(y_axis, -90)
root.applyTransform(R)


Update: I just noticed that the Move Tool arrows are reversed when working on a rotate object.