Notifications
Clear all
[Closed] Disable timeline update
Mar 18, 2016 11:29 am
Hi,
My tool does some operation on each frame. How do I disable the timeline update to speed things up?
6 Replies
2 Replies
Mar 18, 2016 11:29 am
I mean right now I just loop through the timeline and update frames, maybe thats just wrong logic. But still I cannot think about anything else:
t1 = animationRange.start
t2 = animationRange.end
sliderTime = animationRange.start
for t = 1 to (t2.frame – t1.frame) as integer do (
with redraw off (
– some code
sliderTime += 1f
)
)
sliderTime = animationRange.start
2 Replies
Use ‘at time’ context. There are plenty of exmaple on the forum. Here is a simple one:
(
delete objects
b = box()
for j = 1 to 100 do with animate on at time j b.pos.x = j
)
Otherwise, you may want to get the controller’s keys array and directly work with each key.