diff --git a/src/Viewer/CameraGroup.cxx b/src/Viewer/CameraGroup.cxx index 7603287f8..020637db5 100644 --- a/src/Viewer/CameraGroup.cxx +++ b/src/Viewer/CameraGroup.cxx @@ -216,8 +216,8 @@ void CameraInfo::updateCameras() void CameraInfo::resized(double w, double h) { - if (w == 1.0 && h == 1.0) - return; + if (w == 1.0 && h == 1.0) + return; bufferSize->set( osg::Vec2f( w, h ) );