336 Commits over 183 Days - 0.08cph!
Folder Metadata is applied to FolderNodes
Move Folder Metadata from EditorCookies to ProjectCookies. Use relative paths instead of absolute paths.
PreviewSound gradient now visually follows the Falloff of the sound instead of purely being there for aesthetics
https://files.facepunch.com/CarsonKompon/2024/October/29_18-40-LightsalmonBudgie.mp4
Adjust sound defaults and hopefully fix most falloff-related issues.
Fix SoundEvent JsonUpgrader to accommodate for RangedFloat values.
Added Distance/Falloff to Sounds (#1682)
Catch case when ResourceProperty has no asset
Use cloud asset type instead of file extension for filters in Cloud Browser. Resolves Facepunch/sbox-issues#6721
Long Folder names will wrap in Asset Browser icon view
Fix Folder Icons not being centered
Added Folder Metadata window. Allows you to change folder Color/Icon and see additional information. Resolves Facepunch/sbox-issues#6705
https://files.facepunch.com/CarsonKompon/2024/October/28_13-38-MeagerIbizanhound.png
Re-implemented FilterAssetTypes in AssetBrowser and CloudBrowser. ResourceControlWidgets will now only show the selected resources
Unify "Show In Explorer" icons in Asset Browser
Don't show Games in the Cloud Browser. Don't include in type facet
DistanceAttenuation bool is now used again
Rename `Attenuation` to `Falloff` with better Curve initializing
SoundComponent gizmos no longer rotate with the GameObject
Change default Distance value to something closer to the previous default
Updated default curve to feel more like the previous range calculation. Added some more curves to CurvePresets
Created JsonUpgrader for SoundEvent which tries to maintain previous range settings while resetting Volume to 1. Doesn't perform changes to 2D sounds or sounds without DistanceAttenuation
Moved SoundEvent into Sound folder
PreviewSound dragging is more intuitive. Removed logs
SoundEvent Upgrader fixes/adjustments
Added Distance and Attenuation overrides to SoundComponents
Draw range gizmos on SoundComponents when selected, respecting
Added `Range` float and `Falloff` Curve to SoundEvent. Allows you to directly specify how many units away a sound can be heard and where along that range the sound begins to falloff.
Rename Range and Falloff to Distance and Attenuation
Added Sound Distance ControlWidget. Includes quick access to some preset common distances
https://files.facepunch.com/CarsonKompon/2024/October/27_19-32-DopeyAmericancrocodile.mp4
Moved all distance-related variables into a Distance Attentuation ToggleGroup (similar to occlusion)
Add attribute for audio distance float
Slider fixes
Re-implemented PreviewSound
https://files.facepunch.com/CarsonKompon/2024/October/27_20-48-SteepBighorn.mp4
Fix SoundHandle.ListenLocal not working as intended
FloatSlider on AudioDistanceFloatProperty is now exponential, so lower ranges can be fine-tuned with more granularity
Unify all asset delete methods, fix delete not working for certain assets. Resolves Facepunch/sbox-issues#6692
Disable Forward/Back buttons in the Asset Browser if you cannot go forward/backward instead of throwing error
https://files.facepunch.com/CarsonKompon/2024/October/26_10-32-LightcyanAntarcticfurseal.png
Added all the OnMouseX overrides from Panel to PanelComponent. Resolves Facepunch/sbox-issues#6678
SceneEditorSession.Resolve null check
Added some more checks to loading startup scenes. Facepunch/sbox-issues#6594
Can no longer drag a prefab into itself. Resolves Facepunch/sbox-issues#6595
Can no longer change an existing prefab instance's PrefabFile out for the prefab you're already in via the inspector.
Added GetFrustum to CameraComponent
Rename "Available" to "sbox.game" in Library Manager + a different icon.
https://files.facepunch.com/CarsonKompon/2024/October/24_10-08-LavenderAnemonecrab.png
Adding/Removing a Component with a corresponding EditorTool will instantly create/destroy it. Resolves Facepunch/sbox-issues#6643
Adding a Camera Component to a GameObject no longer throws an error when it shouldn't. Resolves Facepunch/sbox-issues#6641
Add ulong constructor to Friend class. Resolves Facepunch/sbox-issues#6644
SceneViewportWidget now refocuses last non-game viewport instead of last selected. Resolves play mode sometimes starting on an Empty Scene
AssetInspector now hotloads when changes to the asset have been made. No longer have to click into something else and click back in.
https://files.facepunch.com/CarsonKompon/2024/October/22_09-47-StaleImperialeagle.mp4
Focus last selected SceneViewport when leaving Play Mode. Resolves Facepunch/sbox-issues#6605
Add IsDeleted checks to loading startup scenes. Facepunch/sbox-issues#6594
Removed unused avatar_menu_map vmap. Prevents downloading a bunch of cloud assets when creating a new project (such as USP_W)
Updated Menu Avatar Scene so it doesn't use missing materials
Better handling for this edge case, also handles empty strings and when the editor itself is mid-shutdown
Grab a few edge cases preventing all scenes from loading from the last session
Editor will restore all opened scenes/prefabs from previous session, not just the last one.
Missed Sound Point description
Added descriptions to Components that didn't have them. Most are self-explanatory, but should help reduce some confusion. Resolves Facepunch/sbox-issues#6560
Added GameObject/Component EyeDropper. Can select by clicking on an object directly or through the hierarchy. Resolves Facepunch/sbox-issues#6547
https://files.facepunch.com/CarsonKompon/2024/October/04_11-04-ChocolateXiphias.mp4
Dragging a prefab into a scene view uses the scale of the prefab. Resolves Facepunch/sbox-issues#6548
Ensure that selected Media is 16/9 in PackageModals
Fix OrganizationModal NRE
Fixed Friends List Modal CSS. Resolves Facepunch/sbox-issues#6525
Add ReadAsPropertyName/WriteAsPropertyName to all Vector2/3/4/Int JsonConverters. This means Vectors will be serialized properly when used as Keys in a Dictionary.
Fix holding ALT not providing gizmo inputs. Resolves Facepunch/sbox-issues#6495
NetworkSpawn() with no arguments will use Connection.Local as the owner (like it used to)
Fix GameObject.NetworkSpawn(null) spawning as host instead of spawning with no owner. Fixes a few games.
Fix "path cannot be empty" when opening object menu
Fix Custom Cursors not being cleared when returning to S&box Main Menu.
Fix Duplicated Entries in Create GameObject Menu
Added Filter Settings to Add Component Popup. Can hide base components. Resolves Facepunch/sbox-issues#6428
https://files.facepunch.com/CarsonKompon/2024/September/19_11-10-TransparentAmethystinepython.mp4
Prefabs marked as `ShowInMenu` will actually show in menu without having to be in `templates/gameobject/` subfolder.
If a Prefab is marked `ShowInMenu` then you can give it `DontBreakAsTemplate` so it maintains the prefab reference when created via the GameObject Menu. Resolves Facepunch/sbox-issues#6035