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:
Diffstat (limited to 'intern/itasc')
-rw-r--r--intern/itasc/Armature.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/intern/itasc/Armature.cpp b/intern/itasc/Armature.cpp
index 7776b6aa3b6..46d114e6c3f 100644
--- a/intern/itasc/Armature.cpp
+++ b/intern/itasc/Armature.cpp
@@ -340,11 +340,6 @@ int Armature::addLimitConstraint(const std::string& segment_name, unsigned int d
}
if ((joint.getNDof() == 1 && dof > 0) || (joint.getNDof() == 2 && dof > 1))
return -1;
- if (joint.getType() < Joint::TransX || joint.getType() == Joint::Swing) {
- // for rotation joint, the limit is given in degree, convert to radian
- _min *= KDL::deg2rad;
- _max *= KDL::deg2rad;
- }
Joint_struct& p_joint = m_joints[segment_it->second.q_nr+dof];
p_joint.min = _min;
p_joint.max = _max;