From 1d90acbb20a66e82c4e3c1c53a2411ff21a01f33 Mon Sep 17 00:00:00 2001 From: Zachary Pavlov Date: Sun, 14 Jan 2007 21:46:25 +0000 Subject: [PATCH] testing this out. Was able to play pirates with it --- panda/src/chan/partBundle.I | 3 +++ 1 file changed, 3 insertions(+) diff --git a/panda/src/chan/partBundle.I b/panda/src/chan/partBundle.I index a6957ba13d..93325f3a7b 100644 --- a/panda/src/chan/partBundle.I +++ b/panda/src/chan/partBundle.I @@ -116,6 +116,8 @@ set_root_xform(const LMatrix4f &root_xform) { nassertv(Thread::get_current_pipeline_stage() == 0); CDWriter cdata(_cycler); cdata->_root_xform = root_xform; + do_xform(root_xform, invert(root_xform)); + cdata->_anim_changed = true; } //////////////////////////////////////////////////////////////////// @@ -130,6 +132,7 @@ xform(const LMatrix4f &mat) { CDWriter cdata(_cycler); cdata->_root_xform = cdata->_root_xform * mat; do_xform(mat, invert(mat)); + cdata->_anim_changed = true; } ////////////////////////////////////////////////////////////////////