fixed setProperty
authorMaria Dimashova <no@email>
Fri, 25 Mar 2011 10:37:32 +0000 (10:37 +0000)
committerMaria Dimashova <no@email>
Fri, 25 Mar 2011 10:37:32 +0000 (10:37 +0000)
modules/highgui/src/cap_openni.cpp

index 016cba6..25c0085 100644 (file)
@@ -306,7 +306,7 @@ bool CvCapture_OpenNI::setProperty( int propIdx, double propValue )
         }
     }
 
-    return false;
+    return res;
 }
 
 double CvCapture_OpenNI::getDepthGeneratorProperty( int propIdx )