Do not crash if custom object load fails


There was no check for the existence of UVs or normals in an OBJ file.
A check for those was added. Additionally a debug message was added in
case model loading fails due to missing UVs or normals. Furthermore,
we no more qFatal out when custom object loading fails.

Pick-to: 6.2 6.4
Fixes: QTBUG-105398
Change-Id: Ie2742fb4307fe117e313cedf8111bc8f460f9c7b
Reviewed-by: Sami Varanka <sami.varanka@qt.io>
Reviewed-by: Kwanghyo Park <kwanghyo.park@qt.io>
Reviewed-by: Dilek Akcay
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
commit449f644df503dc409514cafd7b46ee8664e4d451
parenteae43d7f21b29a8d40e2f12f418efd7f9a35a43c
authorTomi Korpipaa <tomi.korpipaa@qt.io>
committerTomi Korpipaa <tomi.korpipaa@qt.io>
commit timeFri, 26 Aug 2022 11:03:04 +0300