Message 1 of 3
Crash after Delete Node

Not applicable
05-20-2014
01:56 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I've experienced Max to crash after deleting objects. The script pops up a rollout, and pressing a button calls a function to delete certain objects. Before adding the UI the script worked fine in isolation. I have checked out this example, and since revised the code to append the objects to an array and then to delete that instead. Which, so far, seems stable.
I was just wondering why the problem was occuring. Is looping over a for x in geometry .. do delete x, just a bad idea??