Skip to content

Commit 29f61bf

Browse files
committed
Merge pull request #1955 from paroj:ovisup
2 parents d34502d + 74f2604 commit 29f61bf

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

modules/ovis/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ elseif(OGRE_VERSION VERSION_GREATER 1.10) # we need C++11 for OGRE 1.11
1616
endif()
1717
endif()
1818

19+
if(OGRE_VERSION VERSION_LESS 1.10.10)
20+
message(WARNING "opencv_ovis: Ogre >= 1.10.10 recommended for interactive windows")
21+
endif()
22+
1923
include_directories(${OGRE_INCLUDE_DIRS})
2024
link_directories(${OGRE_LIBRARY_DIRS})
2125

modules/ovis/src/ovis.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ struct Application : public OgreBites::ApplicationContext, public OgreBites::Inp
181181
int flags;
182182

183183
Application(const Ogre::String& _title, const Size& sz, int _flags)
184-
: OgreBites::ApplicationContext("ovis", false), sceneMgr(NULL), title(_title), w(sz.width),
184+
: OgreBites::ApplicationContext("ovis"), sceneMgr(NULL), title(_title), w(sz.width),
185185
h(sz.height), key_pressed(-1), flags(_flags)
186186
{
187187
if(utils::getConfigurationParameterBool("OPENCV_OVIS_VERBOSE_LOG", false))

0 commit comments

Comments
 (0)