33 Commits over 0 Days - ∞cph!
Fix presets drawing line backwards
Read from array fix
Fix float slider mouse move events slipping down to parent
Curve Editor Toolbar
https://files.facepunch.com/garry/f4910b27-7d3c-4f41-bb7c-41dc8ab295a4.png
Tweak keyframe serialization
Refactor so curve's keyframes are always 0-1
ListView additions
Added Curve Presets
https://files.facepunch.com/garry/4e27f1fe-bccb-4775-ac18-b231462bd5df.png
Curve2D - JsonConvertor, create from float
CurveProperty
Fix curve popup causing errors by stealing hover focus
Curve manual json
PopupWidget
Add TimeRange and ValueRange to Curve2D
Add TimeRangeAttribute, ValueRangeAttribute
Reverse curve y axis so things make sense
CurveProperty calls signal changed
Add DisplayInfo.ForEnumValues() - which also returns the enum values
HandlePopup has tangent type switcher
https://files.facepunch.com/garry/20a2ce55-8d0d-4cbd-a216-acb97d57f34d.png
Clamp points to canvas
Add Paint.RenderMode
Add Application.CursorPosition
Add GraphicsItem.GraphicsView
Add GraphicsItem.ViewPosition
Add Widget.ConstrainTo( rect )
Tweak FloatProperty to handle dragging in a moving widget
Add EditableCurve popup editor and background grid
https://files.facepunch.com/garry/91c82daf-8642-425f-a2cb-a1c1526068ac.png
Add Color.WithAlphaMultiplied
GraphicsItem.Clip, GraphicsItem.ClipChildren
Handle modes
https://files.facepunch.com/garry/ba09ca0d-4f83-4c4a-bbf8-2b041a19fbdb.mp4
Curve collision, add points by clicking
GraphicsItem.Contains fixes
Fix infinite loop
Right click delete
GraphicsItem key events
Order keyframes
Change array interop to be more useful
Paint.DrawPolygon, Paint.DrawLine, Paint.DrawPoints
Curve editor use continuous line
Add Vector2.Degrees & Tests
Tests for Vector2.FromDegrees
Add Paint.DrawArc, Paint.DrawPie
Curve handle cleanup
GraphicsItem hover events
Tangent handles
https://files.facepunch.com/garry/82567087-7590-461e-a1b0-d7d2fa95ba02.mp4
Tangent math back to slope
Qt update
Added GraphicsItem.OnMoved
EditableCurve save/restore curve
Add Vector2.FromDegrees
Add GraphicsItem.Bind
Set common defaults on GraphicsView
Move Widget.Bind to QObject.Bind
Start work on EditableCurve GraphicsItem
Curve handles work
I don't particularly love that the inslope/outslope seem made up with no real limits. Maybe that's something we should fix before we ship it.
https://files.facepunch.com/garry/4aadaedc-4761-4350-add4-c13df39b491f.mp4
Can translate with middle mouse button
Added Paint.DrawConvex, Paint.DrawArrow
Paint.SetPen can define dashed/dotted lines
Add ModelEntity.CopyMaterialOverrides, ModelEntity.CopyFrom
Fixed some addon DLLs not getting watched
Introduced by bb5359a20
Property Sheet uses TypeLibrary
TypeLibrary will expose a type if it's nested in a class that is exposed
Add CategoryAttribute
Fix AddonConfig not exposed
Fix Binding system tick allowing reentrance
Add TypeDescription.GetProperty, GetMethod
Add [ShowIf], [HideIf] attributes for properties
List/Struct/ExpandGroup margin/padding
Soundfile resource (#252)
* SoundFile class to grab properties from HSound
* Add SoundFile.GetSamples
* Use PrecacheSound to get sound handle
* Getting samples has to be async
* Comments
* Bail out of getting samples if we failed to load the source
* Add CSfxTable refs for SoundFile, release them on loop end and exiting
* Rename ISound to VSound_t
Citizen mesh updates
- Significantly improved upper arm twist, armpit, and shoulder-neck deformations. Preview: https://files.facepunch.com/maxlebled/1b0811b1/citizen_v2_june22update_2.gif
- Reflected recent changes on LOD3; fixed symmetrical inconsistencies (tris count dropped a bit more as a result!)
- LOD2/3 culling prefabs don't cull the upper arm twist bones anymore, because the effect on deformation is too important
- Upper arm twist constraint weight lowered to 0.6
Balaclava LOD3 fix
Small fix to modeldoc and model for Balaclava's LODs.
Fix not generating SpecialDependencyFingerprint properly in CResourceCompilerSBData
Add Asset.CompileIfNeededAsync()
Make sure assets are compiled before trying to upload them
Quiet down asset recompile spam, don't try to compile trivialchildassets
Separate simulation inputs to prevent simulations stomping each other
Deglue navmesh
Remove cpp naming
Refactor path cost into path builder, simplify path creation, optimize path by default
Don't need to check our segment count, our iterator already does this
Multi-goal support
Allow multi-goal to actually work
Remove the need to hold onto engine pointers
Remove some options no one will ever use
Make multi-goal condition more clear
rebase fixups
Merge pull request #226 from Facepunch/deglue-nav
Deglue navmesh & add extra navigation stuff
Pass the client to OnClientActive (why would we not want to know which client it was?)
Network snd_event_point so that it can play on client spawn instead of playing again for everyone when a new client spawns
Moved light animation code to C#
Fix obsolete override usage in particle entity
Fix an animgraph related assert
Don't force frame rate when recording movie
Add labels to level layer on post processing editor
Don't exceed maximum view count on transform overflow
Don't write morphs if we failed to allocate memory
OnPaintOverride returns a bool, determines whether to run base paint or not
Fix org control not signalling change
Flush bind system automatically on signalvaluechange
Add addon publishing window
Citizen: updated LODs
- LOD1 was remade, with the recent changes as a base. It doesn't cut anything from the torso and legs anymore (which makes things potentially easier for clothing creation), and instead focuses solely on the hands and feet. 400 tris improvement from previous iteration!
- LOD3 had some odd triangulation on the head fixed.
New Outfit Piece! - Cardboard Chest Armour
https://files.facepunch.com/daniel/1b1011b1/Photoshop_7vUKmblEBH.jpg
New Cardboard Chest Armour - LODs to come ASAP and some small adjustments to skinning.
Move noise functions to Sandbox.System, change them to be between 0 and 1
Maybe fix blend2d preview messing up when reloading model
Merge branch 'master' into curves