I just want to report that I see strange behavior when our custom BRep object is asked to generate render meshes. If no viewport is shaded, we don’t generate these meshes, and exit
CreateMeshes with a count of zero.
Now, every time the user changes the camera on a viewport (by e.g. panning, rotating), the
CreateMeshes functions are called in quick succession. Nothing much happens, because there are no meshes to destroy and when no viewport is shaded, no meshes to create.
Then, when one viewport becomes shaded, the render mesh is created. After that, the calls to
This behavior is new; Rhino5 does not do this.