Skip to content

Commit

Permalink
Added name for skins.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Fili committed Oct 6, 2015
1 parent 949f40d commit 2e9edf0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions COLLADA2GLTF/COLLADA2GLTFWriter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1339,6 +1339,8 @@ namespace GLTF
bool COLLADA2GLTFWriter::writeSkinControllerData( const COLLADAFW::SkinControllerData* skinControllerData ) {
shared_ptr <GLTFSkin> glTFSkin(new GLTFSkin(skinControllerData->getOriginalId()));
shared_ptr <GLTFProfile> profile = this->_asset->profile();

glTFSkin->setString(kName, skinControllerData->getName());

glTFSkin->setBindShapeMatrix(serializeOpenCOLLADAMatrix4(skinControllerData->getBindShapeMatrix()));

Expand Down

0 comments on commit 2e9edf0

Please sign in to comment.