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-02-28 09:19:54 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-02-28 09:19:54 +0400
commite6c5ff95be420845c8d694b400b915c6c9d85cd4 (patch)
tree06c7983863f81226fff28ddf251b2faf2f52cd2f /source/blender/ikplugin
parent6dcbba943bde0b96260dad2b448218c27e0d5f44 (diff)
patch [#30331] Support clang-3.0
from Yasuhiro Fujii (y-fujii) only small part of the patch for now.
Diffstat (limited to 'source/blender/ikplugin')
-rw-r--r--source/blender/ikplugin/intern/itasc_plugin.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/source/blender/ikplugin/intern/itasc_plugin.cpp b/source/blender/ikplugin/intern/itasc_plugin.cpp
index e427ec6bd5e..51f68d819d4 100644
--- a/source/blender/ikplugin/intern/itasc_plugin.cpp
+++ b/source/blender/ikplugin/intern/itasc_plugin.cpp
@@ -90,8 +90,6 @@ typedef float Vector3[3];
typedef float Vector4[4];
struct IK_Target;
typedef void (*ErrorCallback)(const iTaSC::ConstraintValues* values, unsigned int nvalues, IK_Target* iktarget);
-// For some reason, gcc doesn't find the declaration of this function in linux
-void KDL::SetToZero(JntArray& array);
// one structure for each target in the scene
struct IK_Target
@@ -1029,7 +1027,7 @@ static void rest_pose(IK_Scene *ikscene)
// assume uniform scaling and take Y scale as general scale for the armature
scale = len_v3(ikscene->blArmature->obmat[1]);
// rest pose is 0
- KDL::SetToZero(ikscene->jointArray);
+ SetToZero(ikscene->jointArray);
// except for transY joints
rot = &ikscene->jointArray(0);
for(joint=a=0, ikchan = ikscene->channels; a<ikscene->numchan && joint<ikscene->numjoint; ++a, ++ikchan) {