Skip to content

Commit

Permalink
Require a field that is actually used by the compact node
Browse files Browse the repository at this point in the history
  • Loading branch information
msz-rai committed Sep 25, 2024
1 parent f9d5a19 commit adb120a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/graph/NodesCore.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ struct CompactByFieldPointsNode : IPointsNodeSingleInput
void enqueueExecImpl() override;

// Node requirements
std::vector<rgl_field_t> getRequiredFieldList() const override { return {IS_HIT_I32, IS_GROUND_I32}; }
std::vector<rgl_field_t> getRequiredFieldList() const override { return {fieldToCompactBy}; }

// Point cloud description
bool isDense() const override { return true; }
Expand Down

0 comments on commit adb120a

Please sign in to comment.