branchsbox/hammer-gizmoscancel
20 Commits over 61 Days - 0.01cph!
Fix Gizmo.Instance.Debug defaulting to true
Add selection info to context
Don't draw editor gizmos if "show game objects only"
Fix .sln not being created in -test mode (causing build to fail)
Store managed gizmo hover state in MapView
Show finger cursor if hovered over a managed gizmo
Don't perform default mouse actions (selection etc) if hovered
https://files.facepunch.com/garry/30296ea6-8cd5-4d60-9f7b-e3c4f8c39a00.mp4
Create MapEntitySerializedObject
MapEntity maintains a SerializedObject
Add EditorContext
Hammer gizmos using the ISceneView now
Iterate map entities, find their matching type and call static method DrawGizmo within a Gizmo.Scope
Move Hammer Gizmo instance to be owned by MapView
Move rest of HammerGizmos to Sandbox.Tools, call static DrawGizmo on entities
ui_text shader works in Hammer now (why do we need ToolsVis mode for this?)
SerializedEntity: right now it's just an accessor for MapEntity keyvalues
Managed gizmos suppress native Hammer manipulators.. doesn't work in some cases, probably need to do a different way
Hammer: managed traces add their trace info within list of native Hammer traces, can order themselves alongside native traces so we don't cock block others
Wrap map entity in a static EditorEntity class, expose if it's selected, transform, etc. usable within game code.
Fixed non c# entities giving error
Fixed non c# entities giving error
Wrap map entity in a static EditorEntity class, expose if it's selected, transform, etc. usable within game code.
Hammer: managed traces add their trace info within list of native Hammer traces, can order themselves alongside native traces so we don't cock block others
Managed gizmos suppress native Hammer manipulators.. doesn't work in some cases, probably need to do a different way
SerializedEntity: right now it's just an accessor for MapEntity keyvalues
ui_text shader works in Hammer now (why do we need ToolsVis mode for this?)
Move rest of HammerGizmos to Sandbox.Tools, call static DrawGizmo on entities
Hammer gizmos using the ISceneView now
Iterate map entities, find their matching type and call static method DrawGizmo within a Gizmo.Scope
Move Hammer Gizmo instance to be owned by MapView
Iterate map entities, find their matching type and call static method DrawGizmo within a Gizmo.Scope
Hammer gizmos using the ISceneView now
Quick slap up of our gizmos in Hammer mapview sceneworlds
https://files.facepunch.com/matt/1b1411b1/sbox-dev_buClDYa88x.png