From 62570faa3ff4d3664dab3035a3cf9d4bd58014a1 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Mon, 10 May 2021 17:15:15 -0400 Subject: graphics: model: Display a warning when loading sparse glTF data. --- chickadee/graphics/model.scm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/chickadee/graphics/model.scm b/chickadee/graphics/model.scm index cae9752..e87e47f 100644 --- a/chickadee/graphics/model.scm +++ b/chickadee/graphics/model.scm @@ -827,6 +827,10 @@ (when (and (vector? min) (not (= (vector-length min) (type-length type)))) (error "not enough elements for min" min type)) + (when sparse + (display "glTF: sparse accessors currently unsupported" + (current-error-port)) + (newline (current-error-port))) (make-buffer-view #:name name #:buffer view #:offset offset -- cgit v1.2.3