svn merge ^/trunk/blender -r43887:43918
[blender.git] / source / blender / editors / curve / editcurve.c
index 4565806702f9e70e93543b07b6430c4a724f5afa..495c8a8f842efa314afd2a77bb660fb48a25a01f 100644 (file)
@@ -3389,8 +3389,12 @@ static int convertspline(short type, Nurb *nu)
                        nu->orderu= 4;
                        nu->orderv= 1;
                        nu->type = type;
                        nu->orderu= 4;
                        nu->orderv= 1;
                        nu->type = type;
+
+#if 0          /* UNUSED */
                        if(nu->flagu & CU_NURB_CYCLIC) c= nu->orderu-1; 
                        else c= 0;
                        if(nu->flagu & CU_NURB_CYCLIC) c= nu->orderu-1; 
                        else c= 0;
+#endif
+
                        if(type== CU_NURBS) {
                                nu->flagu &= CU_NURB_CYCLIC; /* disable all flags except for cyclic */
                                nu->flagu |= CU_NURB_BEZIER;
                        if(type== CU_NURBS) {
                                nu->flagu &= CU_NURB_CYCLIC; /* disable all flags except for cyclic */
                                nu->flagu |= CU_NURB_BEZIER;