From 02f5bca9778976f6c67f97c4c69988ee66af7434 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Fri, 25 Nov 2022 10:46:29 +0000 Subject: [PATCH] Restored the assignemtn of the defines to the GraphicPipelineConfigurator --- src/assimp/assimp.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/assimp/assimp.cpp b/src/assimp/assimp.cpp index 60590ef..6e41af9 100644 --- a/src/assimp/assimp.cpp +++ b/src/assimp/assimp.cpp @@ -580,6 +580,7 @@ void SceneConverter::convert(const aiMesh* mesh, vsg::ref_ptr& node) } auto config = vsg::GraphicsPipelineConfigurator::create(material.shaderSet); + config->shaderHints->defines = material.defines; config->inputAssemblyState->topology = topology; auto indices = createIndices(mesh, numIndicesPerFace, numIndices);