ovis: compatibility for Ogre 1.12.0dev

pull/1955/head
Pavel Rojtberg 6 years ago
parent 388a79be52
commit 74f26045b3
  1. 4
      modules/ovis/CMakeLists.txt
  2. 2
      modules/ovis/src/ovis.cpp

@ -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))

Loading…
Cancel
Save