aboutsummaryrefslogtreecommitdiff
path: root/editor/plugins/canvas_item_editor_plugin.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fixes a crash on draw_hovergroud2018-06-121-36/+48
|
* Entirely new (and much improved) animation editor.Juan Linietsky2018-06-071-13/+12
|
* Minor changes to the Scene and Canvas editors' tooltips.Michael Alexsander Silva Dias2018-05-291-2/+2
|
* Don't draw bones if it's not visiblevolzhs2018-05-251-0/+3
|
* Bring back 2D bone selectionGilles Roudiere2018-05-151-38/+90
|
* Fixes hovered Nodes2D display in the editor (remove duplicates)Gilles Roudiere2018-05-151-1/+10
|
* Fixes some 2d bones display problemsgroud2018-05-051-27/+19
|
* Fixes several selection problems in the 2D editorgroud2018-05-051-32/+28
|
* Fix bone refresh logic, closes #18564Juan Linietsky2018-05-041-20/+63
|
* Made bone handling for actual Bone2D a special case. Make custom bones ↵Juan Linietsky2018-05-041-33/+89
| | | | appear like a custom (less important) option now.
* Make bones have more contrast with outlineJuan Linietsky2018-05-041-6/+30
|
* Fixes locks and groups on 2d editorgroud2018-05-021-48/+56
|
* Merge pull request #18291 from akien-mga/coverity-uninitialized-scalar-varRémi Verschelde2018-05-011-1/+1
|\ | | | | Fix Coverity reports of uninitialized scalar variable
| * Fix Coverity reports of uninitialized scalar variableRémi Verschelde2018-04-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | Fixes most current reports on Coverity Scan of uninitialized scalar variable (CWE-457): https://cwe.mitre.org/data/definitions/457.html These happen most of the time (in our code) when instanciating structs without a constructor (or with an incomplete one), and later returning the instance. This is sometimes intended though, as some parameters are only used in some situations and should not be double-initialized for performance reasons (e.g. `constant` in ShaderLanguage::Token).
* | Merge pull request #18380 from groud/fix_spacebar_panningRémi Verschelde2018-05-011-39/+66
|\ \ | | | | | | Fixes 2d editor panning not working
| * | Fixes 2d editor panning not workinggroud2018-04-231-39/+66
| |/
* | Merge pull request #18381 from groud/fix_hard_to_select_node2dMax Hilbrunner2018-04-301-1/+1
|\ \ | | | | | | Fixes hard to select Node2D
| * | Fixes hard to select Node2Dgroud2018-04-231-1/+1
| |/
* / Adds shortcuts for zooming in the 2D editorGilles Roudiere2018-04-261-2/+5
|/
* Merge pull request #17502 from groud/2Deditor_rectJuan Linietsky2018-04-131-215/+423
|\ | | | | Remove the rect surrounding 2D nodes in 2D editor when it's not pertinent
| * Displays node icon on hoverGilles Roudiere2018-04-031-8/+79
| |
| * Display nodes without rect's positionGilles Roudiere2018-04-031-3/+53
| |
| * Remove the selection rect for nodes that do not require itGilles Roudiere2018-04-031-188/+262
| |
| * Fixes issues with selectable children and locksGilles Roudiere2018-04-031-26/+39
| |
* | Merge pull request #17809 from RandomShaper/menu-item-on-releaseJuan Linietsky2018-04-071-2/+0
|\ \ | |/ |/| Improve popup menus usability
| * Improve popup menus usabilityPedro J. Estébanez2018-04-071-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | It seems that popups were intended to "grab" the mouse click that triggered them, but their intent was being lost. This commit does the necessary changes to let it happen and updates items that were trying to get advantage of it, because the semantics of `Control::grab_click_focus()` have changed a bit. Namely, it must be called **before** showing the modal. This allows to popup a menu and activate an item in it in a single click-point-release cycle, instead of having to click once to open the menu and once more to pick an item. This ability is extended even to context menus activated with the RMB (or any other mouse button, for that matter). The editor benefits from this in the context menu of the tree dock, which has been patched to opt-in for this feature. This improves UX a bit by saving unnecessary clicks. From now on, `PopupMenu` always grabs the click and also invalidates the first button release unless the mouse has moved (that's what `set_invalidate_click_until_motion()` was doing and now it's removed), so there is no longer the need of doing both things at every point a pop-up menu is shown.
* | Merge pull request #17785 from Rubonnek/simplify-canvas-item-logicGilles Roudiere2018-03-281-12/+12
|\ \ | | | | | | Simplify CanvasItemEditor anchor drag logic
| * | Simplify CanvasItemEditor anchor drag logicWilson E. Alvarez2018-03-261-12/+12
| |/
* / Enable snapping in 2D when control key pressedChaosus2018-03-281-9/+11
|/
* Fixes scrollbars in Canvas Item EditorGilles Roudiere2018-03-171-66/+78
|
* Merge pull request #17172 from StateOff/add_show_axis_optionsRémi Verschelde2018-03-131-15/+53
|\ | | | | Add "Show Origin" and "Show Viewport" options to 2D Editor Viewport
| * Add "Show Origin" and "Show Viewport" options to 2D Editor ViewportBlazej Floch2018-03-021-15/+53
| |
* | FIX to broken item select list (zoom and RMB)Ranoller2018-03-071-2/+2
| | | | | | FIX to #17346. Compiled and tested.
* | In CanvasItemEditor, prioritize selected itemsBernhard Liebl2018-03-051-1/+16
|/
* Fix typos with codespellluz.paz2018-02-211-3/+3
| | | | | | | | | | | | | | Found via `codespell -q 3 --skip="./thirdparty,./editor/translations" -I ../godot-word-whitelist.txt` Whitelist consists of: ``` ang doubleclick lod nd que te unselect ```
* Merge pull request #16566 from groud/gui_input_reworkRémi Verschelde2018-02-191-1767/+1471
|\ | | | | 2D Editor GUI input rework
| * 2D editor GUI input rework. Changes are:Gilles Roudiere2018-02-161-1767/+1471
| | | | | | | | | | | | | | | | | | | | - The input handling is done into several distinct functions, and the code is more consistent. - The actions' history is more precise ("Edited CanvasItem" is now "Rotated CanvasItem","Moved CanvasItem",etc...) - Fixed a little bug about input key events not forwarded correctly to plugins - IK is followed by default when you move a bone node, the alt-key allow you to move it normally
* | Add a function to remove controls from containersGeorge Marques2018-02-131-0/+5
| | | | | | | | Closes #5968
* | Capitalized "View" menu options.Michael Alexsander Silva Dias2018-02-021-3/+3
|/
* Rotate Control node with respecting pivot offsetvolzhs2018-01-241-2/+2
|
* Fix typos in code and docs with codespellRémi Verschelde2018-01-181-2/+2
| | | | Using v1.11.0 from https://github.com/lucasdemarchi/codespell
* Changes the keep_margin parameter to true by default, so that people are not ↵Gilles Roudiere2018-01-151-12/+12
| | | | suprised that set_anchor changes the margins values
* - Fixes #15470 "Crash on drag and drop scene file on empty scene"Blazej Floch2018-01-091-39/+69
| | | | | | | | | | - New: Allows for multiple files to be dragged over - Added error when multiple nodes are dropped in scene **without** scene root - Removed TTR: "This operation requires a single selected node.", "I see.." - Introduces TTR: "Can not instaniate multiple nodes without root." - Fixes "Can't add_child, already got a parent" error - Reduced multiple resource loading by casting - Make sure to not _show_resource_type_selector if only PackedScenes are being dropped
* Fix crash due to stale refs to node selection listsBernhard Liebl2018-01-071-18/+18
|
* 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.
* Fix get_edited_scene_root error at starting editorvolzhs2018-01-051-1/+2
| | | | Fix #15300
* Merge pull request #15191 from Jerome67000/z_renamingRémi Verschelde2018-01-041-1/+1
|\ | | | | renames "z" Node2D property to "z_index"
| * #15078 renamed "z" -> "z_index" property in Node2DJerome670002018-01-031-1/+1
| |
* | Merge pull request #15225 from volzhs/lock-group-invisible-nodeRémi Verschelde2018-01-031-4/+4
|\ \ | | | | | | Fix lock or group with invisible node
| * | Fix lock or group with invisible nodevolzhs2018-01-011-4/+4
| |/ | | | | | | Fix #15205