Fix white balance uninitialized at start
This commit is contained in:
@@ -103,6 +103,7 @@ void ImageWidget::setImage(std::shared_ptr<RawImage> image, int index)
|
||||
m_imgWidth = image->width();
|
||||
m_imgHeight = image->height();
|
||||
m_currentImg = index;
|
||||
m_whiteBalance[0] = m_whiteBalance[1] = m_whiteBalance[2] = 1.0f;
|
||||
|
||||
if(!m_image)return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user