Last active
February 25, 2017 01:37
-
-
Save hoorayfor3d/8e7c86c41276a9c811a0d32aec66a82e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
testAttributes = attributes testAttrs | |
( | |
rollout testAttr_RO "Test Attributes" | |
( | |
button test1_BT "Snap To Zero" width:160 height:30 | |
button test2_BT "Snap To 10" width:160 height:30 | |
on test1_BT pressed do | |
( | |
undo "Snap To Zero" on | |
( | |
$Box002.pos = [0,0,0] | |
) | |
) | |
on test2_BT pressed do | |
( | |
undo "Snap To 10" on | |
( | |
$Box002.pos = [0,0,10] | |
) | |
) | |
) | |
) | |
CustAttributes.add $.modifiers[1] testAttributes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment