Merge pull request #4459 from Beep6581/enhanced-inspector-mode
feature: added option to use a (fast) neutral RAW rendering in 'inspector mode'
This commit is contained in:
@@ -1518,7 +1518,7 @@ void RawImageSource::vflip (Imagefloat* image)
|
||||
|
||||
//%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
|
||||
int RawImageSource::load (const Glib::ustring &fname)
|
||||
int RawImageSource::load (const Glib::ustring &fname, bool firstFrameOnly)
|
||||
{
|
||||
|
||||
MyTime t1, t2;
|
||||
@@ -1535,7 +1535,7 @@ int RawImageSource::load (const Glib::ustring &fname)
|
||||
if (errCode) {
|
||||
return errCode;
|
||||
}
|
||||
numFrames = ri->getFrameCount();
|
||||
numFrames = firstFrameOnly ? 1 : ri->getFrameCount();
|
||||
|
||||
errCode = 0;
|
||||
|
||||
|
Reference in New Issue
Block a user