From 8db6e682e9c0d55a34c64a490cbf29ff301c4973 Mon Sep 17 00:00:00 2001 From: Benoit Bolsee Date: Mon, 4 Jun 2012 22:29:17 +0000 Subject: 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. --- intern/itasc/FixedObject.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'intern/itasc/FixedObject.hpp') diff --git a/intern/itasc/FixedObject.hpp b/intern/itasc/FixedObject.hpp index b4279d9adcb..ad26e7cb2d6 100644 --- a/intern/itasc/FixedObject.hpp +++ b/intern/itasc/FixedObject.hpp @@ -23,7 +23,7 @@ public: virtual void updateCoordinates(const Timestamp& timestamp) {}; virtual int addEndEffector(const std::string& name); - virtual void finalize(); + virtual bool finalize(); virtual const Frame& getPose(const unsigned int frameIndex); virtual void updateKinematics(const Timestamp& timestamp) {}; virtual void pushCache(const Timestamp& timestamp) {}; -- cgit v1.2.3