Skip to content

Fix node logging enable/disable being mapped to the wrong node.#430

Merged
gbin merged 1 commit into
masterfrom
matthewashtonk/fix_no_logging_array_index
Sep 2, 2025
Merged

Fix node logging enable/disable being mapped to the wrong node.#430
gbin merged 1 commit into
masterfrom
matthewashtonk/fix_no_logging_array_index

Conversation

@matthewashton-k

Copy link
Copy Markdown
Collaborator

The logging_enabled array should be indexed into by step.node_id not output_index.

Found this bug because I finally got resim working for my project and noticed things were getting logged out that that I thought I had disabled.

@matthewashton-k matthewashton-k changed the title fix: index into array with node_id instead of output_position Fix node logging enable/disable being mapped to the wrong node. Sep 2, 2025
@gbin

gbin commented Sep 2, 2025

Copy link
Copy Markdown
Collaborator

Thanks, this node vs array position thing is treacherous. I might introduce an actual type for each because I made way too many bugs because of that.

@gbin gbin merged commit 56c227a into master Sep 2, 2025
6 checks passed
@gbin gbin deleted the matthewashtonk/fix_no_logging_array_index branch September 2, 2025 14:05
@makeecat makeecat added the bug Something isn't working label Jan 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants