THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 25/01/2009 at 13:24, xxxxxxxx wrote:
Cinema 4D Version: 10.1
Platform: Windows ; Mac ;
Language(s) : C++ ;
in my Generator object, I have functions the work different depending from if the renderer is currently working. I query this as follows:
CheckIsRunning(CHECKISRUNNING_EDITORRENDERING) || CheckIsRunning(CHECKISRUNNING_EXTERNALRENDERING)
Working fine so far. I use this e.g. to reduce the amount of clones that are created in the editor, while still generating the full amount of clones when rendering.
Now my problem: If the user presses "c" to convert my Generator Object, I also want to create the full amount of clones (like when converting a HyperNURBS, the "Renderer" subdivision is used). How can I determine if my plugin is being called in the context of normal editor display, or if it's being called because the user pressed "c"?
Thanks for help