== Compositor ==
This fixes occasional crashes on uninitialized memory, when we open a blend file which has movie or image input nodes pointing to none existent source files.
This commit is contained in:
@@ -98,6 +98,10 @@ void BaseImageOperation::deinitExecution()
|
||||
void BaseImageOperation::determineResolution(unsigned int resolution[], unsigned int preferredResolution[])
|
||||
{
|
||||
ImBuf *stackbuf = getImBuf();
|
||||
|
||||
resolution[0] = 0;
|
||||
resolution[1] = 0;
|
||||
|
||||
if (stackbuf) {
|
||||
resolution[0] = stackbuf->x;
|
||||
resolution[1] = stackbuf->y;
|
||||
|
||||
Reference in New Issue
Block a user