thatoneguy
02-24-2009, 11:17 PM
I have a change handler that I want to delete the object that was selected when you unselect it.
So let's say you have a cube selected. You select a plane and it deletes the cube. You select a cone and it deletes the plane.
I get an unknown system except and a crash when I do the:
when select $obj changes do delete $obj
How tried killing the change handler before deleting the object but it still crashed. How do I delete the object which the change handler depends on without crashing the change handler?
So let's say you have a cube selected. You select a plane and it deletes the cube. You select a cone and it deletes the plane.
I get an unknown system except and a crash when I do the:
when select $obj changes do delete $obj
How tried killing the change handler before deleting the object but it still crashed. How do I delete the object which the change handler depends on without crashing the change handler?
