Commit 834c36a0 authored by Mike Kremer's avatar Mike Kremer
Browse files

Really clean skin props if detaching it from skeleton.

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@13026 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 2ed45ce1
......@@ -198,6 +198,10 @@ void SkinT<MeshT>::releaseSkin()
}
mesh_->remove_property(propDefaultPose);
}
// Remove the skin weights
OpenMesh::VPropHandleT<SkinWeights> propSkinWeights;
mesh_->remove_property(propSkinWeights);
}
//-----------------------------------------------------------------------------
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment