diff --git a/src/MsgConversion.cpp b/src/MsgConversion.cpp index e90605bf..7b45201d 100644 --- a/src/MsgConversion.cpp +++ b/src/MsgConversion.cpp @@ -1856,7 +1856,7 @@ bool convertRGBDMsgs( } } - if(isDepth) + if(isDepth && !depthMsgs.empty()) { UASSERT_MSG( imageWidth/depthWidth == imageHeight/depthHeight,