Browse Source

Better message

Malcolm Tyrrell 4 năm trước cách đây
mục cha
commit
0af05e7a60
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      code/AssetLib/glTF2/glTF2Asset.inl

+ 1 - 1
code/AssetLib/glTF2/glTF2Asset.inl

@@ -758,7 +758,7 @@ template <class T>
 void Accessor::ExtractData(T *&outData) {
     uint8_t *data = GetPointer();
     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();