From 0f7839624f0bfe8ca23e9c9686fde6260f1585a3 Mon Sep 17 00:00:00 2001 From: Heresy Date: Wed, 21 May 2014 09:58:07 +0800 Subject: [PATCH] Add XN_STREAM_PROPERTY_PARAM_COEFF in notifyAllProperties() --- Source/Drivers/Kinect/DepthKinectStream.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Source/Drivers/Kinect/DepthKinectStream.cpp b/Source/Drivers/Kinect/DepthKinectStream.cpp index caffe3ce..d68efec1 100644 --- a/Source/Drivers/Kinect/DepthKinectStream.cpp +++ b/Source/Drivers/Kinect/DepthKinectStream.cpp @@ -442,6 +442,10 @@ void DepthKinectStream::notifyAllProperties() getProperty(XN_STREAM_PROPERTY_D2S_TABLE, nBuff, &size); raisePropertyChanged(XN_STREAM_PROPERTY_D2S_TABLE, nBuff, size); + size = sizeof(PARAM_COEFF_VAL); + getProperty(XN_STREAM_PROPERTY_PARAM_COEFF, nBuff, &size); + raisePropertyChanged(XN_STREAM_PROPERTY_PARAM_COEFF, nBuff, size); + // Is this really necessary to save? Just in case. OniBool nearMode; size = sizeof(nearMode);