Brainache
Member
|
Set animation to looping via code
Hey there,
How can I change the looping flag of an animation via code?
( ie... i am loading an amination with thousands of frames, clippping out a range of frames, saving those to a file... and I need to set that file to looping.. instead of going back and loading each file in mesh editor and doing animation->toggle looping)
I see the ANIM_LOOP value for the _flag private field... and see that the loop() function tests for it.. but it doesnt appear that I can set the _flag bit due to it being private...
Suggestions?
Thanks!
|
|
04-18-2010 03:18 PM |
|
Esenthel
Administrator
|
RE: Set animation to looping via code
Hello,
I'll enable a method for changing the looping in next version
|
|
04-18-2010 03:24 PM |
|
Brainache
Member
|
RE: Set animation to looping via code
Great.. Thanks!
|
|
04-19-2010 02:03 PM |
|