branchsbox/hammer-gizmoscancel

20 Commits over 61 Days - 0.01cph!

1 Year Ago
Fix Gizmo.Instance.Debug defaulting to true
1 Year Ago
Add selection info to context
1 Year Ago
Don't draw editor gizmos if "show game objects only"
1 Year Ago
Fix .sln not being created in -test mode (causing build to fail)
1 Year Ago
Cleanup
1 Year Ago
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
1 Year Ago
Add helpers
1 Year Ago
Create MapEntitySerializedObject MapEntity maintains a SerializedObject Add EditorContext
1 Year Ago
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
1 Year Ago
Fixed non c# entities giving error
1 Year Ago
Wrap map entity in a static EditorEntity class, expose if it's selected, transform, etc. usable within game code.
1 Year Ago
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
1 Year Ago
Managed gizmos suppress native Hammer manipulators.. doesn't work in some cases, probably need to do a different way
1 Year Ago
SerializedEntity: right now it's just an accessor for MapEntity keyvalues
1 Year Ago
ui_text shader works in Hammer now (why do we need ToolsVis mode for this?)
1 Year Ago
Move rest of HammerGizmos to Sandbox.Tools, call static DrawGizmo on entities
1 Year Ago
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
1 Year Ago
Iterate map entities, find their matching type and call static method DrawGizmo within a Gizmo.Scope
1 Year Ago
Hammer gizmos using the ISceneView now
1 Year Ago
Quick slap up of our gizmos in Hammer mapview sceneworlds https://files.facepunch.com/matt/1b1411b1/sbox-dev_buClDYa88x.png