493 Commits over 1,369 Days - 0.02cph!
Put expression node plugs in header if only one input / output
https://files.facepunch.com/ziks/2024-09-26/sbox-dev_lYhXT4ah9M.png
Get rid of log
Node plug labels match header text colour
https://files.facepunch.com/ziks/2024-09-26/sbox-dev_EFyQuHEEXj.png
Tweak graph editor grid size
https://files.facepunch.com/ziks/2024-09-26/sbox-dev_OTHe5wmoKA.mp4
Don't save game sessions when editing action graphs
EditorScene.OpenScene: don't use game sessions
Update Facepunch.ActionGraphs
Try / catch around new node types in FindAllReflectionNodeTypes
Fix action graph node list not showing new members after hotload
Allow creating instances of simple user types in action graph
```csharp
public record ExampleRecord( int Foo, string Bar );
```
https://files.facepunch.com/ziks/2024-09-25/sbox-dev_PyZRMaMzAu.png
Expose places for editor tools to interact with ActionGraphs in resources
Fix action graph target types in resources
Nicer display info for interface types, icon for event methods
Added scene.run node
https://files.facepunch.com/ziks/2024-09-19/devenv_VvsrGGEi2v.png
https://files.facepunch.com/ziks/2024-09-19/sbox-dev_JdyfR5LSEQ.mp4
Update Facepunch.ActionGraphs
Update Facepunch.ActionGraphs
Fix scene ref node output type for prefab root objects
Remove unused hidden nodes when saving graphs
Fix node reachability visual
Update Facepunch.ActionGraphs
Make hotload_fast persist
Add Fast Hotload option to editor preferences
https://files.facepunch.com/ziks/2024-09-17/sbox-dev_iWfk25clOn.png
Update Facepunch.ActionGraphs
Get rid of hack to re-use action graphs between game and tools
Add SourceLocation to action graphs, fix caching
Show action graph diagnostics in main console, like C# errors
Fix possible error when editing action graphs within sub-objects
Scene ref node handles !IsValid better
Serialize destroyed GameObject / Component references as null
Fix performance regression if ModelRenderer changes tint often
Fix clearing ModelRenderer.MaterialOverride
Expose IsValid() to ActionGraph
https://files.facepunch.com/ziks/2024-09-09/rwuGmEnsdg.png
Fixes Facepunch/sbox-issues#6376
Group object-targetting utility nodes
Fix unreachable code warning
Hotload tests: log timings in descending duration
Hotload test benchmarking (1D/3D) (struct/interface) arrays
Hotload: Speed up struct array copying, support Rank > 1 arrays
ActionGraph: support reroute comments
https://files.facepunch.com/ziks/2024-09-02/sbox-dev_7qxUe4dDpf.png
TypeControlWidget: fix generic constraints referencing other parameters
Add conversion node
Fixes Facepunch/sbox-issues#6342
https://files.facepunch.com/ziks/2024-09-02/sbox-dev_TFJ3uDBLEo.png
NodeUI width tweak
Default icons for System.String, Component types
Graph editors: align everything to grid
https://files.facepunch.com/ziks/2024-09-02/sbox-dev_dBWkMgscnh.png
Scene.GetAllComponents() is pure
Add To String (Format) node
Facepunch/sbox-issues#6341
Fix Facepunch/sbox-issues#6341
Add default implementations for INoiseField.Sample( x, [y] )
Add ValueField / PerlinField / SimplexField to Sandbox.Utility.Noise
Old static methods aren't thread safe and can't be seeded.
Make sure scene scope is pushed when calling OnValidate
Disable PropertySheetPopup from being modal for now
Fixes Facepunch/sbox-issues#6109
RangedFloat cleanup
* Add Min / Max properties instead of x / y fields, fields are obsoleted
* Max always equals Min for Fixed range type, unlike the old y field
* ToString returns "<min>" for fixed values, or "<min> <max>" for ranges, instead of "<min>,<max>,<type>"
* Parse supports old format
* Can deconstruct: `var (min, max) = range;`
* Add tests parsing old format
Fix [RequireComponent] on properties in derived types
Add Editor.Menu.AddHeading( title )
Fix FindMode.InAncestors in prefab scenes ignoring root object
Fix Capsule.RandomPointInside not being uniformly distributed
It was biased towards the middle of the cylinder
Fix Capsule.RandomPointOnEdge
Before: https://files.facepunch.com/ziks/2024-08-05/sbox-dev_XG28kFmoyv.mp4
After: https://files.facepunch.com/ziks/2024-08-05/sbox-dev_7zJYNsOipq.mp4
Fix shortcuts like Ctrl+Z in ActionGraph
@CarsonKompon let me know if this isn't the right solution here
Add AG nodes to find objects by name
https://files.facepunch.com/ziks/2024-07-30/Pj8i1MXoJx.png
Expose network accessor to ActionGraph
Fix SceneCamera.GetFrustum for ortho cameras
Breaking change, but fixes incorrect behaviour
Fixes Facepunch/sbox-issues#5999
Add Gizmo.Draw.LineFrustum
Use Gizmo.Draw.LineFrustum in CameraComponent.DrawGizmos
Facepunch/sbox-issues#5999
Fix Module.ResolveType for ByRef types
Caused fast hotload to fail for some methods
Add ToString / GetHashCode nodes
https://files.facepunch.com/ziks/2024-07-30/6SrcmglJqF.png
Added failing test reproducing Facepunch/sbox-issues#5991
Be more careful about trivia changes in ILHotload code analyser
Fixes Facepunch/sbox-issues#5991
Reference package.base from libraries when publishing
Fixes Facepunch/sbox-issues#5899
Cache versioned packages separately
AssertNoGraphErrorsInScene: assert downloaded package version
Package.FetchAsync: allow fetching specific version
Disable AssertNoGraphErrorsInScene test temporarily
Fix Json.PopulateReflectionCache
JsonTypeInfos would only be stored if the JsonSerializerOptions is immutable
Add serialization_warn_time con var
https://files.facepunch.com/ziks/2024-07-24/sbox-dev_0DtqgKK1dt.png
Populate Json reflection cache in Json.Initialize
We were seeing some long frame times during first-time prefab instantiation caused by this