From 73dac3b38616881780d93c787817630642405abc Mon Sep 17 00:00:00 2001 From: Walther Date: Sat, 21 Oct 2023 00:26:43 +0300 Subject: [PATCH] fix: compilation without gl_tf feature --- clovers/src/scenes.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/clovers/src/scenes.rs b/clovers/src/scenes.rs index 56901594..82443015 100644 --- a/clovers/src/scenes.rs +++ b/clovers/src/scenes.rs @@ -103,6 +103,7 @@ pub fn initialize<'scene>(scene_file: SceneFile, width: u32, height: u32) -> Sce Object::RotateY(i) => i.priority, Object::Sphere(i) => i.priority, Object::STL(i) => i.priority, + #[cfg(feature = "gl_tf")] Object::GLTF(i) => i.priority, Object::Translate(i) => i.priority, Object::Triangle(i) => i.priority,