aboutsummaryrefslogtreecommitdiff
path: root/editor/plugins/abstract_polygon_2d_editor.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add missing copyright headers and fix formattingRémi Verschelde2018-01-051-0/+1
| | | | | | Using `misc/scripts/fix_headers.py` on all Godot files. Some missing header guards were added, and the header inclusion order was fixed in the Bullet module.
* Update copyright statements to 2018Rémi Verschelde2018-01-011-2/+2
| | | | Happy new year to the wonderful Godot community!
* Various fixes for 2d polygon editorBernhard Liebl2017-12-301-48/+62
| | | | | | | Fixes issues 15096, 15097 Fixes various other Line2D edit issues Fixes previous outline Fixes retina support
* Style: Apply new clang-format 5.0 style to all filesRémi Verschelde2017-12-071-10/+15
|
* Fixes Polygon2D wip mode closing when editing mode is changedBernhard Liebl2017-12-041-2/+5
|
* add "add point" and "select point" handles to polygon 2d editorBernhard Liebl2017-11-271-4/+3
|
* Universalize draw-over API for EditorPluginsPedro J. Estébanez2017-11-241-1/+1
| | | | | | | | | - 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.
* Fix drawing order of polygon 2d editor handlesBernhard Liebl2017-11-131-0/+8
|
* Use AbstractPolygon2DEditor for Line2DBernhard Liebl2017-11-041-33/+96
|
* adds alternative editing of nodes: you can select nodes, use del to delete ↵Bernhard Liebl2017-10-231-154/+271
| | | | nodes, and split edges by simply clicking into edge
* Fixes snapping and replaces the _draw_canvas by forward_canvas_drawGilles Roudiere2017-10-181-16/+5
|
* Refactoring of polygon editors to a common code baseBernhard Liebl2017-10-031-0/+619
includes rebase and manual application 67a706fc1b9721f3f06eef8be7312f175e2041ce and 4537977d6dd2a76580d9ab611a18634efab55c74