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>2012-07-22 22:40:50 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-07-22 22:40:50 +0400
commit76bea854b6910ed64c94e6b34c531a150ffcb361 (patch)
tree3b02bdcc02ea682eb5d3037e371b34f2b0b9dd24 /intern/itasc
parentea229638a007bdcf8155fc3f8b8baef96c893f0f (diff)
code cleanup: replace cos(M_PI / 4) and sin(M_PI / 4) with M_SQRT1_2 define
also some minor style cleanup.
Diffstat (limited to 'intern/itasc')
-rw-r--r--intern/itasc/Armature.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/itasc/Armature.cpp b/intern/itasc/Armature.cpp
index 1dacb8bc184..78780ed8ba3 100644
--- a/intern/itasc/Armature.cpp
+++ b/intern/itasc/Armature.cpp
@@ -319,7 +319,7 @@ int Armature::addConstraint(const std::string& segment_name, ConstraintCallback
return iConstraint;
}
}
- if (m_finalized) {
+ if (m_finalized) {
if (_freeParam && _param)
free(_param);
return -1;