2.5/Sculpt:
[blender.git] / source / blender / editors / transform / transform_manipulator.c
index 3366f8d72d749f1a61281cf53ee28a7e9e9dc3e8..55e06b731f46fedbb26cc8e3506f93fc0a4abce0 100644 (file)
@@ -358,7 +358,10 @@ int calc_manipulator_stats(const bContext *C)
                        Mat4MulVecfl(ob->obmat, scene->twmax);
                }
        }
-       else if(G.f & (G_VERTEXPAINT + G_TEXTUREPAINT + G_WEIGHTPAINT + G_SCULPTMODE)) {
+       else if(G.f & (G_VERTEXPAINT + G_TEXTUREPAINT + G_WEIGHTPAINT)) {
+               ;
+       }
+       else if(ob && (ob->mode & OB_MODE_SCULPT)) {
                ;
        }
        else if(G.f & G_PARTICLEEDIT) {