|
Hi,
I started from the componentScaleManip.cpp example from the devkit.
In method componentScaleManip::connecToDependNode(), I only changed “MItSurfaceCV” for “MItGeometry” so the scaling can operate on a polygonal mesh.
Then in Maya I use the tool on a polygonal plane with several subdivision on a selection of approximatly 20 to 30 components (ie. vertices).
I notice that while I drag the manipulator, the update is slower and slower.
Indeed while the mouse cursor is smoothly followed by the manipulator screen representation at the begining of a drag, it is not the case anymore after several drag motions in many directions (without button release in the meantime): a lag happens.
Similarly the visual refresh of the manipulator needs a while when releasing the button after a long drag (or an excessively long drag).
The lag appears only with MItGeometry, not with MItSurfaceCV plugs
I observe this phenomenon on 2010, 2011 & 2012 versions of Maya.
Can anyone replicate the problem?
Does anyone have an explanation of the problem and even better a solution?
Thank you
Cheers,
Damien
|
|
|