Skip to content

Commit

Permalink
remove log
Browse files Browse the repository at this point in the history
  • Loading branch information
zhouhang95 committed Dec 22, 2023
1 parent 13b5699 commit 36fd6da
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions zeno/src/nodes/prim/TransformPrimitive.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ struct PrimitiveTransform : zeno::INode {
auto i = std::stoi(idx);
if (auto list = std::dynamic_pointer_cast<ListObject>(cur_root)) {
if (i >= list->arr.size()) {
zeno::log_info("out of range");
zeno::log_warn("out of range");
return std::nullopt;
}
cur_root = list->arr[i];
Expand All @@ -234,7 +234,6 @@ struct PrimitiveTransform : zeno::INode {
return cur_root;
}
}
zeno::log_info("missing");
return cur_root;
}

Expand Down

0 comments on commit 36fd6da

Please sign in to comment.