summaryrefslogtreecommitdiff
path: root/servers/SCsub
diff options
context:
space:
mode:
authorPedro J. Estébanez <pedrojrulez@gmail.com>2017-10-29 20:32:09 +0100
committerPedro J. Estébanez <pedrojrulez@gmail.com>2017-11-24 21:24:15 +0100
commit3f31925b180dd0bfd2601c20d7200b9b152b12ef (patch)
tree831e4c714d45d7b6d789421b4ba99acd395130bc /servers/SCsub
parent2e5dfbdb4beb52d021e89058ab64eac1a95d77b2 (diff)
Universalize draw-over API for EditorPlugins
- Now it is usable from both `CanvasItem` and `Spatial` editors. - `EditorPlugin` API changes: - `forward_draw_over_canvas()` becomes `forward_draw_over_viewport()`. - `update_canvas()` becomes `update_overlays()`, which now triggers the update of every overlay on top of any 2D or 3D viewports present. Also now it returns the number of such viewports, which is useful whenever you need to know the number of draw-over calls you'll get. - New: `[set/is]_force_draw_over_forwarding_enabled()` to force overlaying regardless it handles the current object type, in a similar fashion as `[set/is]_input_event_forwarding_always_enabled`. This kind of overlay is also on top of those for regular handled node types. - New: `forward_force_draw_over_canvas()`, which is the callback that gets called for plugins that enable forced overlaying.
Diffstat (limited to 'servers/SCsub')
0 files changed, 0 insertions, 0 deletions