[C++] Custom bezier spline plug-in shape disappearing after exiting Isolate Selected (MPxGeometryOverride)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi all!
I recently updated a plug-in to fully support viewport 2.0 with MPxGeometryOverride, as it previously didn't draw correctly in viewport as soon as Parallel evaluation kicked in.
The (relatively small, but annoying) problem that I'm facing after that update though is that, sometimes, when I select a different object and isolate it, then exit from isolation, the computed plug-in spline disappears from viewport; it re-appears as soon as it's triggered by a selection or an animation, or any sort of update that triggers a change in its shape. This only seems to happen in DG mode, or Parallel Evaluation when there is no animation/controller tags involved.
I am using addUIDrawables() to draw the spline as it's so easy to setup that way, and for everything else I followed the footPrintNode_GeometryOverride example in the devkit.
Does that ring any bell to anyone?
Thanks so much for your help!
Matteo