]> OCCT Git - occt.git/commit
0032912: Visualization - crash when displaying an OBJ file with missing texture file
authorkgv <kgv@opencascade.com>
Tue, 5 Apr 2022 22:26:00 +0000 (01:26 +0300)
committerkgv <kgv@opencascade.com>
Thu, 7 Apr 2022 05:06:59 +0000 (08:06 +0300)
commitc004c09c9ebb3fa87e5c315ffb3151d6472156cf
treea42162d789614aeac9ec73a968be81e7f7d03247
parentf15afeb84bc151c265ce35a41bdfbdd756dbcb58
0032912: Visualization - crash when displaying an OBJ file with missing texture file

Fix NULL dereference within Graphic3d_TextureRoot::convertToCompatible() due to wrong order of checks.
src/Graphic3d/Graphic3d_TextureRoot.cxx