]> 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)
committersmoskvin <smoskvin@opencascade.com>
Wed, 6 Apr 2022 19:58:16 +0000 (22:58 +0300)
commit5078d0d84e453836e006d7ffdfe23f29af09d266
tree3d777594fe0bd4cc8e67b007818111f65c3f3708
parentad3825f82153789430b34da3b7fcda1b242edc20
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