Commit graph

4331 commits

Author SHA1 Message Date
Rémi Verschelde
25d2ee677f
Merge pull request #29152 from nekomatata/fix-node-rename-tool-script
Fixed scene tree update after changing node name in tool script
2019-05-24 22:41:37 +02:00
Michael Alexsander Silva Dias
d29d856933 Place the spatial editor's top left buttons in a container 2019-05-24 16:21:07 -03:00
Rémi Verschelde
11f20c43d7
Merge pull request #28907 from dankan1890/contextual_help
ScriptEditor: Changed the shortcut for contextual help in ALT + F1
2019-05-24 19:55:42 +02:00
Rémi Verschelde
147ff2095d
Merge pull request #29112 from hbina/fix_auto_ordering
Fixed scripts list ordering despite being disabled
2019-05-24 17:45:33 +02:00
Rémi Verschelde
521aad3dca
Merge pull request #28467 from kpkhxlgy0/fix-exfat
fix file system not refresh on exFAT
2019-05-24 16:34:41 +02:00
Rémi Verschelde
2bf28f58ac
Merge pull request #28702 from Lisapple/fs-show-path-tooltip
Show file path in FileSystem dock tooltip
2019-05-24 16:22:45 +02:00
PouleyKetchoupp
3f174c86d0 Fixed scene tree update after changing node name in tool script 2019-05-24 15:27:22 +02:00
Rémi Verschelde
04ee4f45e5
Merge pull request #24771 from timoschwarzer/animation-player-editor-pos-drag-fix
Fix AnimationPlayer editor length and step synchronization
2019-05-24 15:21:47 +02:00
hbina085
e1816ee0cb fixed problem where the script lists gets ordered even when ordering is disabled 2019-05-24 07:32:27 -04:00
bruvzg
2b9ed68d6a
Add native window/taskbar icon support for Windows and macOS.
Co-authored-by: Markus Törnqvist <mjt@nysv.org>
2019-05-24 14:23:57 +03:00
XiaoLongHan
9d309096c9 fix file system not refresh on exFAT 2019-05-24 12:49:37 +02:00
Rémi Verschelde
71d46fffcf
Merge pull request #29066 from akien-mga/i18n-skip-unsupported-locales
i18n: Skip unsupported locales for editor translations
2019-05-24 12:06:11 +02:00
Matthias Schmitt
6b7c8ef327 Auto-expand current node type when replace node 2019-05-24 00:13:41 +02:00
WiggleWizard
aebca30c43 Fixed virtual method not showing up in autocomplete and docs 2019-05-23 22:31:02 +01:00
AMS21
fe62b69419 Fixed naming issue when duplicating an export 2019-05-23 14:45:17 +02:00
Rémi Verschelde
c088386c5b
Merge pull request #29109 from RandomShaper/fix_onion_skinning
Fix onion skinning
2019-05-23 07:58:27 +02:00
Pedro J. Estébanez
88153fbb61 Fix 2D bones ignored by onion skinning
Fixes #27819.
2019-05-22 20:40:57 +02:00
Rémi Verschelde
fa5cc1da7a
Merge pull request #29003 from Xrayez/clipper-6.4.2-exceptions-fix
Build Clipper with `tools=no` and patch it to auto-disable exceptions
2019-05-22 15:58:24 +02:00
Rémi Verschelde
02bc82f9be
Merge pull request #29022 from mrcdk/preview_generator_fixes
Add some extra functions to EditorResourcePreviewGenerator
2019-05-22 12:16:32 +02:00
Andrii Doroshenko (Xrayez)
9bf48db891 Build Clipper with tools=no and patch it to auto-disable exceptions
Reverts "Build polygon clipper only in tools builds" (see #17319)
which allows to build Clipper with tools disabled (release) and because
of that, Clipper has to be patched to optionally disable exceptions in
order to be built on some platforms.

Patched Clipper 6.4.2 to be compiled with exceptions enabled/disabled.
and ensure that Clipper-specific exception macros are defined: don't use
exceptions by default unless exception handling is detected.

Compilation with exceptions will be determined by various
C++ exceptions defines:

* ` __cpp_exceptions` is part of C++ feature testing macros (since C++98);
* `__EXCEPTIONS` is used by some GNU compilers;
* `_CPPUNWIND` is used by MSVC.

The user can override specific exceptions behavior via corresponding
`*_USER` macros (i.e. compiling for embedded systems).
2019-05-22 13:12:21 +03:00
Rémi Verschelde
bc17704fd7
Merge pull request #29085 from YeldhamDev/node2d_bones_undoredo
Add undo/redo to Node2D bone creation
2019-05-22 11:26:11 +02:00
Rémi Verschelde
41d3f4787e
Merge pull request #29074 from YeldhamDev/theme_editor_panel_fix
Fix bottom panel visibility behaviour in the theme editor
2019-05-22 10:45:25 +02:00
Chaosus
e70ea5d97b Makes the expression node to apply expression only when the focus leaves out 2019-05-22 07:46:47 +03:00
Michael Alexsander Silva Dias
c18e4f0f01 Add undo/redo to Node2D bone creation 2019-05-21 17:17:25 -03:00
Michael Alexsander Silva Dias
b5c8205312 Fix bottom panel visibility behaviour in the theme editor
Fixes #29034, fixes #29056
2019-05-21 13:16:06 -03:00
Chaosus
6f2abd68f2 Fix few bugs in expression node 2019-05-21 18:37:31 +03:00
Michael Alexsander Silva Dias
57a03f0f02 Restrict Autoloads from having keywords as their names 2019-05-21 11:56:26 -03:00
Rémi Verschelde
7d42ca8384
Merge pull request #28838 from Chaosus/vs_exp
Expression node for visual shaders
2019-05-21 16:32:02 +02:00
Rémi Verschelde
e3ead06c1d
Merge pull request #29062 from swarnimarun/theme-editor-improvements
Fix Theme Editor Preview
2019-05-21 15:10:14 +02:00
Rémi Verschelde
92f67ceef3 i18n: Skip unsupported locales for editor translations
Godot currently can't properly render scripts that require Right-To-Left
and font shaping support, so we skip those.
This is a temporary measure until these features are supported.

Fixes #28577.
2019-05-21 14:38:46 +02:00
Rémi Verschelde
1595dfb5db i18n: Sync translation template with current source
(cherry picked from commit bf7585530b)
2019-05-21 13:07:26 +02:00
Rémi Verschelde
e350c81673 i18n: Sync translations with Weblate
(cherry picked from commit 239a11fe19)
2019-05-21 13:07:20 +02:00
Chaosus
5648924eef Expression node for visual shaders 2019-05-21 12:11:41 +03:00
Swarnim Arun
7ec7dba766 Fix Theme Editor Preview 2019-05-21 14:38:46 +05:30
Rémi Verschelde
63e7d2db08
Merge pull request #28218 from KoBeWi/b00km4rk5
Add bookmarks for easier code navigation
2019-05-20 22:39:19 +02:00
Pedro J. Estébanez
3b17e6de33 Remove ghost of canvas zoom controls during onion skinning 2019-05-20 22:36:34 +02:00
Pedro J. Estébanez
4dd9efe757 Fix canvas zoom controls lazy position update
After hiding/showing rulers, zoom controls were kept at the wrong position until an update happened because of other reason.
2019-05-20 22:35:31 +02:00
Rémi Verschelde
fdea3d48b0
Merge pull request #26809 from KoBeWi/undo_set_text_like_a_boss
Allow to undo TextEdit.set_text
2019-05-20 22:00:39 +02:00
Rémi Verschelde
af731f8d0f
Merge pull request #29029 from Calinou/find-in-files-allow-empty-replace
Allow empty replacement texts in the Find in Files replace dialog
2019-05-20 18:16:14 +02:00
Rémi Verschelde
8498fcf831
Merge pull request #29015 from dfelinto/fix-ui-lowercase
Fix upper/lowercase in some UI strings
2019-05-20 17:56:56 +02:00
Rémi Verschelde
79cc95c6a7
Merge pull request #27559 from groud/anchor_mode
Improve the anchors and margin workflow
2019-05-20 17:44:56 +02:00
Hugo Locurcio
a411067829
Allow empty replacement texts in the Find in Files replace dialog
This closes #29026.
2019-05-20 14:43:42 +02:00
Rémi Verschelde
6920c82742 Style: Fix issues with clang-format 8.0 2019-05-20 13:51:51 +02:00
Rémi Verschelde
fead547ba5
Merge pull request #28972 from erammos/28943_script_editor_plugin
minor change in scriptEdtiorPlugin ref #28943
2019-05-20 11:22:47 +02:00
MrCdK
f8a9844d80 Renamed EditorResourcePreviewGenerator.should_generate_small_preview() to generate_small_preview_automatically()
Added can_generate_small_preview() so the generator uses generate() or generate_from_path() if it returns true
Added can_generate_small_preview() and generate_small_preview_automatically() to the scripting languages
2019-05-20 11:08:39 +02:00
Dalai Felinto
5b6e7935d1 Fix upper/lowercase in some UI strings
Note: I was tempted to also change "Align with View" since we use the word
"With" with uppercase in "Align Selection With View".

However I believe "With" should be lower case and the old stripg
(Align Selection ...) is the one to be fixed.
2019-05-19 18:08:11 -03:00
Rémi Verschelde
a940b4cf64
Merge pull request #28997 from akien-mga/codespell
Fix typos with codespell
2019-05-19 22:04:14 +02:00
Rémi Verschelde
e0574e1d98 Fix typos with codespell
Using codespell 1.15.0.

Method:
```
$ cat > ../godot-word-whitelist.txt << EOF
ang
curvelinear
doubleclick
leapyear
lod
merchantibility
nd
numer
ois
ony
que
seeked
synching
te
uint
unselect
webp
EOF

$ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po"
$ git diff // undo unwanted changes
```
2019-05-19 13:10:35 +02:00
Chaosus
719a9a9c1c Added Fresnel and OneMinus to visual shaders 2019-05-19 13:44:30 +03:00
George Marques
c121d8871d
Allow project export to be canceled 2019-05-18 15:33:57 -03:00
Max Hilbrunner
ac58abfd58
Merge pull request #28970 from KoBeWi/a_wild_bug_appeared
Fix saving scenes when multi-closing scene tabs
2019-05-18 16:46:31 +02:00
Hugo Locurcio
2713b44da7
Fix "Open Project Data Folder" in the editor
The handling code also had to be moved as this option was moved
to the Tools submenu.
2019-05-18 14:35:13 +02:00
Elias Rammos
20ebfefad1 minor change in scriptEdtiorPlugin ref #28943 2019-05-18 14:46:45 +03:00
Tomasz Chabora
27e17fa5de Fix saving scenes when multi-closing scene tabs 2019-05-17 23:47:02 +02:00
Max Hilbrunner
ee5ba3e097
Merge pull request #28366 from iwek7/feature/issue28355/showSpacesInEditor
Add feature to show spaces in code editor
2019-05-17 20:38:40 +02:00
Max Hilbrunner
580b0c651d
Merge pull request #28920 from hmumm/dragging-directory-adds-it-to-script
Directories can now be dragged into the script editor
2019-05-17 19:51:18 +02:00
Ibrahn Sahir
cbf2d3cdc4 Removed an unused and leaked CheckButton instance in theme editor plugin 2019-05-17 15:39:48 +01:00
Rémi Verschelde
b963bf8253
Merge pull request #28905 from hbina/issue_28585
Now able to "Copy Node Path" from the Remote tab. Fixes #28585.
2019-05-17 11:28:43 +02:00
Rémi Verschelde
4fe1f9353a
Merge pull request #28874 from YeldhamDev/toggle_onion_separate
Make "Onion Skinning" toggle its own button
2019-05-17 10:31:31 +02:00
hbina085
5f862ee186 Now able to "Copy Node Path" from Remote tab". Fixes issue 28585. 2019-05-17 00:49:37 -04:00
Max Hilbrunner
05cb337f2d
Merge pull request #28587 from Daw11/lanczos
Implement Lanczos image filter
2019-05-16 23:25:48 +02:00
Max Hilbrunner
2522a43256
Merge pull request #27097 from siddharth952/master
Adjusts the default color for search border
2019-05-16 23:17:53 +02:00
Tomasz Chabora
3bc0445e05 Allow to undo TextEdit.set_text 2019-05-16 23:05:17 +02:00
Hayden
c9b9ba26db Directories can now be dragged into the script editor 2019-05-16 10:44:05 -05:00
Michael Alexsander Silva Dias
be8dc97be7 Fix leftover connection to the "Open" signal in FileSystemDock
Fixes #28903.
2019-05-15 11:25:52 -03:00
dankan1890
81e48e2cf3 ScriptEditor: Changed the shortcut for contextual help in ALT + F1, to resolve the conflict with the help menu opening shortcut. 2019-05-15 14:27:24 +02:00
Rémi Verschelde
dc7a40f005
Merge pull request #28873 from YeldhamDev/undo_scriptbutton_update
Properly update script button when undoing a script addition
2019-05-15 09:50:38 +02:00
Ranoller
7a8e4f64b8 Fix tilemap displaced textures and shapes with origin point BOTTOM_LEFT and CENTER and other casuistry
This commit fix https://github.com/godotengine/godot/issues/22989 fixing displaced textures and not coincident shapes in tilemap. Fix too: https://github.com/godotengine/godot/issues/15249, https://github.com/godotengine/godot/issues/28206, https://github.com/godotengine/godot/issues/28610 and probably others
2019-05-15 04:14:27 +02:00
Max Hilbrunner
bdf79f4c6e
Merge pull request #27569 from Faless/net/ipv4_link_local
Exclude link-local IPv4s from editor host list.
2019-05-14 16:08:16 +02:00
Michael Alexsander Silva Dias
c66bcedb7a Make "Onion Skinning" toggle its own button 2019-05-14 00:42:05 -03:00
Michael Alexsander Silva Dias
587986f654 Properly update script button when undoing a script addition
Fixes #28870.
2019-05-13 22:58:41 -03:00
Hugo Locurcio
deb7152724
Quit the Project Manager when Command + Q is pressed
This uses the same shortcut as quitting Godot while in the editor.

This partially addresses #27251.
2019-05-13 22:17:16 +02:00
Gilles Roudiere
e875f05c3b Improve the anchors and margin workflow 2019-05-13 18:55:31 +02:00
Rémi Verschelde
8667e4abf7
Merge pull request #28750 from YeldhamDev/filedock_rmb_inherent
Make possible to create inherited scenes via the RMB menu in the FileSystem dock
2019-05-13 13:51:22 +02:00
Rémi Verschelde
3fa84efb03
Merge pull request #28831 from dankan1890/spriteframes_sheet_fix
AnimatedSprite: Add from spritesheets now work as expected. Fix #28030
2019-05-13 12:13:07 +02:00
dankan1890
abeb61f220 AnimatedSprite: Add from spritesheets now work as expected. Fix #28030 2019-05-12 02:33:05 +02:00
freestraws
537ee747be Apply sprite frames editor FPS value correctly upon _animation_select 2019-05-11 16:32:32 -04:00
Michael Alexsander Silva Dias
dcf27c71b7 Make possible to create inherited scenes via the RMB menu in the FileSystem dock 2019-05-11 05:13:29 -03:00
Rémi Verschelde
89c37dae49
Merge pull request #28807 from bojidar-bg/28798-open-filesystem
Open selected folder when pressing the "Open" option in the menu
2019-05-11 09:49:34 +02:00
Rémi Verschelde
58c5eb781e
Merge pull request #28742 from guilhermefelipecgs/fix_28737
[EditorSpatialGizmo] Fix error in intersect_ray
2019-05-11 09:45:08 +02:00
ahouts
c9abff4bae add hotkeys to tileset editor 2019-05-10 18:08:56 -07:00
Bojidar Marinov
fedf9cd379
Open selected folder when pressing the "Open" option in the menu
An attempt to fix #28798
2019-05-10 18:55:50 +03:00
Guilherme Felipe
70ead9455f [EditorSpatialGizmo] Fix error in intersect_ray 2019-05-08 16:51:23 -03:00
volzhs
920403c489 Scroll back to top when changing directory in FileSystem dock
Fix #26041
2019-05-09 04:00:40 +09:00
Lisapple
182a04b1da Replacing filename with path in tooltip into FileSystem dock 2019-05-08 17:15:21 +02:00
Rémi Verschelde
b96cd577c3
Merge pull request #28009 from kbake/output-context-menu-27543
Adds Copy button to output panel
2019-05-08 15:52:49 +02:00
Michael Alexsander Silva Dias
19b8c51e1d Change empty scene closing on new inherented scene to a better approach 2019-05-08 04:47:39 -03:00
Michael Alexsander Silva Dias
699140000c Revert "Merge pull request #28715 from YeldhamDev/inherent_scene_close_empty"
This reverts commit 0f8356d439, reversing
changes made to 7b7a664a97.
2019-05-08 00:46:40 -03:00
Timo Schwarzer
ca80ebe9f6
Fix AnimationPlayer editor length and step synchronization 2019-05-06 21:39:24 +02:00
Rémi Verschelde
7013607ef9
Merge pull request #28365 from fire/split_clip_blend_shapes
Modify ResourceImporterScene to split animations with blendshapes.
2019-05-06 16:58:29 +02:00
Michael Alexsander Silva Dias
648cc7c0f5 Make editor close empty scene when creating an inherited one
Fixes #28654.
2019-05-06 02:01:01 -03:00
Tomasz Chabora
0bfcf8bc2f Add bookmarks for easier code navigation 2019-05-05 18:57:53 +02:00
Daw11
28bff3d1ad Implement Lanczos image filter 2019-05-05 14:03:56 +02:00
Rémi Verschelde
84401e8cdf
Merge pull request #28629 from YeldhamDev/findfiles_always_available
Make "Find in Files" always available in the script editor
2019-05-03 23:00:45 +02:00
Rémi Verschelde
7b64a24eb3
Merge pull request #28548 from YeldhamDev/check_button_disabled_icon
Add "disabled" icon for 'CheckButton'
2019-05-03 14:55:32 +02:00
Chaosus
8a8b7af638 Fix collapse visual shader tree 2019-05-03 11:10:08 +03:00
Yuri Roubinsky
0619d5d7b2
Merge pull request #28635 from Chaosus/fix_build
Fix build visual_shader_editor_plugin
2019-05-03 09:01:27 +03:00
Chaosus
e57d761f9b Fix build visual_shader_editor_plugin 2019-05-03 08:50:00 +03:00
Michael Alexsander Silva Dias
52651509f0 Make "Find in Files" always available in the script editor 2019-05-02 20:07:06 -03:00
Michael Alexsander Silva Dias
3eb5d1b525 Hide "Built-in Script" option in the script creation dialog when not possible 2019-05-02 13:42:21 -03:00