Skip to content

Fix knot tracking for tunnels and threads - #156

Closed
willvale wants to merge 3 commits into
JBenda:masterfrom
willvale:fix-knot-tracking-2
Closed

Fix knot tracking for tunnels and threads#156
willvale wants to merge 3 commits into
JBenda:masterfrom
willvale:fix-knot-tracking-2

Conversation

@willvale

Copy link
Copy Markdown
Contributor

Knots, tunnels and threads should all have entry and exit tracked, otherwise they don't get the correct per-knot tags. This only works for "normal" knots at the moment but is relatively easy to get it to work for the other two.

  • Set track_knot_visit for all frames other than functions.
  • Added new test TagsAndBranching which tests that tags end up visible in inkcpp for all knot types.

NB: The correct behaviour is visible in Inky using the test script in this PR.

willvale added 3 commits June 29, 2026 21:44
Fix knot tracking for tunnels and threads
Knots, tunnels and threads should all have entry tracked, otherwise they don't get per-knot tags.

* Set track_not_visit for all frames other than functions.
* Added new test TagsAndBranching which tests that tags end up visible in inkcpp for all knot types.
@willvale

Copy link
Copy Markdown
Contributor Author

This isn't quite ready after all. The idea is good but while it was passing all tests against my previous version, it's not working against the latest inkcpp changes. I will tweak and re-open in time.

@willvale willvale closed this Jun 30, 2026
@JBenda

JBenda commented Jun 30, 2026

Copy link
Copy Markdown
Owner

Thanks for noticing this. Yeah, the last inkcpp changes were severe around the knot count (I did initially not expect it to be this complicated). I'm looking forword to your PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants