Message 1 of 5

Not applicable
07-21-2013
07:04 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm working on a plugin that derives from Modifier and noticed something odd. When I delete my modifier (I have a simple test scene with just one object and my modifier applied to it) and call gc() right after that, the destructor for the modifier is not called. In fact, it never gets called, even when I close max.
However, when I delete the object instead of the modifier, and then call gc(), the destructor of my modifier does get called.
Is this the expected behaviour, or am I doing something wrong? Unfortunately I can't post my code here, but hopefully it's just a simple thing that I'm overlooking.
Thanks,
Martijn
Solved! Go to Solution.