hbina085
f531a92057
use vformat for duplicate strings
...
many strings in visual_shader_editor_plugin.cpp does not use vformat for duplicate strings making it harder to translate
2019-06-29 07:52:09 -04:00
Rémi Verschelde
52355c638b
Merge pull request #29380 from bojidar-bg/16086-docs-default-value
...
Add default values to the editor help, docs, and generated RST
2019-06-29 12:28:30 +02:00
Rémi Verschelde
ba6b0dc38d
Merge pull request #30174 from LikeLakers2/resourcepropertyeditor-selection-bugfix
...
Fix an EditorPropertyResource bug where clicking on the flat buttons …
2019-06-29 12:22:57 +02:00
hbina085
fd39e94121
Pylint warning for extract.py
...
pylint is complaining that an "Anomalous backslash in string: '\-'"
The string constant might be missing an 'r' prefix.
2019-06-29 05:31:42 -04:00
LikeLakers2
facafeb19a
Fix an EditorPropertyResource bug where clicking on the flat buttons would not select the property in the inspector
2019-06-28 19:23:57 -04:00
Andrii Doroshenko (Xrayez)
7c11a1b162
Add support for creating editor icons per module
...
The functionality is similar to how `doc_classes` are retrieved per module.
The build system will search for custom icons path defined per module via
`get_icons_path()` method in `config.py` or default icons path.
If such paths don't exist, only the editor's own icons will be built.
Most module icons were moved from editor/icons to respective modules.
2019-06-28 23:42:26 +03:00
Chaosus
da7cf8b49f
Added convertor from VisualShader to Shader
2019-06-28 19:54:43 +03:00
Chaosus
eeabb132ec
Auto-change file extension in EditorFileDialog when filter changes
2019-06-28 18:35:24 +03:00
qarmin
67b58de0f8
Fix memory leak in Tilemaps
2019-06-28 15:37:09 +02:00
AnaDenisa
13279a7da7
Add option to input value manually in EditorPropertyEasing
...
Double-clicking on the EditorPropertyEasing widget (e.g. for the Light
Attenuation parameter) shows an EditorSpinSlider to set the value manually.
Fixes #8449 .
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2019-06-28 12:25:19 +02:00
unknown
a86329c41e
Fixed search highlight when search text not found or empty
2019-06-27 22:44:14 +05:30
Bojidar Marinov
0c4c36d823
Add default values to the editor help, docs, and generated RST
...
Also, make spacing of "=" in the editor help a bit more consistent.
Closes #16086
2019-06-27 18:29:35 +03:00
Rémi Verschelde
f35fd681ac
Merge pull request #30114 from Chaosus/vs_context_menu
...
Shows menu when dragging connection on empty space in visual shader
2019-06-27 15:14:54 +02:00
Rémi Verschelde
11b8bf5572
Merge pull request #30103 from groud/center_2D_editor
...
Centers the 2D viewport in the editor
2019-06-27 15:14:23 +02:00
Chaosus
0aec3c3113
Shows menu when dragging connection on empty space in visual shader graph
2019-06-27 10:48:18 +03:00
Rémi Verschelde
eaaff9da31
Merge pull request #29941 from qarmin/redundant_code_and_others
...
Remove redundant code, possible NULL pointers and others
2019-06-27 01:05:18 +02:00
Gilles Roudière
1b53ea79e2
Centers the 2D viewport in the editor
2019-06-26 23:03:15 +02:00
Hein-Pieter van Braam-Stewart
d1dbbd6515
Make sure that the resource previewer does not hang on exit
2019-06-26 08:02:49 -07:00
qarmin
4e5310cc60
Some code changed with Clang-Tidy
2019-06-26 15:08:25 +02:00
Marcus Brummer
80a0d1701b
Better pre-selection of search result nodes in "Create New Node" dialog.
...
Also search for substrings in class types, not just subsequences. If for
the current search term a substring has been found in a class type name,
prefer the substring match over the subsequence.
Fixes #26010
2019-06-26 15:05:00 +02:00
Rémi Verschelde
cb8d95dd4b
Merge pull request #24288 from ttencate/update_spinner_23738
...
Make visibility of update spinner editor-wide, hidden by default
2019-06-26 12:12:16 +02:00
Michael Alexsander Silva Dias
70036d8484
Fix certain items not appearing in search tree when a feature profile is set
2019-06-25 20:36:26 -03:00
Thomas ten Cate
05b67514a6
Make visibility of update spinner editor-wide, hidden by default
...
- Make visibility of the spinner and "update always" option editor-wide,
rather than per-project metadata.
- Add options "Show Update Spinner" and "Update Continuously" under
Editor Settings > Interface > Editor. Both options are false by
default.
- Rename some variables and constants to be more consistent and clearer:
"update always" -> "update continuously", "update changes" -> "update
when changed", "update menu" -> "update spinner", "circle" -> "update
spinner".
Fixes #23738 .
2019-06-25 14:57:44 +02:00
Rémi Verschelde
615ffb3507
doctool: Fix writing theme_item descriptions
...
We already had support for parsing and saving theme_item descriptions
in DocData, and displaying it in the editor, but doctool would drop the
changes as it was not writing them back to the XML.
Part of #29868 .
2019-06-25 13:08:15 +02:00
Rémi Verschelde
c477cbd09d
Merge pull request #30041 from KoBeWi/to_infinity_and_beyond
...
Allow to remove 2D editor bounds
2019-06-25 09:12:17 +02:00
Tomasz Chabora
c81525ec05
Allow to remove 2D editor limits
2019-06-25 00:19:44 +02:00
Rémi Verschelde
6fbd045845
Merge pull request #29913 from eligt/fix-editor-help
...
Ensure indentation works properly in rich text
2019-06-24 22:59:59 +02:00
Rémi Verschelde
9f2f1f5e3d
Fix scoped enum value reference, breaks GCC 5
...
Introduced in #29376 and recent compilers are fine with it, but GCC 5
complains.
Fixes #30044 .
2019-06-24 21:56:55 +02:00
Marcus Brummer
0716c59f14
Check if autoload nodes are != NULL before deleting them.
...
This fixes #27854
2019-06-24 16:00:54 +02:00
Rémi Verschelde
25022a1d89
Merge pull request #29974 from clayjohn/particles_restart
...
Properly set emitting when particles restart
2019-06-24 13:48:56 +02:00
Rémi Verschelde
1cb2b682ab
Merge pull request #30026 from akien-mga/fix-undo-convert-cpuparticles
...
Fix undo references for conversion to CPUParticles
2019-06-24 12:40:23 +02:00
Rémi Verschelde
ed504753f4
Fix undo references for conversion to CPUParticles
...
The 'undo' reference should be the node to free when the undo history
is lost, i.e. the original (GPU) Particles node. Similarly, the 'do'
reference should point to the CPUParticles (result of the 'do' call).
Fixes #29742 .
2019-06-24 12:08:30 +02:00
Gwyneth Lowe
7142064110
Correct typo that broke custom selected font color
...
Change several font_selected_color to font_color_selected; the actual name of the override
2019-06-24 04:55:29 -05:00
Rémi Verschelde
297e7efa0a
Merge pull request #30011 from akien-mga/animation-invalid-key
...
Display invalid value keys in AnimationTrackEdit
2019-06-24 00:07:13 +02:00
Rémi Verschelde
30383a1cdc
Merge pull request #29376 from hilfazer/editor_layouts_dialog
...
Saving/deleting editor layouts dialog with layout list
2019-06-23 23:56:52 +02:00
Rémi Verschelde
b3d772ed83
Display invalid value keys in AnimationTrackEdit
...
Godot 2.1 and 3.0 had this feature but it was lost in the rewrite
of the animation editor in 3.1.
Drop unused KeyValid icon, since all valid keys now have a custom
type icon.
2019-06-23 19:52:49 +02:00
Dawid Wdowiak
0f14489ecb
Center script line when double clicked on error in debugger
2019-06-23 15:58:07 +02:00
Nils ANDRÉ-CHANG
d2833d4f4d
Replace + "/" +
with String::file_add()
2019-06-23 13:33:50 +01:00
clayjohn
64ecc8a5a3
properly set emitting when particles restart
2019-06-21 22:33:11 -07:00
Rémi Verschelde
05a0a68c72
Merge pull request #24448 from lukad/toggle-system-console
...
Add option to toggle console window
2019-06-21 23:43:16 +02:00
hilfazer
9986cf7005
editor save/delete layout dialog with layout list
2019-06-21 19:38:04 +02:00
Rémi Verschelde
5c66771e3e
Merge pull request #29283 from qarmin/fix_some_always_same_values
...
Remove always true/false values
2019-06-20 21:10:10 +02:00
qarmin
072e40368e
Fix always true/false values
2019-06-20 16:59:48 +02:00
Luka Dornhecker
ad504b926f
Add option to toggle console window on Windows
...
This is an editor setting and its value can also be toggled
using an entry in the Editor toolbar. The console will still
appear briefly when starting the project manager or editor,
as it's still compiled as console application.
Does not impact exported games, which will still run without
console in release and with console in debug mode.
A project setting or export option could be added to disable
it in debug mode if there's demand for it, but that would
greatly reduce the usefulness of debug builds if Windows users
can no longer report error and crash messages.
Fixes #17889 .
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2019-06-20 16:55:52 +02:00
Rémi Verschelde
d6f8a43b60
Merge pull request #24116 from Calinou/editor-theme-improved-checkbuttons
...
Improve CheckButtons in the default editor theme
2019-06-20 13:07:53 +02:00
Elia Sarti
81065d53df
Fix for #29810
...
Ensure indentation works properly in rich text
Fix formatting
2019-06-20 11:42:25 +01:00
Rémi Verschelde
b9f8e072ce
Merge pull request #26205 from Calinou/spatialmaterial-use-packed-channels
...
Tweak SpatialMaterial's default metallic and roughness texture channels
2019-06-20 11:46:01 +02:00
Rémi Verschelde
974b07fc70
Merge pull request #29914 from YeldhamDev/fix_onion_errors
...
Fix minor onion layering control errors
2019-06-20 11:23:46 +02:00
Michael Alexsander Silva Dias
8a9b3d24f5
Fix minor onion layering control errors
2019-06-19 19:42:26 -03:00
Rémi Verschelde
5a29be31b3
Merge pull request #27188 from samH-FIT/MacroUpdate
...
Made use of semicolons after GDCLASS more consistent, added semicolons where I found them missing.
2019-06-19 22:59:49 +02:00
Rémi Verschelde
bf7a6f9c46
Merge pull request #29899 from Chaosus/select_all_tracks
...
Added button to select all tracks in track copy dialog
2019-06-19 20:04:54 +02:00
Rémi Verschelde
1abfd61f6e
Merge pull request #28295 from zqyoung1/fix-gridmap-nav-schemes
...
Fixed navigation schemes Modo/Maya when used with grid map tile place…
2019-06-19 19:30:57 +02:00
Rémi Verschelde
4476ea81aa
Merge pull request #29897 from Chaosus/fix_animation_track_selection
...
Fix animation keys selection with SHIFT/CTRL
2019-06-19 16:45:42 +02:00
Rémi Verschelde
ddba2e7b47
Merge pull request #26748 from raphael10241024/instance
...
Fix editor crash when saving a scene containing an inherited scene instance.
2019-06-19 16:28:15 +02:00
JohnJLight
38d3bfe971
Made use of semicolons more consitent, fixed formatting
2019-06-19 15:24:31 +02:00
Chaosus
be7bd97cb0
Added button to select all tracks in track copy dialog
2019-06-19 15:10:48 +03:00
Zach Young
7b1e112f1d
Fixed navigation schemes Modo/Maya when used with grid map tile placement
2019-06-19 14:03:08 +02:00
Rémi Verschelde
7fa941bfd8
Merge pull request #29463 from Faless/editor/debugger_take_connection
...
Editor debugger now always handle connections.
2019-06-19 12:47:51 +02:00
Rémi Verschelde
e6f7875e24
Merge pull request #28787 from mitchcurtis/fix-28059
...
Script Text Editor: respect Move Down and Move Up shortcuts on macOS
2019-06-19 12:38:46 +02:00
Chaosus
47e24dd1ee
Fix animation keys selection with SHIFT/CTRL
2019-06-19 13:34:22 +03:00
Fabio Alessandrelli
108de5a734
Editor debugger now always handle connections.
...
The editor debugger used to only take the first client connection,
leaving potential new connections hanging until TCP timeout.
This caused a lock after some time when running multiple game/editor
instances, as the client will fill the write buffer, and then lock until
timeout (as the editor server would never read from that socket).
The editor now drops new connections immediately if it is already
connected to a client.
2019-06-19 11:45:45 +02:00
Rémi Verschelde
57bd26082b
Merge pull request #29547 from santouits/filter-scripts
...
Add filter search for script list and the members in the script editor
2019-06-19 00:15:17 +02:00
Rémi Verschelde
d2e8b5bd18
Merge pull request #29493 from YeldhamDev/enhance_fix_feature_profile
...
Enhancements and fixes for the editor feature profile
2019-06-19 00:14:05 +02:00
Rémi Verschelde
58fe658f9d
Merge pull request #29859 from KoBeWi/name_sort-inator
...
Properly sort projects by name
2019-06-18 20:57:13 +02:00
Tomasz Chabora
39e5c510fc
Properly sort projects by name
2019-06-18 15:51:58 +02:00
Rémi Verschelde
d61d1af64d
Merge pull request #29489 from groud/fixes_nan
...
Fixes NaN errors with anchors mode
2019-06-18 09:53:25 +02:00
Rémi Verschelde
0ac3687d6f
Merge pull request #28766 from pgoral/editor_validation_issue
...
Changing method signature in other class in not recognized in working…
2019-06-17 23:13:08 +02:00
Rémi Verschelde
3b3ba7d179
Merge pull request #29847 from yurchor/master
...
Fix minor typos
2019-06-17 17:28:55 +02:00
Rémi Verschelde
46bff1ab54
Merge pull request #29806 from sparkart/master
...
Bring selected script in view of open scripts list
2019-06-17 15:07:27 +02:00
Yuri Chornoivan
340c2c0584
Fix minor typos
2019-06-17 15:11:49 +03:00
Rémi Verschelde
b5459d9f0a
Merge pull request #29830 from NilsIrl/remove_useless
...
Remove useless cast from c-string to String
2019-06-17 11:00:01 +02:00
Rémi Verschelde
cd22551d2d
i18n: Sync translation template with current source
2019-06-16 22:08:53 +02:00
Rémi Verschelde
e864237f1a
i18n: Fix extract.py support for new TTRC
...
Also make compatible with Python 3.
2019-06-16 22:02:44 +02:00
Rémi Verschelde
ea9a6672e0
i18n: Sync translations with Weblate
...
(cherry picked from commit e50eb830af
)
2019-06-16 21:46:27 +02:00
Emmanuel Barroga
fc568d9d5b
Bring selected script in view of open scripts list
...
Resolves issue: #29721
2019-06-16 09:48:42 -07:00
Nils ANDRÉ-CHANG
640ed6baba
Remove useless cast from c-string to String
2019-06-16 13:12:01 +01:00
Hugo Locurcio
a100471f6b
Add support for bold fonts in the editor help
...
This also makes it possible to use the strikethrough tag (`[s]`)
in the editor help.
2019-06-15 18:47:42 +02:00
Rémi Verschelde
b486f5dde0
glTF: Fix import of animations with INTERPOLATION_LINEAR
...
Bug found thanks to GCC 8's -Wduplicated-branches.
Slight refactor for readability.
2019-06-15 15:20:13 +02:00
Rémi Verschelde
1c1e75a4aa
Merge pull request #29795 from YeldhamDev/dependency_editor_changes
...
Minor enhancements to the dependency editor
2019-06-15 10:28:11 +02:00
Michael Alexsander Silva Dias
b3ae58d117
Minor enhancements to the dependency editor
2019-06-15 04:12:23 -03:00
Hugo Locurcio
bf97247cec
Improve the default project naming in the Project Manager
...
The Project Manager will now infer a project name from the
project path if the name is empty or equal to the default value.
The project name will also be capitalized automatically.
2019-06-15 00:01:44 +02:00
Rémi Verschelde
b412534e6f
Merge pull request #29779 from akien-mga/font-settings-cleanup
...
Fix help source font setting and related cleanup
2019-06-14 15:22:52 +02:00
Rémi Verschelde
c56ef88c5a
Fix help source font setting and related cleanup
...
This was a regression from #28107 due to a typo in the `initial_set`
call.
I used the opportunity to harmonize the font settings by ensuring we
only get values in `editor_fonts.cpp` and set them all with proper and
consistent hint ranges in `editor_settings.cpp`.
Fixes #29774 .
2019-06-14 14:25:20 +02:00
Michael Alexsander Silva Dias
28683237c5
Check for inherited methods before attempting to create one when connecting a signal
2019-06-13 15:15:17 -03:00
Rémi Verschelde
8c11f883d9
Merge pull request #29129 from kis3lori/remove-save-theme-for-default
...
Created a fallback from the "Save Theme" button to "Save Theme As" when a default theme is in use.
2019-06-13 12:10:05 +02:00
Kis Levente Lorand
0823d78374
Created a fallback from the "Save Theme" button to "Save Theme As" when a default theme is in use.
2019-06-13 11:26:08 +03:00
Rémi Verschelde
41a62f3ac3
Merge pull request #29737 from YeldhamDev/connections_dialog_minor_cleanup
...
Minor cleanup in connections dialog file
2019-06-13 10:17:42 +02:00
Rémi Verschelde
5ec99dc62f
Merge pull request #29644 from YeldhamDev/editor_file_recent_reselect
...
Make possible to reselect an item in the "Recent" list in the EditorFileDialog
2019-06-13 10:11:16 +02:00
Rémi Verschelde
d888c50fa3
Merge pull request #29638 from YeldhamDev/editor_file_hidden_toggle
...
Add button for toggling hidden files in EditorFileDialog
2019-06-13 10:09:19 +02:00
Rémi Verschelde
006df1f2bc
Merge pull request #29636 from Calinou/project-manager-dim-window-quitting
...
Dim the project manager window while it's quitting
2019-06-13 10:07:58 +02:00
Rémi Verschelde
6effe33bba
Merge pull request #29635 from YeldhamDev/editor_file_favorite_fix
...
Apply a better fix for the EditorFileDialog crash on favorite
2019-06-13 10:03:52 +02:00
Michael Alexsander Silva Dias
fdd461ddd0
Minor cleanup in connections dialog file
2019-06-13 02:47:12 -03:00
Michael Alexsander Silva Dias
484127c88f
Enhancements and fixes for the editor feature profile
2019-06-12 21:46:53 -03:00
Rémi Verschelde
32ae64a371
Merge pull request #29708 from sparkart/master
...
Added script name tooltip for Open Script Icon
2019-06-12 23:10:38 +02:00
Rémi Verschelde
1a9a2c879a
Merge pull request #29645 from YeldhamDev/create_dialog_reselect
...
Allow reselecting items in the "Favorites" and "Recent" lists in the create dialog
2019-06-12 22:58:09 +02:00
Rémi Verschelde
d1a88cb895
Merge pull request #29716 from YeldhamDev/create_node_error_spam
...
Fix error spam in create dialog when searching for nodes with some disabled
2019-06-12 22:45:47 +02:00
Rémi Verschelde
3b53db750a
Merge pull request #22863 from Paulb23/reload_shader_external_change_issue_19852
...
Reload text shaders when externally edited, issue 19852
2019-06-12 22:44:55 +02:00
Emmanuel Barroga
e15c5489a8
Added script name tooltip for Open Script Icon
...
Resolves issue: 29541
2019-06-12 08:10:00 -07:00
Michael Alexsander Silva Dias
c22dcca866
Fix error spam in create dialog when searching for nodes with some disabled
2019-06-12 10:43:42 -03:00
Rémi Verschelde
704f2c5d85
Merge pull request #29615 from Calinou/fix-editor-monitor-large-sizes
...
Fix display of large sizes in the editor monitors
2019-06-12 15:21:37 +02:00