13,863 Commits over 1,552 Days - 0.37cph!
Don't implicitly set zfar as infinity, if we want to do so we can do from C# side, but make it respect what we pass as zfar
LineRenderer has a UseVectorPoints option
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
Fix for AO outline
AO moved in PP to post-transparent to ensure that sky-dome is rendered before AO
Merge branch 'master' of sbox
Tidy and make some context menus more consistent, prevent selecting unworkable options, add hierarchal path support to create asset menus
Download from server (#1632)
Download game asset files from the server, when not using a package. This allows people to make "local only" games and test them locally and multiplayer.
In the future we can change the download method to upload and download from our backend instead of over network.
Don't use internal message type for changing level
Fixed retry logic
Docs
Do panel bind/parameter events when things change even if tree is empty, Facepunch/sbox-issues#5908
Custom panels that do stuff/populate from attributes etc should work again now, incl settings page
Populate Json reflection cache in Json.Initialize
We were seeing some long frame times during first-time prefab instantiation caused by this
Fix some download toasts sticking around forever, and incorrectly displaying as cancelled
Fix warnings in ParticleVector3ControlWidget
Revert "Add LargeNetworkFiles table"
This reverts commit 7365c616af37ef1665abe4961344013815e89b70.
Accidentally rebased master onto a branch - Metapyziks
Add LargeNetworkFiles table
Respect JsonIgnoreAttribute when serializing component properties
We were already checking it for fields
Support more than 1 gamepad input action with the same button
Fix errors when first creating terrain, make sure it's all updated, don't render without storage
Only recreate clipmap if we have to, this takes time to build
Wake touching when disabling a body, why would we not want to?
Some games rely on map having a collider
CollisionEventSystem has less reliance on Collider
MapInstance uses SceneMap instead of Map so it can manage it's own collision. Build collision from physics group desc instead of using CreateAggregateInstance
Fix map collider destroying body when it shouldn't, causing a crash when map physics aggregate is destroyed
For legacy hammer maps, take global volumetric fog scale from VolumetricFogController
Fix ortho lights in SceneMapLoader and custom shadow size, note that shadow culling will suck on ortho lights until we change tiled culling to use frusta
Don't allow zero quaternion in body transform, check against quat zero and use identity, if we find more invalid quaternions there's extra checks we can do
Use IsValid checks in AddShapeCollision, shape/body might have been removed from under us
Recreate mesh shape on update, this is the safe option until we get proper fixes
Only check for StartupScene in Publish Wizard if Type == "game"
Clear triangle cache on mesh update to stop crashes until we get the proper fix
Particle sprite alignment mode
Range check UpdateMesh on the C# side instead so the user knows they fucked it
Fix error when startup scene is set but not immediately recognized
Message and remove toast if the download has been cancelled
Fix ambient light hanging around and stomping
Do the same for UpdateMeshShape because this is likely where the crash is coming from (grubs)
Check BVH indexing outside of vertex list, if this is still getting hit then something else is at fault
Improved AO darkening on flat surfaces with narrow camera angles
ditto
Merge branch 'master' of sbox
Actually use the new ByteStream
Possible fix for queued messages not sending
Add download progress notice for cloud assets in editor, Facepunch/sbox-issues#5639
https://files.facepunch.com/solw/2024/July/23_15-25-OverduePekingese.png
Add Scene.GetAllComponents( Type ) overload
Assert and bail when trying to set physics body to invalid transform
Fix Facepunch/sbox-issues#5896
Prefab instances must be updated to have at least the tags specified in their prefab (Fixes Facepunch/sbox-issues#5729)
Fix NRE when opening PublishPage directly
Added Warning to Publishing Wizard telling you which issues need to be resolved in order to upload. Don't allow upload if startup scene is not set or is set and does not exist.
https://files.facepunch.com/CarsonKompon/2024/July/23_07-24-LovablePaintedladybutterfly.png
Added Apply TRS shader graph node
https://files.facepunch.com/ziks/2024-07-23/sbox-dev_PnwMGMVjmc.mp4
Fixed depth issues, added depth falloff control, added a fade zone for AO
Fixed depth bug apparent with rotating camera etc. added a depth falloff control so user can set distance to where AO ends. Then added a fade zone for AO which has a hardcoded small width so that when the camera depth to pixel approaches the cutoff the AO fades out to prevent any popping.
Fixed not being able to edit these advanced networking settings in prefab editor - working around NetworkAccessor ref struct