From 979e202f903860424edf182e4dbeddf230d2a3bc Mon Sep 17 00:00:00 2001 From: David Rose Date: Tue, 31 Jan 2006 05:58:28 +0000 Subject: [PATCH] fix bug: named joint should be included in subset --- panda/src/chan/movingPartBase.cxx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/panda/src/chan/movingPartBase.cxx b/panda/src/chan/movingPartBase.cxx index 6900c9f7b6..2d5626660a 100644 --- a/panda/src/chan/movingPartBase.cxx +++ b/panda/src/chan/movingPartBase.cxx @@ -210,6 +210,12 @@ void MovingPartBase:: bind_hierarchy(AnimGroup *anim, int channel_index, int &joint_index, bool is_included, BitArray &bound_joints, const PartSubset &subset) { + if (subset.matches_include(get_name())) { + is_included = true; + } else if (subset.matches_exclude(get_name())) { + is_included = false; + } + if (chan_cat.is_debug()) { chan_cat.debug() << "binding " << *this << " to " << *anim << ", is_included = "