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:
authorBenoit Bolsee <benoit.bolsee@online.be>2012-06-05 02:29:17 +0400
committerBenoit Bolsee <benoit.bolsee@online.be>2012-06-05 02:29:17 +0400
commit8db6e682e9c0d55a34c64a490cbf29ff301c4973 (patch)
tree306b1eb927d6768f88a149167c62d9724f8f6814 /intern/itasc/Object.hpp
parent0d3b19e7340e0f3fa075e90e695ddf760529b925 (diff)
Fix [#31544]: iTaSC assertion when creating armature with no joint. This degenerated case can be obtained by having a single bone in the IK chain and locking all 3 axis. This case was causing an assert in the KDL library. The bug is fixed by simply not creating the IK scene in this case.
Diffstat (limited to 'intern/itasc/Object.hpp')
-rw-r--r--intern/itasc/Object.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/itasc/Object.hpp b/intern/itasc/Object.hpp
index 5aa4346fc4b..bf80d83e5aa 100644
--- a/intern/itasc/Object.hpp
+++ b/intern/itasc/Object.hpp
@@ -33,7 +33,7 @@ public:
virtual ~Object(){};
virtual int addEndEffector(const std::string& name){return 0;};
- virtual void finalize(){};
+ virtual bool finalize(){return true;};
virtual const KDL::Frame& getPose(const unsigned int end_effector=0){return m_internalPose;};
virtual const ObjectType getType(){return m_type;};
virtual const unsigned int getNrOfCoordinates(){return 0;};