Problems setting T2
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 31/01/2005 at 06:33, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 9
Platform: Mac OSX ;
Language(s) : C.O.F.F.E.E ;---------
I'm trying to change T2 for a sequence, my code is:
t2 = seq->GetT2();
println("T2: ", t2->GetFrame(fps));
println("T2_neu: ", t2->GetFrame(fps) + zeitdifferenz);
t2->SetFrame(t2->GetFrame(fps) + zeitdifferenz, fps);
println("T2_test: ",t2->GetFrame(fps));
...
obj->Message(MSG_UPDATE);
...
GeEventAdd(DOCUMENT_CHANGED);output is:
T2: 1062.000000
T2_neu: 1077.000000
T2_test: 1077.000000but T2 doesn't get changed, no change in the timeline and editor.
Any idea what is my fault?Bye
Bernd -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 31/01/2005 at 07:44, xxxxxxxx wrote:
uuuahh!
Sorry, was my faultt2->SetFrame(t2->GetFrame(fps)+ zeitdifferenz, fps);
seq->SetT2(t2);is much better.