THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 03/08/2005 at 13:52, xxxxxxxx wrote:
The Generator itself works. What appears to be happening is since the Generator is InsertObject()d into the Document and the PolygonObject afterwards as child, but the Generator is doing the GetDDescription() beforehand (Which is used to build a list of 'body part visibility' checkboxes from the PolygonSelection tags on the PolygonObject. The checkbox settings are used in GetVirtualObjects() to determine what is visible or not) and there is nothing there yet.
It could return the clone, but that isn't good for later (slows things down when nothing needs to be done) and isn't correct (nothing invisible). It returns the cache as it should but there is no cache yet (thus, no object in the editor). This is because it needs to do another GetDDescription() to do GetVirtualObjects() properly. But I cannot find any way to prod another call to GetDDescription() in my source. SetDirty() and Touch() don't work. SetDeformMode() to FALSE then TRUE doesn't work. Removing and reinserting the Generator (with PolygonObject already as child) into the Document doesn't work. There are no messages sent to the Generator (even when I click on the Generator which does cause GetDDescription() to get called).
All that I need is a way to kick the Generator from the source, "Hey, do the GetDDescription() just one more time, please."