On 03/12/2013 at 05:30, xxxxxxxx wrote:
User Information:
Cinema 4D Version: R13-R14
Platform: Windows ;
Language(s) : C++ ;
---------
EXECUTIONRESULT MyPlugin::Execute (BaseTag* tag, BaseDocument* doc, BaseObject* op,
BaseThread* bt , LONG priority, EXECUTIONFLAGS flags)
{
LLONG foo = op->GetGUID();
}
When working in C4D and creating an animation, scrubbing the time line, testing the animation, all is fine. Variable foo will get the same value, regardless. I can close down C4D, start it up again and load the project, foo is always the same, very long, unique number.
However - when I want to render my animation, this number suddenly changes, and becomes very different, and will also vary from C4D session to the next C4D session.
Is this a known fact? Any way to circumvent it?
I need this number also when rendering, of course, otherwise my animation will not function at all.