diff --git a/direct/src/deadrec/smoothMover.cxx b/direct/src/deadrec/smoothMover.cxx index 248d2e0667..caf575dda8 100644 --- a/direct/src/deadrec/smoothMover.cxx +++ b/direct/src/deadrec/smoothMover.cxx @@ -622,6 +622,7 @@ set_smooth_pos(const LPoint3f &pos, const LVecBase3f &hpr, } if (_smooth_hpr != hpr) { _smooth_hpr = hpr; + _smooth_position_changed = true; _computed_smooth_mat = false; _computed_forward_axis = false; } @@ -814,5 +815,7 @@ handle_wrt_reparent(NodePath &old_parent, NodePath &new_parent) { compose_smooth_mat(); + _computed_forward_axis = false; + np.detach_node(); }