瀏覽代碼

Better message

Malcolm Tyrrell 4 年之前
父節點
當前提交
0af05e7a60
共有 1 個文件被更改,包括 1 次插入1 次删除
  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();