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
Zach Vinless
92b3c81020
Added pro skin icons and moved editor textures
...
- Added Fungus Editor Resources folder for editor textures (these
should no longer get included in builds)
- Added pro skin icons in Fungus Editor Resources/Icons/Pro
- All editor textures should now be accessible as properties in
FungusEditorResources. If the textures change, use Tools -> Fungus ->
Utilities -> UpdateEditorResourcesScript to automatically update this
8 years ago
Zach Vinless
4e3b65a0e6
Added keyboard shortcuts and more context menu options
...
- Added keyboard shortcuts: copy, cut, duplicate, delete, select all
- Added context menu when right clicking on empty space: add block,
paste
- Context menus now appear on mouse up to better support panning
8 years ago
Zach Vinless
79375f7055
Removed flowchart min/max buttons and undid reflection null checks
...
-Removed redundant min/max buttons in flowchart toolbar
-Undid null checks from previous commit in favor of knowing about
problems versus potential dead code
8 years ago
Zach Vinless
b1004a79c2
Added null checks to flowchart window reflection code in case of breaking updates
...
Added null checks to getting the “docked” property of the flowchart
window in case this property gets changed or removed in the future. The
default offset values should still be acceptable.
8 years ago
Zach Vinless
57fb72e81f
Added toolbar in place of floating UI
...
-There is now a toolbar for buttons, etc. at the top
-Added min, max, and center buttons to quickly zoom or center the graph
-Misc whitespace corrections in code
8 years ago
Zach Vinless
c4462691f4
Removed option to change scroll wheel zoom modes
...
Now always zooms to cursor
Also added a couple of field initializers for safety
8 years ago
Zach Vinless
fb73853bf7
Added support for variable zoom center in flowchart window
...
Flowchart window now zoom in/out by mouse cursor or center rather than
upper left corner
8 years ago