diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-09-16 05:35:00 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-09-16 05:35:00 +0400 |
commit | c2a1dcf6218cbd56126a5deb1aeaf212d67e54cb (patch) | |
tree | f669a08de71815eaaefa27668e5d11c8fa787106 /intern | |
parent | d724d0adfe10db8042f0d4d2a971e73b0bcec902 (diff) |
fix for error in recent commit (made function static that shouldn't have been), add extra gcc warnings to cmake.
Diffstat (limited to 'intern')
-rw-r--r-- | intern/iksolver/intern/IK_Solver.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/iksolver/intern/IK_Solver.cpp b/intern/iksolver/intern/IK_Solver.cpp index 6c2e30932bb..ef4ab1f2f91 100644 --- a/intern/iksolver/intern/IK_Solver.cpp +++ b/intern/iksolver/intern/IK_Solver.cpp @@ -51,7 +51,7 @@ public: }; // FIXME: locks still result in small "residual" changes to the locked axes... -IK_QSegment *CreateSegment(int flag, bool translate) +static IK_QSegment *CreateSegment(int flag, bool translate) { int ndof = 0; ndof += (flag & IK_XDOF) ? 1 : 0; @@ -348,7 +348,7 @@ float IK_SolverGetPoleAngle(IK_Solver *solver) return qsolver->solver.GetPoleAngle(); } -void IK_SolverAddCenterOfMass(IK_Solver *solver, IK_Segment *root, float goal[3], float weight) +static void IK_SolverAddCenterOfMass(IK_Solver *solver, IK_Segment *root, float goal[3], float weight) { if (solver == NULL || root == NULL) return; |