Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2011-06-27 07:36:14 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-06-27 07:36:14 +0400
commit33e554799bd69e888b5114ba92871f8de94a8597 (patch)
treef2b73a8258d44c5da4222c927f014ced61701265 /intern/iksolver
parent4b1cceddbde5a9c887928c6234aee21f4c62d4ce (diff)
Minor warning cleanup & fix
- comment/remove assignments from values to themselves. - add case break statements (no functional change but some source code checkers notice). - fix python errors when the sculpt brush is None.
Diffstat (limited to 'intern/iksolver')
-rw-r--r--intern/iksolver/intern/IK_QSegment.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/intern/iksolver/intern/IK_QSegment.cpp b/intern/iksolver/intern/IK_QSegment.cpp
index 237edfd4594..df4fbc8fadd 100644
--- a/intern/iksolver/intern/IK_QSegment.cpp
+++ b/intern/iksolver/intern/IK_QSegment.cpp
@@ -905,9 +905,6 @@ void IK_QElbowSegment::SetLimit(int axis, MT_Scalar lmin, MT_Scalar lmax)
lmin = MT_clamp(lmin, -MT_PI, MT_PI);
lmax = MT_clamp(lmax, -MT_PI, MT_PI);
- lmin = lmin;
- lmax = lmax;
-
if (axis == 1) {
m_min_twist = lmin;
m_max_twist = lmax;