Commit graph

2255 commits

Author SHA1 Message Date
groud 7331ca6f63 Fixes some 2d bones display problems 2018-05-05 15:45:26 +02:00
groud 3962862ea3 Fixes several selection problems in the 2D editor 2018-05-05 11:50:23 +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
Juan Linietsky e68cbec1fa Make bones have more contrast with outline 2018-05-04 11:54:21 -03:00
Juan Linietsky 3bd0ca2a2d Skeletal deform working 2018-05-04 11:54:21 -03:00
Rémi Verschelde 6405dcb7db
Merge pull request #18595 from AlexHoratio/script_pos_columns
Script Editor now displays positional column
2018-05-04 09:58:35 +02:00
Rémi Verschelde d6ddfdf004
Merge pull request #18601 from YeldhamDev/string_changes
Small changes for some strings
2018-05-04 08:16:54 +02:00
Michael Alexsander Silva Dias 5b0ddb1354 Small changes for some strings. 2018-05-03 18:07:18 -03:00
Juan Linietsky b3e4bc562c Skeleton for 2D WIP 2018-05-03 17:29:56 -03:00
Rémi Verschelde e9c1957a3e
Merge pull request #16358 from JFonS/particlesgizmo_box_fix
ParticlesGizmo solid box now follows actual visibility_aabb position.
2018-05-03 21:47:00 +02:00
Rémi Verschelde 460e551ddf
Merge pull request #16418 from bojidar-bg/15961-gdscript-array-export
Allow exporting arrays of resources in GDScript
2018-05-03 21:19:15 +02:00
Unknown 4e26e5e268 Script Editor now displays positional column
This solves #17931 and makes the script editor consistent with other text editors(Sublime, Gedit, Vim) in displaying the position rather than the raw number of characters.
2018-05-03 18:03:20 +01:00
Robin Hübner b16eaf5827 Remove unused duplicate wireframe shortcut, fixes #18067
It also happens to do nothing currently.
2018-05-03 16:22:30 +02:00
Rémi Verschelde 2e474f42b8
Merge pull request #18552 from Falke117/trailingSpace
Folder name with trailing space fix
2018-05-03 11:31:14 +02:00
Rémi Verschelde f3640621ad i18n: Sync translation templates with current source
(cherry picked from commit 056348a8c0)

Note: Still syncing with the 3.0 code for now to allow updating translations
in the 3.0 branch. We'll eventually switch Weblate to use the strings of the
3.1-dev branch once it is stable enough.
2018-05-03 11:27:01 +02:00
Rémi Verschelde 9bf0acbfcb i18n: Sync translations with Weblate
(cherry picked from commit ddbe559c04)
2018-05-03 11:26:49 +02:00
Felix Yang 164dceab28 Fix for Issue#18457 - Folder name with trailing space on Windows 2018-05-03 10:19:43 +02:00
Rémi Verschelde 741637b966
Merge pull request #18451 from volzhs/node-name
Check invalid node name
2018-05-02 22:21:31 +02:00
volzhs 6758b6c131 Check invalid node name 2018-05-03 00:00:06 +09:00
Juan Linietsky 4c3c510a80 WIP Polygon2D weight editing 2018-05-02 11:01:12 -03:00
Rémi Verschelde a04323e89a
Merge pull request #18400 from groud/fix_lock_and_groups
Fixes locks and groups on 2d editor
2018-05-02 11:59:10 +02:00
Rémi Verschelde de4ed8e706
Merge pull request #17059 from Jason0214/BugFix_favorite_updating
Editor:   update favorite dirs when dir got deleted
2018-05-02 10:53:31 +02:00
Rémi Verschelde 18c28c159d
Merge pull request #17196 from RandomShaper/improve-gui-touch
Implement universal translation of touch to mouse (3.1)
2018-05-02 10:47:49 +02:00
Rémi Verschelde 04a4270a34
Merge pull request #18338 from Zylann/fix_find_in_files
Fix Find in Files
2018-05-02 10:42:26 +02:00
groud 845a898f37 Fixes locks and groups on 2d editor 2018-05-02 10:37:37 +02:00
Rémi Verschelde 02a51c34ea
Merge pull request #18259 from Superwaitsum/MoveIcons
Changed Sprite Frame buttons for icons
2018-05-02 10:08:57 +02:00
Jason0214 b11d1196c4 remove favorited dirs if original dir deleted 2018-05-02 08:57:56 +08:00
Marc Gilleron 4c415001b2 Fix Find in Files:
- FileAccess was accessed null (remains of GDScript port)
- `_current_file` wasn't going up correctly in case a scanned directory had no subdirectories
- Paths stored in `_files_to_scan` were not full paths
2018-05-01 22:07:16 +02:00
Rémi Verschelde 1113a738ba
Merge pull request #18508 from AlexHolly/hide-tab-changed-debug-print
hide tab changed debug print
2018-05-01 19:19:12 +02:00
Rémi Verschelde de97339a2d
Merge pull request #18291 from akien-mga/coverity-uninitialized-scalar-var
Fix Coverity reports of uninitialized scalar variable
2018-05-01 19:14:07 +02:00
Rémi Verschelde c9abe88110
Merge pull request #16502 from Paulb23/multi_group_editor
Added multi group editor dialog, issue 13997
2018-05-01 18:18:05 +02:00
Pieter-Jan Briers 20dd2204db Adds z-index properties to TileSets. 2018-05-01 17:24:57 +02:00
Rémi Verschelde 007d1754e3 Revert "Added a more specific error message on export"
This reverts commit 00c689d625.

