Disable calculating manipulator while transforming

Gives ~10% speedup
This commit is contained in:
Campbell Barton 2015-12-23 16:35:13 +11:00
parent 44b593ae2d
commit e74a023309
1 changed files with 2 additions and 0 deletions

View File

@ -1610,6 +1610,8 @@ void BIF_draw_manipulator(const bContext *C)
if (!(v3d->twflag & V3D_USE_MANIPULATOR)) return;
if ((v3d->twtype & (V3D_MANIP_TRANSLATE | V3D_MANIP_ROTATE | V3D_MANIP_SCALE)) == 0) return;
{
v3d->twflag &= ~V3D_DRAW_MANIPULATOR;