THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 31/12/2010 at 06:17, xxxxxxxx wrote:
Cinema 4D Version: 12
Platform: Windows ; Mac OSX ;
Language(s) : C++ ;
I'm updating a video post plugin to R12 and unfortunately BaseVideoPostStruct has changed.
It no longer has a member editor_render. Up to R11.5, this was a BOOL that was TRUE if rendering in the editor.
Our plugin exports to a file when rendering in the Picture Viewer, so we tested editor_render to avoid creating files for test renders in the editor.
Is there another way to test if the plugin is rendering in the Picture Viewer?
CheckIsRunning() doesn't look like a reliable test. RenderNotificationData has a BOOL called external that is TRUE if the rendering is not in the editor view, but I don't know if a video post plugin can get messages.
Thanks for any advice!