Code

fix compile warning
authorbuliabyak <buliabyak@users.sourceforge.net>
Fri, 19 May 2006 04:05:58 +0000 (04:05 +0000)
committerbuliabyak <buliabyak@users.sourceforge.net>
Fri, 19 May 2006 04:05:58 +0000 (04:05 +0000)
src/nodepath.cpp

index 46f1095ac8ea34ddcafc53f50c6585980d4ade21..90fcb26f7bfe272aad3f1f444b0c0359485c1e59 100644 (file)
@@ -1013,6 +1013,8 @@ sculpt_profile (double x, double alpha, guint profile)
         case SCULPT_PROFILE_ELLIPTIC:
         return sqrt(1 - x*x);
     }
+
+    return 1;
 }
 
 double