Fix broken non-raw images
This commit is contained in:
parent
b090fd7d2f
commit
99c8b60615
@ -106,11 +106,7 @@ public:
|
||||
return sampleArrangement;
|
||||
}
|
||||
|
||||
virtual void getStdImage (ColorTemp ctemp, int tran, Imagefloat* image, PreviewProps pp, bool first)
|
||||
{
|
||||
printf("getStdImage NULL!\n");
|
||||
}
|
||||
|
||||
virtual void getStdImage (ColorTemp ctemp, int tran, Imagefloat* image, PreviewProps pp) = 0;
|
||||
virtual int getBPS () = 0;
|
||||
virtual void getScanline (int row, unsigned char* buffer, int bps, bool isFloat = false) {}
|
||||
virtual void setScanline (int row, unsigned char* buffer, int bps, unsigned int numSamples = 3) {}
|
||||
|
@ -194,7 +194,7 @@ void StdImageSource::getImage (const ColorTemp &ctemp, int tran, Imagefloat* ima
|
||||
|
||||
// the code will use OpenMP as of now.
|
||||
|
||||
img->getStdImage(ctemp, tran, image, pp, true);
|
||||
img->getStdImage(ctemp, tran, image, pp);
|
||||
|
||||
// Hombre: we could have rotated the image here too, with just few line of code, but:
|
||||
// 1. it would require other modifications in the engine, so "do not touch that little plonker!"
|
||||
|
Loading…
x
Reference in New Issue
Block a user