Skip to content

Commit

Permalink
Fix Windows compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobias-Fischer authored Nov 3, 2021
1 parent bc38df3 commit 9b1f9dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rviz/mesh_loader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -768,7 +768,7 @@ Ogre::SkeletonPtr loadSkeletonFromResource(const std::string& resource_path)
Ogre::SkeletonSerializer ser;
Ogre::DataStreamPtr stream(new Ogre::MemoryDataStream(res.data.get(), res.size));
Ogre::SkeletonPtr skeleton = Ogre::SkeletonManager::getSingleton().create(
skeleton_path.filename().c_str(), Ogre::ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME, true);
skeleton_path.filename().string().c_str(), Ogre::ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME, true);
ser.importSkeleton(stream, skeleton.get());

return skeleton;
Expand Down

0 comments on commit 9b1f9dd

Please sign in to comment.