瀏覽代碼

exception message changed

Vicente Penades 6 年之前
父節點
當前提交
5cbc3086a9
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/SharpGLTF.DOM/Schema2/glb.cs

+ 1 - 1
src/SharpGLTF.DOM/Schema2/glb.cs

@@ -111,7 +111,7 @@ namespace SharpGLTF.Schema2
             try
             {
                 Guard.NotNull(model, nameof(model));
-                Guard.IsTrue(model.LogicalBuffers.Count <= 1, nameof(model), $"{nameof(model)} GLB only supports one binary buffer, {model.LogicalBuffers.Count} found.");
+                Guard.IsTrue(model.LogicalBuffers.Count <= 1, nameof(model), $"GLB format only supports one binary buffer, {model.LogicalBuffers.Count} found. It can be solved by calling {nameof(ModelRoot.MergeBuffers)}");
             }
             catch (Exception ex)
             {