copy_subgraph should also copy root_xform

This commit is contained in:
David Rose 2007-06-20 18:25:21 +00:00
parent 9817ab824e
commit ed920b614e
1 changed files with 5 additions and 1 deletions

View File

@ -54,7 +54,11 @@ PartBundle(const PartBundle &copy) :
PartGroup(copy)
{
CDWriter cdata(_cycler, true);
cdata->_blend_type = copy.get_blend_type();
CDReader cdata_from(copy._cycler);
cdata->_blend_type = cdata_from->_blend_type;
cdata->_anim_blend_flag = cdata_from->_anim_blend_flag;
cdata->_frame_blend_flag = cdata_from->_frame_blend_flag;
cdata->_root_xform = cdata_from->_root_xform;
}
////////////////////////////////////////////////////////////////////