Commit 29f61bfc authored by Alexander Alekhin's avatar Alexander Alekhin

Merge pull request #1955 from paroj:ovisup

parents d34502df 74f26045
......@@ -16,6 +16,10 @@ elseif(OGRE_VERSION VERSION_GREATER 1.10) # we need C++11 for OGRE 1.11
endif()
endif()
if(OGRE_VERSION VERSION_LESS 1.10.10)
message(WARNING "opencv_ovis: Ogre >= 1.10.10 recommended for interactive windows")
endif()
include_directories(${OGRE_INCLUDE_DIRS})
link_directories(${OGRE_LIBRARY_DIRS})
......
......@@ -181,7 +181,7 @@ struct Application : public OgreBites::ApplicationContext, public OgreBites::Inp
int flags;
Application(const Ogre::String& _title, const Size& sz, int _flags)
: OgreBites::ApplicationContext("ovis", false), sceneMgr(NULL), title(_title), w(sz.width),
: OgreBites::ApplicationContext("ovis"), sceneMgr(NULL), title(_title), w(sz.width),
h(sz.height), key_pressed(-1), flags(_flags)
{
if(utils::getConfigurationParameterBool("OPENCV_OVIS_VERBOSE_LOG", false))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment