diff --git a/corelib/src/CameraRGBD.cpp b/corelib/src/CameraRGBD.cpp index ccbab3fb..c5780b5b 100644 --- a/corelib/src/CameraRGBD.cpp +++ b/corelib/src/CameraRGBD.cpp @@ -420,6 +420,11 @@ bool CameraOpenNI2::init() UERROR("CameraOpenNI2: Failed to set depth/color registration."); } + if (_device->setDepthColorSyncEnabled(true) != openni::STATUS_OK) + { + UERROR("CameraOpenNI2: Failed to set depth color sync"); + } + _depth->setMirroringEnabled(false); _color->setMirroringEnabled(false);