THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 22/03/2011 at 22:28, xxxxxxxx wrote:
Cinema 4D Version: 12.043
Platform: Mac OSX ;
Language(s) : C++ ;
Since updating to 12.043 my plugin now causes a crash on quit. This is without even using the plugin - just having it loaded.
Any help or any guidance here would be greatly appreciated. How can I figure out what is causing this? I submitted the crash report to Maxon. Hoping to get some input from them as well.
On 23/03/2011 at 09:20, xxxxxxxx wrote:
Is Render Elements your Plug-In? ;)
My best methode to figure out what is causing this, is to leave out some code lines or GePrint("I´m here at...") at many places.
Do you handle with Get/SetParameter or BaseContainer/GetDataInstance? Something special on saving plugin-preference?
On 23/03/2011 at 09:32, xxxxxxxx wrote:
Yep, that's me, Toni :)
What I've been able to figure out so far (I think) is that the crash is happening due to some code in the scenehookdata plugin I use to keep track of when the document is saved. Disabling that code seems to stop the crashes. Just not sure why at the moment. I'll try to post some code tonight or tomorrow - maybe someone has an easy answer for me after looking at it.
On 23/03/2011 at 11:02, xxxxxxxx wrote:
is possible you are trying to get the active document when the Active document is not present in the list at cinema4d closing ?
all the best
On 23/03/2011 at 11:19, xxxxxxxx wrote:
That is a definite possibility. I'll take a look at it.
On 23/03/2011 at 21:51, xxxxxxxx wrote:
Ok, looks that was exactly the culprit :)
Thanks for the suggestion, Franz!
On 24/03/2011 at 01:24, xxxxxxxx wrote:
you are welcome ;)