On 28/06/2015 at 08:29, xxxxxxxx wrote:
User Information:
Cinema 4D Version: R15
Platform: Windows ; Mac ;
Language(s) : C++ ;
---------
Hello SDK Support Team!
I've run into a little big problem and I can't find out what could be the cause and I also wasn't able
to revert to a situation where this problem does not occur.
The VideoPostData plugin I created can not be added the the RenderData. You can see it in the
drop-down menu when you press the "Effect..." button, but selecting it from the list does not
insert it.
I've added a print statement to my LensVideoPost::Alloc() static function to check when the
function is called. The observations I made certainly confuse me.
- Pressing the "Effect..." button calls LensVideoPost::Alloc(). But the object is destroyed immediately
afterwards (I assume the "Effect..." button builds the menu by allocating an instance of each plugin,
getting its name and then freeing it again) - After the Video Post is selected, nothing happens. Alloc() is not even called!
- Trying to create one from Python fails instantly, Alloc() is not called!
- Opening a scene that already had this Video Post inserted works! However, when you remove the
Video Post and try to add it again, its the same behaviour as I already described. - Cloning the Video Post from the scene that was loaded works as well.
I would like to send you the plugin for Windows or Mac (both same behaviour) and a scene that
contains the plugin so you can also check out observation #4. Please let me know if you need it
and where to send it.
Thanks a lot in advance!
Niklas