7,014 Commits over 912 Days - 0.32cph!
merge from mainmenu_toggle_optims
Applied the same system to the F1 menu
- ~12ms -> ~4.20ms
- GC ~115KB -> ~10KB
- Added a fast path for root canvas toggling, that lets us toggle the main menu root canvas without triggering a lot of stuff on every graphic
- Graphic::CacheCanvas walks up and stops at the first enabled canvas instead of doing a nasty GetComponentsInParent, saves ~560KB of GC per menu toggle
- Each main menu page now has a canvas component too
Toggling the menu:
- ~134ms → ~45ms
- GC ~600KB -> 24KB
SoftMask optims:
- Don't bother updating disabled soft masks from OnCanvasHierarchyChanged
- NearestMask cache disabled masks, so we can skip the second walk
SoftMask.OnCanvasHierarchyChanged 30ms -> 0.03ms when opening the main menu
Also updated wire slack and snap attraction point game tip to use tokenized binds
Added support for tokenized phrase in settings tooltips, updated deployable snapping tooltip to use [+snapping]
Added snapping to the keybinds menu
Added a dedicated realmed bind for snapping, used by the wire tool and deployable snapping
Fixed autorun causing issues with wire tools
Fixed no domain reload editor topbar button disappearing constantly
merge from defaultbinds_fix
Fixed bind_default not being bind realms aware (fixes +prevskin and +nextskin not bound by default)
Fixed loadout not refreshing correctly when deleted/created by another admin when the f1 menu is closed
merge from steaminventory_nre_fix
Fixed Steamworks.SteamInventory.GetAllItems NRE
Steam inventory screen fails gracefully when Steam is not reachable
merge from demofolder_macos_fix
merge from automated_testing
Better log for the test list step when building the bundles
Building the server bundles now exports the test list
Fixed prefabs with cursed YAML, failing some tests
Added a safeguard for TestScenario out of range errors
Premium FAQ modal, some fixes
merge from skinviewer_charityplushies
Added charity plushies to the skin viewer
Fixed plushie 04 wrong shortname in the sitem
merge from canvasrenderer_warning_fix
Removed all the unnecessary canvas renderer components from prefabs using 3D tmp texts
S2P apartment complex
Removed CanvasRenderer RequireComponent from Graphic, was done by Unity in the latest GUI package update, was reverted when merging with our custom version
Updated all Graphic custom child classes to have their own RequireComponent
merge from skinviewer_rotation
Reset skin target local rotation on disable
Fixed skin viewer not resetting models rotation on init
merge from skinviewer_rotation_fix
Added skin viewer to premium tab
Fixed bootstrap Translate server NRE
merge from healthbars_fill
Changed health bars to use filled image instead of scaled rects
Fixes bluriness and artifact at low ui scale
merge from ores_block_safezones
Added spawn.ore_map
Renders a PNG of every spawned ore nodes location
Block ore nodes and woodpiles from spawning in safe zones
merge from skinviewer_smallbackpack
Added small backpack to the skin viewer
merge from gameui_navigation_fixes