From 6b4fcd44964102e76a7be6e2ec8fdd027e359d2b Mon Sep 17 00:00:00 2001 From: rdeioris Date: Sun, 20 Oct 2024 14:52:27 +0200 Subject: [PATCH] keep base properties when applying references in composition --- src/composition.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/composition.cc b/src/composition.cc index 860bea25..ec5e4934 100644 --- a/src/composition.cc +++ b/src/composition.cc @@ -1289,6 +1289,10 @@ static bool InheritPrimSpecImpl(PrimSpec &dst, const PrimSpec &src, // replace ps.props().at(prop.first) = prop.second; } + else { + // re-add + ps.props()[prop.first] = prop.second; + } } // Overide child primspecs.