Reason: "Missing template" is just one possible explanation for
`err` being != OK here, it does not make sense to hardcode it in
the generic error message (and break translations doing so).
2018-05-01 13:07:11 +02:00
Rémi Verschelde 8dd2b2e6f5
Merge pull request #18434 from YeldhamDev/animation_autoplay_fix
Fixed deleting an animation marked to autoplay in the editor affecting the creation of one with the same name
2018-05-01 11:47:37 +02:00
Rémi Verschelde e1ef2f538f
Merge pull request #18380 from groud/fix_spacebar_panning
Fixes 2d editor panning not working
2018-05-01 08:56:13 +02:00
Rémi Verschelde 4cce6f3417
Merge pull request #18321 from Crazy-P/Fixes-logically-dead-code
Fixes logically dead code (Coverity)
2018-05-01 08:35:10 +02:00
Superwaitsum 7d689dff71 Changed Sprite Frame move buttons for icons 2018-04-30 16:05:21 -05:00
Pedro J. Estébanez de9d40a953 Implement universal translation of touch to mouse
Now generating mouse events from touch is optional (on by default) and it's performed by `InputDefault` instead of having each OS abstraction doing it. (*)

The translation algorithm waits for a touch index to be pressed and tracks it translating its events to mouse events until it is raised, while ignoring other pointers.

Furthermore, to avoid an stuck "touch mouse", since not all platforms may report touches raised when the window is unfocused, it checks if touches are still down by the time it's focused again and if so it resets the state of the emulated mouse.

*: In the case of Windows, since it already provides touch-to-mouse translation by itself, "echo" mouse events are filtered out to have it working like the rest.

On X11 a little hack has been needed to avoid a case of a spurious mouse motion event that is generated during touch interaction.

Plus: Improve/fix tracking of current mouse position.

** Summary of changes to settings: **

- `display/window/handheld/emulate_touchscreen` becomes `input/pointing_devices/emulate_touch_from_mouse`
- New setting: `input/pointing_devices/emulate_mouse_from_touch`
2018-04-30 19:03:38 +02:00
Max Hilbrunner 196fc8599a
Merge pull request #18373 from KidRigger/working
Replaces CTRL with CMD in TileMapEditor for MacOS.
2018-04-30 19:00:41 +02:00
Max Hilbrunner f274c8b74b
Merge pull request #18381 from groud/fix_hard_to_select_node2d
Fixes hard to select Node2D
2018-04-30 18:58:27 +02:00
Alexander Holland 31f28885f9 hide tab changed debug print 2018-04-30 18:41:11 +02:00
Max Hilbrunner f1bbb59653
Merge pull request #18489 from Calinou/tweak-property-hint-ranges
Tweak the property hint ranges of caret blink and line length guideline
2018-04-30 18:19:09 +02:00
Max Hilbrunner c408eb7520
Merge pull request #18506 from AlexHolly/export-more-specific-error-message
Added a more specific error message on export
2018-04-30 18:14:35 +02:00
Max Hilbrunner a07f81fc2f
Merge pull request #18515 from djrm/pr_icons
Updated icons, add CSG icons
2018-04-30 18:10:31 +02:00
Juan Linietsky 6244b9e2e1 Add option to renormalize mipmaps when generating them for normalmaps.
Reduces some aliasing.
2018-04-29 21:52:21 -03:00
Daniel J. Ramirez f11649987d Updated icons,
Added CSG icons and other action icons
[ci-skip]
2018-04-29 14:14:46 -05:00
Hein-Pieter van Braam 3bd3f41465
Merge pull request #18455 from neikeq/export-pck-zip-debug
Make 'Export PCK/ZIP' work well with EditorExportPlugin
2018-04-29 18:29:32 +02:00
Alexander Holland 00c689d625 Added a more specific error message on export 2018-04-29 15:26:33 +02:00
Hein-Pieter van Braam 91dfccd1ee
Merge pull request #18425 from RandomShaper/fix-theme-editor-samples
Fix theme editor sample widgets
2018-04-28 22:19:13 +02:00