shalliwell
c034808565
Add Catch ContentMatch Execeptions
...
Returns a false when search is invalid
5 years ago
shalliwell
50bea2147d
Fix FlowchartWindow Search Popup
...
Changes to 2019.3 unity ui had caused the popup box to fail to draw correctly
5 years ago
Steve Halliwell
98003f182a
Add Partial filter state to Blocks
...
In flowchart window the search now makes a distinction between a full match, name of block to search string and a partial match, command contents matching the search string.
SearchBox popup is also not more conservative in show itself, close #786
5 years ago
Steve Halliwell
d530302f2b
Add option to Grid Snap block in flowchart window
...
Controlled via toggle in Fungus Editor Prefs.
Snaps and aligns blocks to underlying grid in the flowchart window.
More caches for styles and lists to reduce allocations during block drawing
5 years ago
Steve Halliwell
e51ab9d688
Add quick add block button to Menu Command block select
...
Closes #211
5 years ago
Steve Halliwell
9d1060a58f
Double Click block centres in Flowchart Window
5 years ago
Steve Halliwell
2127dee0e0
Update header license
5 years ago
Steve Halliwell
ce7e75aa50
Defines and fallbacks for 2017 and 2018 ( #781 )
5 years ago
Steve Halliwell
9488ba99d9
Debug additions ( #777 )
...
* Flowchart block selectedness now only modified by Block.Execute at runtime
Blocks can suppress auto-selection in flowchart window due to execution
Events can suppress auto-selection in flowchart window by activation
Variable returns value as object
Flowchart rightclick menu commands for interacting with blocks
Right click menu for variable list for add, rmove and sort
Add IVariableReference
Add DebugBreak command, also useful for attaching IDE breakpoints to
* IBlockCaller now uses IStringLocationIdentifier
5 years ago
AcademyOfF
902a3b3ecb
Search should search commands, not just block names ( #775 )
...
Search searches command content, not just block names
- Commands default to returning their summary content as the searchable content
5 years ago
desktop-maesty/steve
89381e1a91
Force FlowchartWindow and BlockInspector to be refreshed when moving between and playmodes in editor
...
-and restore selected blocks from edit, to play, back to edit
5 years ago
desktop-maesty/steve
baf64aaa98
FlowchartWindow force clears filteredBlocks during target Flowchart change
...
- better handles switching scenes and to and from play mode
- warns user when nulls are found
5 years ago
desktop-maesty/steve
1b04eb5b7b
FlowchartWindow MutliSelect now more strictly manages selected and mousedown or held over status of blocks and fixes
...
-multi move
-multi delete
-multi copy & paste
-control click and marque toggles block selectedness
-undo redo forces refresh of cached lists
6 years ago
desktop-maesty/steve
d7ab327cc2
FlowchartWindow checks for staleness of EventHandler, Block header info and Flowchart header info
6 years ago
desktop-maesty/steve
efd39d2fa3
FlowchartWindow stale repaints
...
- during undo and redo operations
- when command data is stale due to modification by user
6 years ago
desktop-maesty/steve
fd936ee06e
FlowchartWindow tracks selected command changes and force repaints
6 years ago
desktop-maesty/steve
b4588f17b0
FlowchartWindow Variable list perfermance Improvements
...
- changes cause repaint of flowhcart window
- Var list drawing performance improvements, cache styles and widths
6 years ago
desktop-maesty/steve
4f37234f69
FlowchartWindow perf improvements
...
Only draw connections that are on screen
Limit repaint to when changes in block execution or previous execution happen rather forcing every frame
6 years ago
desktop-maesty/steve
e176222cd6
Detect and respond to play mode invalidating FlowchartWindow local blocks cache
...
FlowchartWindow.DrawRectConnection optimisation to remove alloc and internal loops
6 years ago
desktop-maesty/steve
f46174a419
Flowchart Window control selection rework to maintain consistent usage still with less Contain calls
6 years ago
desktop-maesty/steve
7b4aaea648
FlowchartWindow refactored Selected Block drawing to avoid O(2N) .Contains calls
...
Added a testing scene for editor performance, for many blocks on 1 flowhcart
6 years ago
desktop-maesty/steve
9dd37ee7f7
FlowchartWindow performance for 100s of blocks
...
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
6 years ago
desktop-maesty/steve
a7aac4291a
Correct variable list in flowchart window width
6 years ago
desktop-maesty/steve
17cd4cde4e
Try Catch around VarListLayout so we can eat the error that occurs when moving from play back to edit
7 years ago
desktop-maesty/steve
7749f8b3c8
When a change is detected in the flowchartwindow var list mark the flowchart dirty so the inspector refreshes.
7 years ago
desktop-maesty/steve
5038f8baae
FlowchartEditor keeps a VariableListAdapter rather than an entire FlowchartEditor
7 years ago
desktop-maesty/steve
a518dc284f
VariableListAdapter no longer Rotorz
...
FlowchartEditor uses an instance of one to handle using UnityEditorInternal ReorderableList
FlowchartWindow caches a FlowchartEditor for the current flowchart so it can correctly use the new ReorderableList methods
7 years ago
desktop-maesty/steve
0b81c75e2e
Added ability to show variable list in the Flowchart Inspector
...
-Refactored DrawVariablesGUI
-Added bool to FungusEditorPreferences, that hides the variable list in the flowchart inspector
7 years ago
desktop-maesty/steve
1bbb8da1c3
Added logic to handle destroying the blockdrawers when the target flowchart changes underneath them.
...
-A nuclear option perhaps but solves Prefab Variable Dereferencing #618
7 years ago
Christopher
367f0527f4
Replaced slow calls to FindObjectOfType() and FindDerivedTypes()
8 years ago
Christopher
7dacaa70d9
Fixed Cmd+Left Click doesn't register as right click on OSX #595
8 years ago
Christopher
8d81173ffc
Fixed can't inspect disabled Flowchart #598
8 years ago
Christopher
d34f795f27
Fixed Flowchart prefab's block show as empty on the Inspector #583
8 years ago
Zach Vinless
096f42c652
Updated variable names so it's clear when events are used
8 years ago
Zach Vinless
3f17ef564f
Made sure selected block is always on top
8 years ago
Zach Vinless
6c7e53356c
Fixed connections not highlighting
8 years ago
Zach Vinless
0854c2339b
Added back necessary DestroyImmediate call
8 years ago
Zach Vinless
1808d04f3a
Spacing cleanup
8 years ago
Zach Vinless
b93883f203
Implemented EventWindow handlers
...
Made flowchart class variable
Removed variables with no references
8 years ago
Zach Vinless
e85745cdda
Separated early events from DrawOverlay()
8 years ago
zvinless
abc4cb0a07
Added newlines to switch for consistency
8 years ago
zvinless
4ca7ecbdc6
Added block search dropdown
...
Added popup window that appears beneath search filter so that users can
easily find blocks by name
8 years ago
zvinless
6f2ec7fb5f
Added simple search filter to highlight blocks
8 years ago
Zach Vinless
bb0aa56ad0
Updated paste function to assign command ItemIds and event handler parent blocks
8 years ago
Zach Vinless
dd5bdf6dcf
Reimplemented cut/copy/paste using SerializedObjects
...
-Added cut/copy/paste functionality
-Replaced DuplicateBlocks() functions with calls to Copy() and Paste()
to reduce duplicated code
8 years ago
Zach Vinless
07d0122b72
Updated curves, connection points, and grid background
...
-Replaced GLDraw calls with Handles calls for connection curves
-Replaced GUI.Label calls with GUI.DrawTexture calls for connection
points
-Replaced GUI.DrawTexture with native graph background draw call
-Removed GLDraw.cs
8 years ago
Zach Vinless
5f677602c5
Converted tabs to spaces in new files
8 years ago
Zach Vinless
60f9bc5fd2
Added tolerance value for right click MouseUp context clicks
8 years ago
Zach Vinless
4fb4a2f07b
Removed copy/cut/paste functionality for now
...
-Removed copy/cut/paste functionality so that those commands can be
implemented in a future PR
-Removed unreferenced “DeleteBlock” function
8 years ago
Zach Vinless
5af37c9415
Added check for zoom change to avoid constant repaint
...
-forceRepaintCount no longer gets set every time OnGUI is called
because of DoZoom function
8 years ago