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 'source/blender/ikplugin/intern/itasc_plugin.cpp')
-rw-r--r--source/blender/ikplugin/intern/itasc_plugin.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/source/blender/ikplugin/intern/itasc_plugin.cpp b/source/blender/ikplugin/intern/itasc_plugin.cpp
index e392a05cc54..80faa5e301e 100644
--- a/source/blender/ikplugin/intern/itasc_plugin.cpp
+++ b/source/blender/ikplugin/intern/itasc_plugin.cpp
@@ -27,6 +27,11 @@
* ***** END GPL LICENSE BLOCK *****
*/
+/** \file blender/ikplugin/intern/itasc_plugin.cpp
+ * \ingroup ikplugin
+ */
+
+
#include <stdlib.h>
#include <string.h>
#include <vector>
@@ -855,13 +860,11 @@ static int convert_channels(IK_Scene *ikscene, PoseTree *tree)
{
IK_Channel *ikchan;
bPoseChannel *pchan;
- Bone *bone;
int a, flag, njoint;
njoint = 0;
for(a=0, ikchan = ikscene->channels; a<ikscene->numchan; ++a, ++ikchan) {
pchan= tree->pchan[a];
- bone= pchan->bone;
ikchan->pchan = pchan;
ikchan->parent = (a>0) ? tree->parent[a] : -1;
ikchan->owner = ikscene->blArmature;