[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [44502] trunk/blender/source/blender/ ikplugin/intern/itasc_plugin.cpp: patch [#30331] Support clang-3.0
Campbell Barton
ideasman42 at gmail.com
Tue Feb 28 06:20:05 CET 2012
Revision: 44502
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=44502
Author: campbellbarton
Date: 2012-02-28 05:19:54 +0000 (Tue, 28 Feb 2012)
Log Message:
-----------
patch [#30331] Support clang-3.0
from Yasuhiro Fujii (y-fujii)
only small part of the patch for now.
Modified Paths:
--------------
trunk/blender/source/blender/ikplugin/intern/itasc_plugin.cpp
Modified: trunk/blender/source/blender/ikplugin/intern/itasc_plugin.cpp
===================================================================
--- trunk/blender/source/blender/ikplugin/intern/itasc_plugin.cpp 2012-02-28 05:02:34 UTC (rev 44501)
+++ trunk/blender/source/blender/ikplugin/intern/itasc_plugin.cpp 2012-02-28 05:19:54 UTC (rev 44502)
@@ -90,8 +90,6 @@
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 @@
// 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) {
More information about the Bf-blender-cvs
mailing list