- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello again.
I have a callback setup using MDGMessage::addNodeAddedCallback, and have discovered that if you apply an extrude node to a triangulated mesh, then an intermediate mesh is created behind the scenes. This part is expected and all good. Upon the above callback being triggered, however, the isIntermediate flag is not set, but is set once the object is fully in the scene.
An example in pseudocode would be:
const MFnDagNode dagNode(theMObject); if( dagNode.isIntermediateObject() ) { // ignore it, or whatever } // otherwise continue
Is there a way to know if the created node is intermediate at this stage (it seems to work with other objects, from what I recall)? If not, please add some new callback that is only triggered once an object is fully ready, as I've encountered countless issues of a similar nature.
The reason I ask is that I must rely upon this callback for knowing when nodes are added in order to send them to networked clients.
Thanks once more,
Daniel
Solved! Go to Solution.