branchsbox/jsonfree-clonecancel

16 Commits over 0 Days - ∞cph!

5 Days Ago
Cleanup clone code
5 Days Ago
Fixed a bug where calling GameObject.GetPrefab could network spawn game objects. Never network spawn game objects if its scene is a PrefabScene. Merge branch 'master' of sbox New Clothing - Headphones https://files.facepunch.com/daniel/1b2011b1/0OyFzoEgI6.png LODs and Human aswell CommandList.GetRenderTarget with SizeFactor, don't allocate DepthTexture for it since it's not being used anywhere yet Overlay is considered a game layer since it draws to color, fixes depth prepass for overlays, remove overlay prepass from renderpipeline_standard Optimze Pixmap.FromTexture (don't swizzle the format 3 times) 4096x4096 339ms -> 115ms 2048x2048 90ms -> 50ms 1024x1024 20ms -> 10ms Bottleneck is going to be the data read from GPU -> CPU, not much else to do Fixed an issue where FromHost sync vars could get stomped. Optimized delta snapshot updates - we no longer need to even try to process networked objects we don't own. Fixes Facepunch/sbox-issues#7261 Security check in snapshot processing - don't process snapshots we receive for an object if the source connection doesn't own it and isn't the host Force add compiled VR menu scene Stop "Create Sound Event" pranking people by opening to the wrong directory, resolves Facepunch/sbox-issues#7421 Move VRSceneSwitcher + add warning and move back to OnAwake, recompile main menu In VR, menu defaults to having VR tag enabled Merge branch 'master' into jsonfree-clone
5 Days Ago
Fix example in comment
5 Days Ago
Remove unintended file change
5 Days Ago
Update comment
5 Days Ago
Clear clone type cache on HotReload & GameShutdown Documentation
5 Days Ago
Remove interface
5 Days Ago
Automatically detect if a type can be copied for cloning. Cleaneup clone reflection code Remove clone interface and attribute Add another test Add another test Format
6 Days Ago
Possible fix for fragile tests Restore old TypeLibrary at end of SerializeTest Move VR scene switcher logic into OnStart Add support for custom specialised asset pickers per-resource type via AssetPickerAttribute Add SimplePicker, use for shaders until we get something better so that's not awful to use https://files.facepunch.com/solw/2025/January/20_13-12-GentlePinkriverdolphin.png Merge branch 'master' into jsonfree-clone
6 Days Ago
Fix cloning types that do not have public parameter less constructors Simplify clone. Implement DeepClone for built-in types, for custom types fallback to JSON
6 Days Ago
Add [CopyToClone] attribute to allow fast path clone of structs that don't hold any references (ParticleFloat, Curve, Vector...)
6 Days Ago
Humans/animgraph: added Sprint_N (+ temp derived NE/NW) Humans: small tweak to Sprint_N + export the copy of the graph assigned to Humans Refactor GameObject serialization tests a little A couple of object cloning edge case tests CloneActionGraphProperty test Add CloneActionGraphSceneReference test Pull tests from master
6 Days Ago
DeppClone all reference types
6 Days Ago
Removed too much in prev commit
6 Days Ago
Removed actiongraph scope from component postclone
6 Days Ago
JSON free GameObject.Clone