Undo revision 23130 which was a merge with 2.5, a messy one because I did something...
[blender.git] / source / blender / editors / transform / transform_orientations.c
index 9416425..8f9d610 100644 (file)
@@ -744,7 +744,7 @@ int getTransformOrientation(const bContext *C, float normal[3], float plane[3],
                        for (nu = cu->editnurb->first; nu; nu = nu->next)
                        {
                                /* only bezier has a normal */
-                               if(nu->type == CU_BEZIER)
+                               if((nu->type & 7) == CU_BEZIER)
                                {
                                        bezt= nu->bezt;
                                        a= nu->pntsu;