mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 18:31:55 -04:00
fix inadvertent top-node animation
This commit is contained in:
parent
8aa7bf4897
commit
f547f70136
@ -767,6 +767,9 @@ get_transform(const MDagPath &dag_path, EggGroup *egg_group) {
|
||||
////////////////////////////////////////////////////////////////////
|
||||
void MayaToEggConverter::
|
||||
get_joint_transform(const MDagPath &dag_path, EggGroup *egg_group) {
|
||||
// First, make sure there's not a transform on the group already.
|
||||
egg_group->clear_transform();
|
||||
|
||||
MStatus status;
|
||||
MObject transformNode = dag_path.transform(&status);
|
||||
// This node has no transform - i.e., it's the world node
|
||||
|
Loading…
x
Reference in New Issue
Block a user