diff --git a/panda/src/chan/movingPartMatrix.cxx b/panda/src/chan/movingPartMatrix.cxx index 8efa6827aa..385222f0f6 100644 --- a/panda/src/chan/movingPartMatrix.cxx +++ b/panda/src/chan/movingPartMatrix.cxx @@ -382,6 +382,7 @@ get_blend_value(const PartBundle *root) { bool MovingPartMatrix:: apply_freeze(const TransformState *transform) { _forced_channel = new AnimChannelMatrixFixed(get_name(), transform); + return true; } //////////////////////////////////////////////////////////////////// @@ -398,6 +399,7 @@ apply_control(PandaNode *node) { AnimChannelMatrixDynamic *chan = new AnimChannelMatrixDynamic(get_name()); chan->set_value_node(node); _forced_channel = chan; + return true; } //////////////////////////////////////////////////////////////////// diff --git a/panda/src/chan/movingPartScalar.cxx b/panda/src/chan/movingPartScalar.cxx index e1363179b3..bfb7496816 100644 --- a/panda/src/chan/movingPartScalar.cxx +++ b/panda/src/chan/movingPartScalar.cxx @@ -133,6 +133,7 @@ get_blend_value(const PartBundle *root) { bool MovingPartScalar:: apply_freeze(const TransformState *transform) { _forced_channel = new AnimChannelFixed(get_name(), transform->get_pos()[0]); + return true; } //////////////////////////////////////////////////////////////////// @@ -149,6 +150,7 @@ apply_control(PandaNode *node) { AnimChannelScalarDynamic *chan = new AnimChannelScalarDynamic(get_name()); chan->set_value_node(node); _forced_channel = chan; + return true; } ////////////////////////////////////////////////////////////////////