diff options
author | Benoit Bolsee <benoit.bolsee@online.be> | 2010-08-25 13:25:11 +0400 |
---|---|---|
committer | Benoit Bolsee <benoit.bolsee@online.be> | 2010-08-25 13:25:11 +0400 |
commit | 80a01e8f2a4316266c2753d5d5e1c1bc91591003 (patch) | |
tree | 604ceb3ffd4abb542b1e799549e688535829c192 /source/gameengine/Converter/BL_ArmatureObject.h | |
parent | 134e2f001c022129eccbc19b87c48476f547bdb8 (diff) |
Fix BGE bug reported by Gilberto: BL_AmartureObject.channels returns only one channel. Fix BL_ArmatureChannel.joint_rotation now that bPoseChannel structure is passed directly to the get function.
Diffstat (limited to 'source/gameengine/Converter/BL_ArmatureObject.h')
-rw-r--r-- | source/gameengine/Converter/BL_ArmatureObject.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/gameengine/Converter/BL_ArmatureObject.h b/source/gameengine/Converter/BL_ArmatureObject.h index 6ad7de03489..646e9d45365 100644 --- a/source/gameengine/Converter/BL_ArmatureObject.h +++ b/source/gameengine/Converter/BL_ArmatureObject.h @@ -94,7 +94,7 @@ public: BL_ArmatureConstraint* GetConstraint(int index); // for pose channel python API void LoadChannels(); - size_t GetChannelNumber() const { return m_constraintNumber; } + size_t GetChannelNumber() const { return m_channelNumber; } BL_ArmatureChannel* GetChannel(bPoseChannel* channel); BL_ArmatureChannel* GetChannel(const char* channel); BL_ArmatureChannel* GetChannel(int index); |