mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-14 02:27:40 -04:00
Fix a potential crash in pyVaultImageNode.
Fixes a crash which can occur when attempting to fetch an unsupported image type.
This commit is contained in:
@ -171,6 +171,8 @@ PyObject* pyVaultImageNode::Image_GetImage( void )
|
|||||||
else
|
else
|
||||||
fMipmapKey->RefObject();
|
fMipmapKey->RefObject();
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
PYTHON_RETURN_NONE;
|
||||||
}
|
}
|
||||||
|
|
||||||
return pyImage::New(fMipmap);
|
return pyImage::New(fMipmap);
|
||||||
|
Reference in New Issue
Block a user