795 Commits over 1,157 Days - 0.03cph!
ModelDoc: Added more info to "not in CONTENT folder" error message
Fixed certain assets showing 2 icons in the browser
AssetType.PrefersIconForThumbnail is now set correctly
Remaining asset type/system docs
AssetSystem & GameData docs
Sort asset references in inspector by type and name
Makes it easier to see what's what. Also reduced vertical whitespace a bit.
Added confirmation popups for deletion of assets/projects
This also lets the user know what exactly will happen to the asset and project files upon removal/deletion.
ScenePortal docs
Entity bone methods throw on out of bounds input
Added PhysicsBody.SurfaceMaterial, deprecated SetSurface/GetDominantSurface
Obsolete Entity.IsFollowingEntity & FollowedEntity
Documentation & cleanups
Add GetName & Count to MorphCollection
Extra info for ModelEntity.SetMaterialOverride overlaods
Hammer: Try to guess static overlay projection distance from scaling
Properly fix codegen removing all namespaces
Fixed codegen removing all namespaces in generated files
This is primarily for property initializers
ProjectDownloader also displays errors for packages
Some Widget.Layout docs
More gracefully handle missing git when downloading games from asset.party
Display a warning when trying to download a game to non empty folder
Fixed selecting multiple games in ProjectDownloader causing weird automatic path
▊▅ ▋▉█ ▍▍▅▊▉ ▍▇▋▉▊▄▆ ▋▅▌█▋▊▅▅▍█ ▄▆ █▌▉▌█▆▌▅▉
▊▄▄▅/█▍▋▌▅▋/▅▄▇
TypeLibrary.GetDescription handles constructed generics
(By returning info about the non-constructed version of the generic)
Remove debug output from TimerEntity
Fixed Hammer inputs missing descriptions in Hammer
Added TimeUntil.Passed & feature parity for RealTimeUntil
Added TimerEntity
Fixed getters for Widget.Max/MinimumHeight returning width
Default ZNear to 4, not 10 if its not set
Fixes ultrawide aspects being able to see through walls in Sandbox, etc.
Fixed description of SceneCamera.BackgroundColor
Fixed Entity.AddOutputEvent setting times to fire to 0
Now is infinite like expected.
Try to generate a better default value for asset identifier
Implemented usage of ValidationAttributes to PropertySheet
https://files.facepunch.com/rubat/1b0411b1/sbox-dev_NBbW8ZiRDE.mp4
Any of System.ComponentModel.DataAnnotations.* attributes work, including custom ones. There are helper functions for this on TypeLibrary and PropertyDescription classes as well.
Use validation attributes on Asset publish inspector
PhysicsBody.GetDominantSurface returns 'default' when no shapes
Give summaries to BaseNetworkable, INetworkSerializer, INetworkTable
Use parameter default value when firing inputs for non number types too
Improve error handling for firing Hammer/MapIO inputs
Corrected description of (Real)TimeUntil.Absolute
RangedFloat can be used in Hammer entity properties now
Deleted prop_dynamic, info(_particle)_target, point_camera native ents
Deleted prop_dynamic, info_target, info_particle_target, point_camera native entities
They all have c# alternatives
Deleted info_null, info_landmark, info_player_deathmatch engine ents
Make it more clear that project rows are not clickable
Fixed exceptions when closing publish to asset.party window prematurely
Codegen writes correct accessibility for partial classes it writes
Add descriptions to TypeLibrary's description classes
DisplayInfo will inherit from interfaces for type members
Added BBox.Contains(Vector3) & FromPositionAndSize( Vector3, Vector3 )
Added box soundscape entity
Fixed files with capital letters not being accepted for Hammer drag&drop
Improve responsiveness of selected map/game preview in lobby
No longer displays previous selected map/game while new data is being fetched
Mount local Content type projects on server start up
Allows usage of custom game resources from content addons
Draw the actual soundscape entities with overlay enabled
Better handle failed downloads when loading to a server
Switch some entity methods to check validity of internal pointer, not realm
ModelEntity.TakeDecalsFrom throws explicitly when given null
Fix malformed comment on RenderTreeBuilder.AddAttribute
Fixed a race condition with loading custom resources in tools
Fixed ResourceProperty not working with base Resources
Fixed "fire once" or OutputConnection.TimesToFire not doing anything
Asset browser addon icons reflect their type
Change addon grouping in AddonSwitcher
Addons are grouped by Active AND Type. Groups can also be collapsed now.
Fixed custom game resources sometimes resetting to default values
This would happen if you open an asset that references other assets.
Keep better separation of game resources between realms
This affects editor/menu assets. Basically custom assets in tools are now stored under "Menu" container, not "None". This fixes menu compiled types trying to be used on the server/client, which would throw errors.
Fixed editing assets while in-game resetting child assets to defaults
Fixed editing custom game resources while the gamemode they are from is running causing any referenced assets (such as List<MyCustomChildGameResource>) to reset to default values on client and server.
Fixed "GameResourceA cannot be cast to GameResourceA" exception
sbox-issues/issues/2416
Resource selector supports multiple assets when base type is an asset
Make CanEditAttribute uninheritable
Fixes IntSliderProperty being applied to float properties
Update asset list property editor drag'n'drop
Now supports List<YourCustomGameResource>, not just List<string> with ResourceTypeAttribute
Documentation pass
ResourceProperty can support multiple asset types
Merge branch 'master' of sbox
ResourceProperty better handles invalid asset types
Added implicit casts to System.Numerics variations of Vector2/Rotation
Matches Vector3 & Vector4
Update summary of Vectot3.EulerAngles to better represent what it does
Integer Slider Property no longer shows decimal point values
Obsolete warning fixes
Fixed exception when trying to (de)serialize custom asset lists/arrays
Fixed DebugOverlay.Texture documentation comment
Set ConsoleSystem.Caller to Local.Client for clientside concommands
Documentation pass
Documentation pass
Added Angles.Forward, obsoleted Angles.Direction
DragData.Files does not rely on file:/// prefix
Add category to angular fog related properties
Fixed OGG files not receiving correct duration (Recompiles needed)
Added SoundFile.IsValid
Error handling for SoundFilePreview
ConditionalVisibilityAttribute works for child sheets
sbox-issues/issues/2162
Fixed an assert in ModelDoc rotation gizmo
sbox-issues/issues/2135