4,331 Commits over 1,552 Days - 0.12cph!
Sort variable groups
Create property widgets for variables
Add state cookie to variable list expanders
Add group to variable description
Display variables
Decode sort key (todo: do this in C#)
Only show variable groups that have at least one enabled variable, don't create widget for disabled variable
Remove GetKV3MaterialDescription binding
Grab variable descriptions based on feature state
Editor window and preview widget
Fix material adding duplicate params
Get material description, as json
Build features description for material
Serialize feature descriptions
Features list UI https://files.facepunch.com/layla/1b0911b1/sbox_AQUvbCPcCn.mp4
group combo and label (really should make a radio selection widget for this)
RenderAttributes.GetInt returns int (typo?)
Draw bounds for selected model objects
Model helpers don't cast shadows
Bind transform slot to zero in render tools draw so we don't draw shit at the previously binded transform
Add Graphics.Draw that takes list of vertices
Add Graphics.SetTransform so we can change the transform of draw calls
Add basic tool render context that can draw batched primitives
Bind transform in the draw call, has to be done in same scope it seems
Give editor objects and helpers a chance to render
Add DrawSphereHoops
Give render context access to scene camera
Add DrawCircleOutline
Support line thickness
Hammer: Support drag drop from entity tree view because I keep finding myself trying to drag them in https://files.facepunch.com/layla/1b0311b1/sbox_TbxTgCp7lS.mp4
Fix strange bug accessing DragData.Url if it wasn't set, checking for null would somehow fail?
Change model thumbnail rendering back to an animated pose, forgot I had changed this
Remove useless line of code
Add menu option to create multiple sound events from selection https://files.facepunch.com/layla/1b0311b1/sbox_ctRq5YvZNX.png
Fix StartVoiceRecording and StopVoiceRecording being called continuously when it doesn't have to
Fix particle preview rotation https://files.facepunch.com/layla/1b0211b1/sbox-dev_DE9zLfakRV.mp4
AssertIsMainThread for SetupPhysicsFromModel, this is not safe to do
Assert trying to make scene model with meshless model, sceneobjects aren't created if there's no meshes
Do the same for sceneobject
Fix crash trying to render thumbnail of model with no meshes
Fix crash trying to preview model with no meshes
Create trace object for lights
Clear selection if we didn't trace against anything
Try selecting editor object from trace
Add simple ray trace api
Editor objects create ray trace objects to trace against
Trace into viewport to test tracing api
Add Application.CursorPosition setter for mouse capturing
Bind QTimer so we can use it to unblock drag and drop operations (ideally we'd fix this properly in a Qt fork)
Add temp trace function to trace scene objects until we use ray tracing environments
Initial scene editor
Remove unused tool scene widget def
Bind ray trace environment and add a simple API for it
Remove slow tracing function, no longer needed
Try to get scene object from trace
Remove old tracing code
Bind more of ray trace env
Return the full ray tracing single result struct
Initial tool helpers api
Bind helper transform to target transform
Use treeview for object list
Move helpers to tool addon code
Make editor objects IValid
Light object updates scene object with the binding system instead of on changed callbacks
Populate object list with editor objects, keep them updated and handle selection
Fix tree view SetSelected ignoring skip events and selection changed to false
Delete selection
Create a model object for model drag and drops
Include drag pos in DragData so initial drag enter knows where to spawn the object
Unselect everything when selecting a new object
Highlight selected object
Flush bind system after setting binds
Allow model helper to be position only
Don't bind properties that aren't meant to be two-way
Light brightness property
Model property
Use string for model property
Support drag and drop from cloud
Don't bind properties that aren't meant to be two-way
Light brightness property
Model property
Use string for model property
Support drag and drop from cloud
Allow model helper to be position only
Flush bind system after setting binds
Highlight selected object
Populate object list with editor objects, keep them updated and handle selection
Fix tree view SetSelected ignoring skip events and selection changed to false
Delete selection
Create a model object for model drag and drops
Include drag pos in DragData so initial drag enter knows where to spawn the object
Unselect everything when selecting a new object
Bind more of ray trace env
Return the full ray tracing single result struct
Initial tool helpers api
Bind helper transform to target transform
Use treeview for object list
Move helpers to tool addon code
Make editor objects IValid
Light object updates scene object with the binding system instead of on changed callbacks
Enable client authoritative mesh groups when setting a client side procedural model so server doesn't stomp mesh groups
Fix crashes when trying to set an animgraph on a model with no bones (still allowed because they may have morphs)
Try to get scene object from trace
Remove unused tool scene widget def
Bind ray trace environment and add a simple API for it
Remove slow tracing function, no longer needed
Add Application.CursorPosition setter for mouse capturing
Bind QTimer so we can use it to unblock drag and drop operations (ideally we'd fix this properly in a Qt fork)
Add temp trace function to trace scene objects until we use ray tracing environments
Initial scene editor
Don't return the dir we're searching in
RedirectFileSystem handles FindDirectory too
Fix RedirectFileSystem not checking directory when enumerating paths
Revert "Fix FindFile returning bullshit paths we didn't search for"
This reverts commit 812a7edca9cbf2804fbb7e09c1ec1ed840ae7c19.
Fix FindFile returning bullshit paths we didn't search for
Make Hitbox constructor internal
Allow Graphics.RenderToTexture to be used outside of render block
Add Ortho settings to SceneCamera
Animgraph: Don't allow tags or other items to be removed when preview mode is active
Animgraph: Disable state machine condition list when preview mode is active
Animgraph: Do the same for state machine tag list
Clean up model state a little bit, don't need to know about the old model state when setting up rendering
ModelDoc: Don't show duplicate context action for selections that include singleton nodes, these nodes can't be duplicated
Scrap trying to do managed cubemap entities, no real benefit
Reload env map texture resource, needed because buildcubemaps may have updated it
Build in game cubemaps by searching entity key values instead of game entities
Fix crash trying to run buildcubemaps when not in game
No longer need env_cubemap_box
Destroy cubemap object when entity is destroyed
Support cubemap handshake, this is needed for static objects to find their cubemap