Skip to content

Commit

Permalink
keep base properties when applying references in composition
Browse files Browse the repository at this point in the history
  • Loading branch information
rdeioris committed Oct 20, 2024
1 parent 7bc9f32 commit 6b4fcd4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/composition.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 6b4fcd4

Please sign in to comment.