A blog about character rigging and things connected.
Explicitly stating the constant is much much better for code readability.connectAttributes = ['tx', 'ty', 'tz', 'rx', 'ry', 'rz', 'sx', 'sy', 'sz', 'ro']for attribute in connectAttributes: ...Have constants defined if you use this more often.
Thanks for the note. I'll update the post with a better example.
Explicitly stating the constant is much much better for code readability.
ReplyDeleteconnectAttributes = ['tx', 'ty', 'tz', 'rx', 'ry', 'rz', 'sx', 'sy', 'sz', 'ro']
for attribute in connectAttributes:
...
Have constants defined if you use this more often.
Thanks for the note. I'll update the post with a better example.
Delete