-Nulls are getting into these collections in error. Seems to be due to SelectedBlocks serialising and not being refreshed correctly when something is deleted or removed outside of FlowchartWindow's control or a lingering null from a previous version.
Updated Changelog
- Flowchart can identify add variables found via the substitute regex
- Commands that use SubstituteVariables on their string data use the new caching method so they can highlight variables that will be used during substitution
Allows for circumstances where you want to call a block that completes immediately multiple times such as in recursion.
Removes the need to put Wait 1 Frame commands in a number of cases
More verbose logging in cases where a block cannot be called as it is already running
Blocks now track their selectedness and filteredness to avoid hundreds of contains calls every Draw
Only recalculate filtered collection and total blocks on flowchart when a change has occured
Minor change to Conversation regex grouping
Added Conversation Tests for existing functionality and multi colon
-Conversation Parse refactor to allow for static testing
Moved all regex strings across fungus to const strings
Wasn’t able to replicate this, but I think it was an issue around
caching SubstitutionHandlers. I’ve changed this system to use a static
list that each substituter registers / unregisters with on OnEnable /
OnDisable. Should be more robust now.
-Removed selectedBlock and removed update code copying it into
selectedBlocks
-Changed BlockInspector display message when multiple blocks are
selected
-Added multi-select support via action key/shift+click and click+drag
-Block movement and context menu options now affect all selected blocks
-Flowchart’s SelectedBlock property now refers to the active selected
block rather than the sole selected block. It works similarly to
Unity’s Selection.activeObject
-Bumped flowchart version to 2 to upgrade previously serialized
selected blocks to new format (now a list of blocks rather than a
single block)