Commit graph

101 commits

Author SHA1 Message Date
Gilles Roudière
fff953ac8b Move grid snapping to an independent button 2019-10-10 21:10:08 +02:00
Hugo Locurcio
95f6f81dc2
Display the current zoom percentage in the 2D editor
This makes it possible for the user to know precisely the current
zoom level. The zoom percentage can be clicked to reset it to 100%
(similar to Firefox).
2019-09-17 20:36:10 +02:00
Tomasz Chabora
05e5faa876 Add 2D ruler tool 2019-09-01 18:36:41 +02:00
Rémi Verschelde
1222df0ad0
Merge pull request #31585 from 2shady4u/removeguides
Added button/shortcut for removing all guides
2019-08-26 13:51:10 +02:00
shaderbeast
c6fb6a6a21 Added button/shortcut for removing all guides
Added undo/redo


Correctly added has_meta
2019-08-24 22:58:16 +02:00
Rémi Verschelde
2e5ba32b4b
Merge pull request #31545 from groud/add_smart_snapping_display
Displays smart snapping guides when snapped
2019-08-22 13:12:09 +02:00
Gilles Roudière
692a78db19 Displays smart snapping guides when snapped 2019-08-21 22:15:51 +02:00
Tomasz Chabora
9520d9706a Edit TileMap only with TOOL_SELECT 2019-08-21 20:56:15 +02:00
IAmActuallyCthulhu
82b9557803
Remove redundant author doc comments 2019-08-12 04:26:38 -05:00
Bojidar Marinov
68b5f101c7
Make it so that 2D viewport does not pan while editing tilemaps
Fixes #30875
2019-07-28 17:00:05 +03:00
Hugo Locurcio
0fb80d7b0f
Use resize cursors when hovering or dragging guides in the 2D editor
This also tweaks the casing in undo/redo action names for consistency.

This closes #30550.

Co-authored-by: Emmanuel Barroga <emmanuelbarroga@gmail.com>
2019-07-15 14:24:45 +02:00
qarmin
4e5310cc60 Some code changed with Clang-Tidy 2019-06-26 15:08:25 +02:00
Tomasz Chabora
f472f0491c Allow to change 2D pan hotkey 2019-06-05 22:44:52 +02:00
Gilles Roudiere
e875f05c3b Improve the anchors and margin workflow 2019-05-13 18:55:31 +02:00
Juan Linietsky
296c74072c Implement autokeying in Animation editor. 2019-04-15 00:49:03 -03:00
Tomasz Chabora
7abd0a3976 Allow panning while moving a node 2019-04-07 16:43:21 +02:00
Juan Linietsky
19a6a6286a Ability to make CanvasLayers have pseudo 3D depth. 2019-04-05 10:25:51 -03:00
Rémi Verschelde
b16c309f82 Update copyright statements to 2019
Happy new year to the wonderful Godot community!
2019-01-01 12:58:10 +01:00
groud
60f2e94c08 Fixes drag and drog of image files on scaled nodes 2018-11-16 16:55:28 +01:00
Ibrahn Sahir
ed337085cf Fixed various uninitialised member variables in editor plugins. 2018-11-11 17:32:47 +00:00
groud
0c2ebbe626 Add an overlay on editor to display error messages 2018-10-30 18:53:58 +01:00
groud
a05ef683a5 Allow the Container children selection but don't allow them to move 2018-10-30 14:56:55 +01:00
groud
ced6f43455 Fixes viewport scrollbars not updating with plugins 2018-10-18 14:06:57 +02:00
Simon Wenner
10718b0961 Fix some cppcheck errors
cppcheck: fix broken pre-processor statement
cppcheck: fix Uninitialized struct members in canvas editor plugin
cppcheck: fix uninitialized struct member: method_api.is_virtual
2018-10-04 18:16:04 +02:00
Rémi Verschelde
540db0a0e7
Merge pull request #22329 from DualMatrix/no_select
Made children of Containers not selectable.
2018-10-02 16:39:00 +02:00
groud
bad5ec61b1 Add both X and Y scale in the scale editor 2018-09-25 09:50:25 +02:00
DualMatrix
44e996fdc5 Made children of Containers not selectable.
Made children of Containers not selectable.
2018-09-23 22:26:05 +02:00
Juan Linietsky
d9e88bccbe
Merge pull request #22295 from groud/fix_2D_IK
Fixes 2D Inverse Kinematic
2018-09-20 17:55:37 -03:00
groud
de01b7941d Fixes 2D IK 2018-09-20 22:33:49 +02:00
DualMatrix
494354c835 Added ability to hide edit lock and groups in editor view
Added ability to hide edit lock and groups in editor view
2018-09-20 11:35:26 +02:00
groud
c3e66536cc Fixes polygon editor blocking other editor actions (move, scale...) 2018-09-19 14:26:04 +02:00
groud
2f316bc608 Add a scale mode to the 2D editor 2018-09-11 17:48:57 +02:00
groud
1d83f36a26 Fixes 2D nodes lock not working 2018-09-09 22:17:54 +02:00
groud
eb7f4ddcce Fixes bugs on the 2D editor scrollable area 2018-07-30 01:05:13 +02:00
groud
71cea6b515 Fixes a crash on draw_hover 2018-06-12 11:01:24 +02:00
Gilles Roudiere
0021df3da3 Bring back 2D bone selection 2018-05-15 15:18:46 +02:00
groud
7331ca6f63 Fixes some 2d bones display problems 2018-05-05 15:45:26 +02:00
Juan Linietsky
af9a6202eb Fix bone refresh logic, closes #18564 2018-05-04 18:11:28 -03:00
Juan Linietsky
bf561c4946 Made bone handling for actual Bone2D a special case. Make custom bones appear like a custom (less important) option now. 2018-05-04 16:46:32 -03:00
groud
845a898f37 Fixes locks and groups on 2d editor 2018-05-02 10:37:37 +02:00
groud
9c5a44aeee Fixes 2d editor panning not working 2018-04-23 19:34:03 +02:00
Gilles Roudiere
a724f34ef3 Displays node icon on hover 2018-04-03 23:56:37 +02:00
Gilles Roudiere
0251b08afa Display nodes without rect's position 2018-04-03 22:04:19 +02:00
Gilles Roudiere
72ed1e4244 Remove the selection rect for nodes that do not require it 2018-04-03 22:04:19 +02:00
Gilles Roudiere
6435894275 Fixes issues with selectable children and locks 2018-04-03 21:31:15 +02:00
Gilles Roudiere
038de54b1f Fixes scrollbars in Canvas Item Editor 2018-03-17 12:18:33 +01:00
Blazej Floch
934498d37a Add "Show Origin" and "Show Viewport" options to 2D Editor Viewport 2018-03-02 21:27:32 -05:00
Rémi Verschelde
b93d6a001b
Merge pull request #16566 from groud/gui_input_rework
2D Editor GUI input rework
2018-02-19 20:05:35 +01:00
Gilles Roudiere
8dad41e395 2D editor GUI input rework. Changes are:
- 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
2018-02-16 10:14:52 +01:00
George Marques
da69a06253
Add a function to remove controls from containers
Closes #5968
2018-02-13 19:35:10 -02:00