4,160 Commits over 884 Days - 0.20cph!
Missed out a few files from my backup that were old, should be good now
Re-added missing files that were for some reason plain LFS text
Delete model viewer
Re-add model viewer
Fixed aoproxy crash when changing model
Don't render AO proxies if we're not casting shadows
Add property to ModelRenderer to configure shadow rendering https://files.facepunch.com/devultj/1b1811b1/sbox_DopEMn3tD5.mp4
Pass tags to envmap probes in prep for having control over them
Make sure to pass tags to light SceneObjects
Give SceneCameras created by CameraComponent a name (derived from its GameObject)
Fix row spacing for ListView using ItemAlign.SpaceBetween when item count is 1
Don't use hardcoded ground angle
Revert "Don't use LFS for code", causing issues because of all of these existing files
Set up using viewmodel camera layer
Scene view falls back to a set background color if we don't have a camera (and gives prefab editor a standard look)
Fixed all treeviews being broken :dizzy_face:
Fixed DecalRenderer not creating its sceneobject when created programmatically
Clamp SceneCamera.Rect input so we can't crash the game
Clamp camera width and height to always be non-zero to prevent crashing
VectorControlWidget can pass RangeAttribute details to its fields
CameraComponent.Viewport type change, use RangeAttribute to clamp in UI https://files.facepunch.com/tony/1b1411b1/sbox_g6X5TNg4fQ.png
Scene: add GameObject and Component querying to hierarchy
- GameObject querying uses Contains
- Component querying requires a full type match
https://files.facepunch.com/tony/1b1411b1/sbox_XIfJhgo8Sb.mp4
Added multiple camera rendering support and exposed camera viewports
- Added CameraComponent properties
- CameraComponent.Priority
- CameraComponent.Viewport
https://files.facepunch.com/tony/1b1311b1/sbox_hUq2v5P1Zx.mp4
Fixed not editing all cameras (viewported cameras, etc) when outside of play mode
Different approach to multiple cameras support. Camera.Main is set to the camera that has the "maincamera" tag
Set default camera priority to 1
Give Camera prefab the "maincamera" tag by default
Add "maincamera" tag to default editor scene
Editor viewport camera shouldn't really care about render tags
Render game viewport from tools if game isn't playing
Clean up GameMenuDll.OnRender
Docs
Use IsMainCamera bool instead of a tag, documented all CameraComponent properties
Don't continuously set Camera.Main
Add CameraComponent.Viewport
Couple more documented properties
Couple more documented properties
Add CameraComponent.Viewport
Different approach to multiple cameras support. Camera.Main is set to the camera that has the "maincamera" tag
Set default camera priority to 1
Give Camera prefab the "maincamera" tag by default
Add "maincamera" tag to default editor scene
Editor viewport camera shouldn't really care about render tags
Render game viewport from tools if game isn't playing
Clean up GameMenuDll.OnRender
Docs
Use IsMainCamera bool instead of a tag, documented all CameraComponent properties
Don't continuously set Camera.Main
Don't continuously set Camera.Main
Use IsMainCamera bool instead of a tag, documented all CameraComponent properties
Different approach to multiple cameras support. Camera.Main is set to the camera that has the "maincamera" tag
Set default camera priority to 1
Give Camera prefab the "maincamera" tag by default
Add "maincamera" tag to default editor scene
Editor viewport camera shouldn't really care about render tags
Render game viewport from tools if game isn't playing
Clean up GameMenuDll.OnRender
Docs
Define SerializedProperty.IsEditable in inherited types where possible (ReadOnlyAttribute or !CanWrite)
https://files.facepunch.com/tony/1b1311b1/sbox_R9sUMW3RGj.png
Scene: Copy / Paste (As Child) supports multiple objects
Scene: Cut supports multiple selection, fixed paste NRE if no selection, use the scene as a fallback
Scene: add multi-select duplicate support
Get rid of angle pitch jitter in scene view
Remove ConVar.Replicated and associated code
Editor: Remove Game tab, moved "Project Settings" to Edit, moved "Open Project in Explorer" to File
Remove ConVar.ClientData and associated code
Remove f5 screenshot from user_keys_default.vcfg
Add Edit/Play menu option, with F5 keyboard shortcut
Clean up GameMenuDll.OnRender
Render game viewport from tools if game isn't playing
Editor viewport camera shouldn't really care about render tags
Different approach to multiple cameras support. Camera.Main is set to the camera that has the "maincamera" tag
Set default camera priority to 1
Give Camera prefab the "maincamera" tag by default
Add "maincamera" tag to default editor scene
Add orthographic view support to camera gizmo https://files.facepunch.com/tony/1b1111b1/sbox_FDMS0kbBzH.mp4
Fixed cell hover color not being set, and fixed cursor type
Adjust alignment of keyboard code cell for consistency
Add inline support for gamepad code
Add tooltip to gamepad cell