Compare commits

..

1 Commits

View File

@@ -7,7 +7,7 @@ namespace ReFuel.Gltf
{
public class GltfImage : GltfIdObject
{
private GltfSmartId<GltfBufferView> _bufferView = new GltfSmartId<GltfBufferView>();
private GltfSmartId<GltfBufferView> _bufferView;
public override GltfObjectKind Kind => GltfObjectKind.Image;
public string? Name { get; set; }
@@ -32,6 +32,7 @@ namespace ReFuel.Gltf
internal GltfImage(GltfDocument document) : base(document)
{
_bufferView = new GltfSmartId<GltfBufferView>(document.BufferViews);
}
public Stream Open(string? pwd = null, IGltfStreamProvider? provider = null)