Created
December 12, 2018 14:37
-
-
Save awesomebytes/b1cc1490045a568b68dcd618629de405 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 2e00266b3c071b939a9a0adb01cfc96f390d7a77 Mon Sep 17 00:00:00 2001 | |
From: Sammy Pfeiffer <Sammy.Pfeiffer@student.uts.edu.au> | |
Date: Thu, 13 Dec 2018 01:36:37 +1100 | |
Subject: [PATCH] Adapt to Ogre 1.10 | |
--- | |
src/plant_flag_tool.cpp | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
diff --git a/src/plant_flag_tool.cpp b/src/plant_flag_tool.cpp | |
index ea2689b..459e04b 100644 | |
--- a/src/plant_flag_tool.cpp | |
+++ b/src/plant_flag_tool.cpp | |
@@ -87,7 +87,7 @@ void PlantFlagTool::onInitialize() | |
{ | |
flag_resource_ = "package://rviz_plugin_tutorials/media/flag.dae"; | |
- if( rviz::loadMeshFromResource( flag_resource_ ).isNull() ) | |
+ if( (!rviz::loadMeshFromResource( flag_resource_ )) ) | |
{ | |
ROS_ERROR( "PlantFlagTool: failed to load model resource '%s'.", flag_resource_.c_str() ); | |
return; | |
-- | |
2.7.4 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment