Skip to content

Fix RigTransformSoftware copy - #1157

Open
calumr wants to merge 1 commit into
openscenegraph:masterfrom
calumr:fix-rigtransformsoftware-copy
Open

Fix RigTransformSoftware copy#1157
calumr wants to merge 1 commit into
openscenegraph:masterfrom
calumr:fix-rigtransformsoftware-copy

Conversation

@calumr

@calumr calumr commented Jul 19, 2022

Copy link
Copy Markdown
Contributor
  • Force init for new copy as _uniqVertexGroupList is not copied

The problem can occur if you deep copy a scene with a RigTransformSoftware in it after it has already been displayed. We were copying a pedestrian model and trying to use a different animation on it, but the second animation fails to apply as the copied RigTransformSoftware never gets inited.

* Force init for new copy as _uniqVertexGroupList is not copied
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant