From cbdc91889a84059ab9aa263120a4a66ea6c1d7b5 Mon Sep 17 00:00:00 2001 From: Maria Dimashova Date: Fri, 25 Mar 2011 10:37:32 +0000 Subject: [PATCH] fixed setProperty --- modules/highgui/src/cap_openni.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/highgui/src/cap_openni.cpp b/modules/highgui/src/cap_openni.cpp index 016cba6..25c0085 100644 --- a/modules/highgui/src/cap_openni.cpp +++ b/modules/highgui/src/cap_openni.cpp @@ -306,7 +306,7 @@ bool CvCapture_OpenNI::setProperty( int propIdx, double propValue ) } } - return false; + return res; } double CvCapture_OpenNI::getDepthGeneratorProperty( int propIdx ) -- 2.7.4