Exocortex / ExocortexCrate

http://exocortex.com/products/crate
BSD 3-Clause "New" or "Revised" License
134 stars 68 forks source link

Softimage "time" expressions should use "Fr" instead of "PlayControl.Rate" #37

Open SaoPauloooo opened 9 years ago

SaoPauloooo commented 9 years ago

When exporting Models, the connection to PlayControl.Rate is lost and the expression breaks. If you use "Fr" the expression is exported intact. Reference http://softimage.wiki.softimage.com/sdkdocs/ref_quickref_TimeVariables.htm#Rzy70817)

For example, the time expression on an alembic_polymesh operator is set to this:

alembic_timecontrol.current * alembic_timecontrol.factor + alembic_timecontrol.offset + alembic_timecontrol.frameOffset / PlayControl.Rate

It can be changed to this and produce the same results and yet export correctly:

alembic_timecontrol.current * alembic_timecontrol.factor + alembic_timecontrol.offset + alembic_timecontrol.frameOffset / Fr