THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 24/03/2008 at 04:43, xxxxxxxx wrote:
User Information:
Cinema 4D Version: R10
Platform: Windows ;
Language(s) : C++ ;
---------
Hi
i want to optimize a tag plugin. The problem is it is executed all the time if the object, it belongs to, is selected. The tag plugin is very complex and is using a lot of CPU-power so it should only be executed if someting changes (for example the user moves the object). Now i thought i can use core messages for this but i don't really know how or is there another different way to solve my problem? I tried...
MessageData *md;
BaseContainer *bc;
if(md->CoreMessage(EVMSG_ASYNCEDITORMOVE,bc))
GePrint("MOVING OBJECT");
...but i don't know how to initialize the MessageData object md and the BaseContainer bc. Any ideas?