Skip to content

Commit

Permalink
Merge pull request #195 from rdeioris/dev
Browse files Browse the repository at this point in the history
Keep base properties when applying references in composition
  • Loading branch information
syoyo authored Oct 21, 2024
2 parents fb66ca5 + 6b4fcd4 commit c9a7815
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 c9a7815

Please sign in to comment.