On 06/05/2015 at 06:57, xxxxxxxx wrote:
The title is not very explanatory but I will try to describe what is going on.
I created an ObjectPlugin. It creates a mesh that is generated from a spline.
The generated mesh is quite complex and, to create it I have to create Sweep objects, make then editable, join the body and caps into a single object, optimize the resulting mesh, perform a bridge operation between some sweeps and finally, gather all the editable sweeps into a single object and optimize everything.
It is working.
However, when I perform any operation that forces a new mesh calculation, after being calculated, any object that was selected previously, gets deselected.
For example, if I select the spline (it is an independent object) that is used as the basis for the calculation of the mesh and I adjust any of its parameters, the mesh is re-calculated but after that, the spline gets deselected from the Object Manager and the Attribute Manager becomes empty.
Could it be because, for some operations ( MCOMMAND_JOIN and ID_MODELING_BRIDGE_TOOL , for example), I used a different document generated by IsolateObjects?
Is this a normal behavior when the code generated internal new documents or am I doing something wrong?