diff --git a/octovis/src/ViewerGui.cpp b/octovis/src/ViewerGui.cpp index b4442c41..dfa65c3c 100644 --- a/octovis/src/ViewerGui.cpp +++ b/octovis/src/ViewerGui.cpp @@ -29,6 +29,8 @@ #include #include #include +//Dummy object definition to ensure VS2012 does not drop the StaticMemberInitializer, causing this tree failing to register. +octomap::ColorOcTree colortreeTmp(0); #define _MAXRANGE_URG 5.1