disabling / enabling Objects
Brought to you by:
omichel
It could be very handy to be able to temporary disable
or enable all the computing and callbacks associated
with an object.
This would be much more handy than deleting the object
and having to recreate it from scratch afterward (with
a complex shape and numerous callbacks).
This could be implemented the following way:
dtDisableObject(object); // disable all the computing
and associated callbacks for this object
// do some computations
dtTest(); // without the object
dtEnableObject(object); // restore the computing and
associated callbacks for this object
dtTest(); // with the object
Of course, these functions also need to be inserted in
the API documentation of solid.