Permalink
Browse files

Update render when changing positioning mode.

  • Loading branch information...
1 parent fcfe556 commit b09dd57cf38a132f13c27a473a656ee09c89aa9d @erikogenvik erikogenvik committed Apr 7, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/components/ogre/SimpleRenderContext.cpp
@@ -313,6 +313,7 @@ SimpleRenderContext::CameraPositioningMode SimpleRenderContext::getCameraPositio
void SimpleRenderContext::setCameraPositionMode(SimpleRenderContext::CameraPositioningMode mode)
{
mCameraPositionMode = mode;
+ repositionCamera();
}
void SimpleRenderContext::setBackgroundColour(const Ogre::ColourValue& colour)

0 comments on commit b09dd57

Please sign in to comment.