Menu

#1 dtDeleteObject crashes in caching mode

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

In caching mode (dtEnableCaching), it is not possible
to delete an object without crashing the application.
The dtDeleteObject() and DtDeleteShape() functions
seems to either crash or corrupt Solid internal
representation, so that the next call to dtTest()
crashes.

The workaround proposed by Gino:

dtSelectObject(object);
dtTranslate(M_INFINITY,M_INFINITY,M_INFINITY);
dtClearObjectResponse(object);
dtTest();
dtDeleteObject(object);
dtDeleteShape(shape);

doesn't seem to work...

Disabling caching just before deleting the object and
reenabling caching after doesn't work either.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB