Better message

pull/3490/head
Malcolm Tyrrell 2020-11-05 15:10:52 +00:00
parent 01b2088dd3
commit 0af05e7a60
1 changed files with 1 additions and 1 deletions

View File

@ -758,7 +758,7 @@ template <class T>
void Accessor::ExtractData(T *&outData) { void Accessor::ExtractData(T *&outData) {
uint8_t *data = GetPointer(); uint8_t *data = GetPointer();
if (!data) { if (!data) {
throw DeadlyImportError("GLTF2: data is nullptr when extracting data from ", getContextForErrorMessages(id, name)); throw DeadlyImportError("GLTF2: data is null when extracting data from ", getContextForErrorMessages(id, name));
} }
const size_t elemSize = GetElementSize(); const size_t elemSize = GetElementSize();