Commit 8c2222fa authored by Samuel Debionne's avatar Samuel Debionne
Browse files

Fixup max_roi when using loader mode (should be full size)

parent f92b3899
......@@ -46,6 +46,9 @@ void RoiCtrlObj::checkRoi(const Roi &set_roi, Roi &hw_roi)
hw_roi = set_roi;
if (builder)
builder->checkRoi(hw_roi);
else
hw_roi = Roi();
else {
Size max_size;
m_simu.getMaxImageSize(max_size);
hw_roi = Roi({0, 0}, max_size);
}
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment