Skip to content

Commit

Permalink
Add reconstructed Prim to Stage's rootPrims.
Browse files Browse the repository at this point in the history
  • Loading branch information
syoyo committed Aug 19, 2024
1 parent 4e31d4e commit 08dcdc4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/composition.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1331,8 +1331,7 @@ bool LayerToStage(const Layer &layer, Stage *stage_out, std::string *warn,
for (const auto &primspec : layer.primspecs()) {
if (auto pv =
detail::ReconstructPrimFromPrimSpec(primspec.second, warn, err)) {
// TODO
(void)pv;
stage.add_root_prim(std::move(pv.value()));
}
}

Expand Down

0 comments on commit 08dcdc4

Please sign in to comment.