Skip to content

Commit

Permalink
fix(input): only allow handlers with enabled field nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
technobaboo committed Jul 18, 2024
1 parent ecc7d7b commit 6350444
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/nodes/input/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,11 @@ pub fn process_input() {
if !handler_node.enabled() {
continue;
}
if let Some(handler_field_node) = handler.field.spatial.node() {
if !handler_field_node.enabled() {
continue;
}
};

let (methods, datas) = methods
.clone()
Expand Down

0 comments on commit 6350444

Please sign in to comment.