Skip to content

Commit c444f28

Browse files
WIP: path to current ogre version
1 parent b49c46f commit c444f28

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/rviz/ogre_helpers/render_system.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -268,11 +268,11 @@ void RenderSystem::setupResources()
268268
auto& rgm = Ogre::ResourceGroupManager::getSingleton();
269269
// todo: need to get from CMake/pkgconfig: const auto& mediaDir =
270270
// Ogre::FileSystemLayer::resolveBundlePath(OGRE_MEDIA_DIR); add default locations
271-
// todo: set in OGREBites but does not exist rgm.addResourceLocation(mediaDir +
272-
// "/usr/share/OGRE-1.12.13/Media/Main", "FileSystem", Ogre::RGN_INTERNAL);
273-
rgm.addResourceLocation(/*mediaDir +*/ "/usr/share/OGRE-1.12.13/Media/RTShaderLib/GLSL", "FileSystem",
271+
// todo: set in OGREBites but does not exist
272+
rgm.addResourceLocation("/usr/share/OGRE-13.6.4/Media/Main", "FileSystem", Ogre::RGN_INTERNAL);
273+
rgm.addResourceLocation(/*mediaDir +*/ "/usr/share/OGRE-13.6.4/Media/RTShaderLib/GLSL", "FileSystem",
274274
Ogre::RGN_INTERNAL);
275-
rgm.addResourceLocation(/*mediaDir +*/ "/usr/share/OGRE-1.12.13/Media/ShadowVolume", "FileSystem",
275+
rgm.addResourceLocation(/*mediaDir +*/ "/usr/share/OGRE-13.6.4/Media/ShadowVolume", "FileSystem",
276276
Ogre::RGN_INTERNAL);
277277

278278
std::string rviz_path = ros::package::getPath(ROS_PACKAGE_NAME);

0 commit comments

Comments
 (0)