Show
Ignore:
Timestamp:
03/04/10 17:27:19 (5 years ago)
Author:
mplatings
Message:

Fix for some FBX files with multiple meshes bound to a bone.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/src/osgPlugins/fbx/fbxRNode.h

    r11141 r11153  
    66{ 
    77    class AnimationManagerBase; 
     8    class RigGeometry; 
    89} 
     10 
     11typedef std::map<std::pair<KFbxNode*, osgAnimation::RigGeometry*>, osg::Matrix> BindMatrixMap; 
    912 
    1013osgAnimation::Skeleton* getSkeleton(KFbxNode*, std::map<KFbxNode*, osgAnimation::Skeleton*>&); 
     
    1821    FbxMaterialToOsgStateSet& fbxMaterialToOsgStateSet, 
    1922    std::map<KFbxNode*, osg::Node*>& nodeMap, 
    20     std::map<KFbxNode*, osg::Matrix>& boneBindMatrices, 
     23    BindMatrixMap& boneBindMatrices, 
    2124    std::map<KFbxNode*, osgAnimation::Skeleton*>& skeletonMap, 
    2225    const osgDB::Options* options = NULL);