From b840bf697f731a989a53f1a2842d5b55dcc244d4 Mon Sep 17 00:00:00 2001 From: LeeRiva <76054616+LeeRiva@users.noreply.github.com> Date: Tue, 12 Mar 2024 22:46:04 +0100 Subject: [PATCH] Corrected function return value. Fixes #1122 --- src/vsg/utils/Builder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vsg/utils/Builder.cpp b/src/vsg/utils/Builder.cpp index 4dc880a17..25c5a3c99 100644 --- a/src/vsg/utils/Builder.cpp +++ b/src/vsg/utils/Builder.cpp @@ -249,7 +249,7 @@ ref_ptr Builder::decorateAndCompileIfRequired(const GeometryInfo& info, co else { // unable to compute bound so do not decorate with a CullNode. - return node; + return subgraph; } } else