Menu

#1 disabling / enabling Objects

open
nobody
None
5
2001-06-08
2001-06-08
No

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.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.