aboutsummaryrefslogtreecommitdiff
path: root/editor/plugins/canvas_item_editor_plugin.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #11026 from hpvb/fix-assign-in-ifRémi Verschelde2017-09-121-6/+10
|\ | | | | Remove assignment and declarations in if statements
| * Remove assignment and declarations in if statementsHein-Pieter van Braam2017-09-081-7/+10
| | | | | | | | | | | | After discussing with @reduz and @akien-mga it was decided that we do not allow assignments or declarations in if statements. This PR removes the instances of this I could find by automated means.
* | Fix various assorted warningsHein-Pieter van Braam2017-09-081-2/+1
|/ | | | | Fix various warnings that don't have enough instances to merit individual commits. Also fixes a potential bug in audio_server.cpp.
* Restored auto snapping of controls to pixels, fixes #10847 and probably ↵Juan Linietsky2017-09-071-0/+3
| | | | several more issues. Made it optional in the project settings but defaults to true.
* Merge pull request #10907 from SaracenOne/spatial_edit_dragRémi Verschelde2017-09-041-17/+24
|\ | | | | Added support for drag and drop in spatial editor.
| * Added support for drag and drop in spatial editor.SaracenOne2017-09-031-17/+24
| |
* | 2DEditor: enhance viewport cursor shapePoommetee Ketson2017-09-041-0/+46
| |
* | Fix use of unitialized variablesHein-Pieter van Braam2017-09-021-11/+11
| | | | | | | | The second in my quest to make Godot 3.x compile with -Werror on GCC7
* | Fix signed and unsigned comparisonsHein-Pieter van Braam2017-09-011-1/+1
| | | | | | | | The first in my quest to make Godot 3.x compile with -Werror on GCC7
* | added icon updating to most ui elementstoger52017-08-301-1/+42
|/
* Dead code tells no talesRémi Verschelde2017-08-271-200/+0
|
* Use HTTPS URL for Godot's website in the headersRémi Verschelde2017-08-271-1/+1
|
* Merge pull request #10591 from Rubonnek/possible-null-ptr-dereferenceRémi Verschelde2017-08-271-1/+1
|\ | | | | Added/Fixed null pointer checks
| * Added/Fixed null pointer checksWilson E. Alvarez2017-08-261-1/+1
| |
* | Merge pull request #10625 from Rubonnek/fixed-leaksRémi Verschelde2017-08-271-0/+4
|\ \ | |/ |/| Fixed several memory leaks
| * Fixed several memory leaksWilson E. Alvarez2017-08-251-0/+4
| |
* | Convert Object::cast_to() to the static versionHein-Pieter van Braam2017-08-241-132/+120
|/ | | | | | | | | | | | Currently we rely on some undefined behavior when Object->cast_to() gets called with a Null pointer. This used to work fine with GCC < 6 but newer versions of GCC remove all codepaths in which the this pointer is Null. However, the non-static cast_to() was supposed to be null safe. This patch makes cast_to() Null safe and removes the now redundant Null checks where they existed. It is explained in this article: https://www.viva64.com/en/b/0226/
* Merge pull request #10319 from neikeq/pr-engine-editor-hintJuan Linietsky2017-08-201-1/+1
|\ | | | | Adds Engine::is_editor_hint() method
| * Removes editor_hint from SceneTreeIgnacio Etcheverry2017-08-191-1/+1
| |
* | Merge pull request #10300 from H4kor/anchorRémi Verschelde2017-08-161-7/+4
|\ \ | | | | | | Show Anchor even when Control-Node is hidden
| * | Showing anchor icon in editor if control-node is hidden (fixes #9542)Niko Abeler2017-08-131-7/+4
| |/
* | Merge pull request #10307 from Rubonnek/update-argument-namesRémi Verschelde2017-08-161-2/+2
|\ \ | | | | | | Updated function argument names
| * | Updated function argument namesWilson E. Alvarez2017-08-121-2/+2
| |/
* | Changed anchor constants to enum, removed ANCHOR_CENTER, fixes #9889Juan Linietsky2017-08-151-1/+1
| |
* | Avoids inverted anchorsGilles Roudiere2017-08-131-8/+8
| | | | | | | | | | Add a push_opposite_anchor argument pushing the opposite anchor if needed
* | Adds a function to set Anchors with a layout presetGilles Roudiere2017-08-131-26/+19
| |
* | Added the possibility to move all anchors at once when they are clusteredGilles Roudiere2017-08-131-1/+13
| |
* | Make anchors snap to each otherGilles Roudiere2017-08-131-25/+30
| |
* | Displays percentages when dragging anchorsGilles Roudiere2017-08-131-3/+46
| |
* | Simplifies the canvas editor codeGilles Roudiere2017-08-131-50/+36
| |
* | Add lines to make understandable when anchors are snappedGilles Roudiere2017-08-131-22/+85
| |
* | Snap anchors when dragged, depending on the zoom levelGilles Roudiere2017-08-131-1/+21
| |
* | Make anchors draggableGilles Roudiere2017-08-131-9/+92
| |
* | Add anchor visualizationGilles Roudiere2017-08-131-38/+72
| |
* | Replace GUI anchor type by a float between 0 and 1Gilles Roudiere2017-08-131-2/+2
|/
* Improved add texture as node dialogDaniel J. Ramirez2017-08-101-13/+15
|
* Clean up canvas item when changing state, closes #5977Juan Linietsky2017-08-081-0/+2
|
* Attempt to resolve #4673Juan Linietsky2017-08-081-1/+6
|
* Makes all Godot API's methods Lower CaseIndah Sylvia2017-08-071-3/+3
|
* Change the grid offset when the snap is set as relativeGilles Roudiere2017-07-251-6/+15
|
* Make uniform resize possible with side (top, left, right, bottom)Gilles Roudiere2017-07-201-26/+30
| | | | handles.
* Replaced the hard-to-understand _select by _select_click_on_empty_area and ↵Gilles Roudiere2017-07-201-112/+65
| | | | | | | _select_click_on_item. Added some comments Removed commented code or useless ones
* Generalized _find_canvas_items_at_pos to remove _select_canvas_items_at_posGilles Roudiere2017-07-201-68/+16
| | | | | Removed some useless parameters Removed old comments
* -Renamed GlobalConfig to ProjectSettings, makes more sense.Juan Linietsky2017-07-191-4/+4
| | | | -Added system for feature overrides, it's pretty cool :)
* Fixed button flat behavior when not in normal state.Daniel J. Ramirez2017-07-181-0/+4
| | | | Also changed some buttons to flat mode
* -Reorganized all properties of project settings (Sorry, Again).Juan Linietsky2017-07-171-2/+2
| | | | | (Lot's of bloat accumulated, so it was time for clean up.) -Made EditorSettings and ProjectSettings search more useful (search in sections too)
* Merge pull request #9577 from MarianoGnu/masterRémi Verschelde2017-07-171-25/+33
|\ | | | | Add anchor shortcut to fit parent
| * Add anchor shortcut to fit parentMariano Suligoy2017-07-141-25/+33
| | | | | | | | Also remove old Edit -> Expand to Parent menu option
* | focus box size fix for new themetoger52017-07-161-5/+0
|/
* Fix wrong cast to Node2D instead of ControlRémi Verschelde2017-07-081-1/+1
| | | | As reported by @sanikoyes.