Commit graph

5005 commits

Author SHA1 Message Date
Rémi Verschelde
d17eac735c
Merge pull request #29815 from NilsIrl/plus_file_1
Replace ` + "/" + ` with `String::file_add()`
2019-07-01 12:06:35 +02:00
Rémi Verschelde
b62041d1f3
Merge pull request #30089 from fire/cicd-crash
Headless CI/CD crash fixes
2019-07-01 12:03:46 +02:00
Rémi Verschelde
e285114e0c
Merge pull request #30072 from mbrlabs/node-search-fix
Better pre-selection of search result node in "Create New Node" dialog.
2019-07-01 12:03:16 +02:00
Rémi Verschelde
bbb725836d
Merge pull request #28701 from SonerSound/master
Export paths are now saved as relative paths
2019-07-01 09:27:01 +02:00
Rémi Verschelde
b62d315a7f
Merge pull request #30146 from Chaosus/editor_file_dlg_ex
Auto-change file extension in EditorFileDialog when filter changes
2019-07-01 09:24:37 +02:00
SonerSound
90b2415343 Export path may now be written as a relative path
If the target directory does not exist, it will be recursively created.

Export paths are now saved as a relative to the projects base directory

Renamed relative_to function to final_path_from_relative which takes a relative path and outputs the final path from a string that represents a directory.
Added relative_path_from_final which takes in a final path and outputs a relative path if possible. If not possible it outputs the relative path that represents the current directory.
If the target directory does not exist when exporting the project, then it is recursively created.

Removed final_path_from_relative function

Changed DirAccess into DirAccessRef for automatic object destruction
2019-06-30 19:13:49 +01:00
LikeLakers2
410054db38 SceneTreeDock will now only attach scripts to the selected node if the ScriptCreateDialog was opened from the SceneTreeDock 2019-06-29 23:19:45 -04:00
LikeLakers2
4961db8e88 ScriptCreateDialog should emit the script_changed signal first 2019-06-29 23:18:37 -04:00
Rémi Verschelde
b4aba3ae7c
Merge pull request #30177 from hbina/use_FALLTHROUGH_macro
Applied some of FALLTHROUGH macro usage from #30122
2019-06-29 23:40:08 +02:00
hbina085
9f0c6a6009 Many fallthrough switch cases now have the FALLTHROUGH macro to tell the compiler that this is intended. 2019-06-29 16:08:48 -04:00
Rémi Verschelde
9ca1a5af3e
Merge pull request #30167 from Xrayez/module-editor-icons
Add support for creating editor icons per module
2019-06-29 18:51:28 +02:00
Rémi Verschelde
187d8addf9
Merge pull request #30152 from Chaosus/vs_conversion
Added convertor from VisualShader to Shader
2019-06-29 18:40:28 +02:00
Rémi Verschelde
176188b1c6
Merge pull request #30187 from bojidar-bg/30184-null-values
Remove bogus nulls from generated default values
2019-06-29 18:38:12 +02:00
Rémi Verschelde
5cf51cc7e4
Merge pull request #30182 from hbina/pylint_anomalous_backlash
"Anomalous backslash in string: '-'" in extract.py
2019-06-29 18:15:46 +02:00
Rémi Verschelde
4ca22d81d7
Merge pull request #30156 from qarmin/fix_memory_leak_in_tilemap
Fix memory leak in Tilemaps
2019-06-29 16:51:15 +02:00
Rémi Verschelde
19c780b0ed
Merge pull request #30185 from hbina/fix_issue_30111
use vformat for duplicate strings
2019-06-29 16:50:18 +02:00
Rémi Verschelde
f8df412512
Merge pull request #24156 from AnaDenisa/master
Add option to input value in EditorPropertyEasing. Fixes #8449
2019-06-29 15:34:24 +02:00
Bojidar Marinov
55234d62b0
Remove bogus nulls from generated default values
Also, fix crash in PluginScript destructor.
2019-06-29 15:51:33 +03:00
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
Rémi Verschelde
1e5a02f006
Merge pull request #29599 from Calinou/assetlib-project-icon-loading
Display a "loading" placeholder while icons are loading in the assetlib
2019-06-12 13:36:06 +02:00
Rémi Verschelde
97fb28df0d
Merge pull request #29595 from YeldhamDev/bus_editor_enhancements
Enhancements for the audio bus editor
2019-06-12 13:34:30 +02:00
Rémi Verschelde
5522d7c2b0
Merge pull request #29664 from akien-mga/external-editor-default-flags
Always pass script path to external editor
2019-06-12 13:24:57 +02:00
Rémi Verschelde
59a0d90f3a
Merge pull request #29695 from jbuck3/fix-script-create-dialog
Fix script create dialog
2019-06-12 13:24:02 +02:00
Rémi Verschelde
a2a5273a07
Merge pull request #29703 from YeldhamDev/method_signal_warning_base
Check base scripts for signal receiving methods before warning about them missing
2019-06-12 13:11:17 +02:00
Rémi Verschelde
c010714732
Merge pull request #29710 from Calinou/assetlib-remove-unimplemented
Remove some references to unimplemented features in the assetlib
2019-06-12 12:55:16 +02:00
Rémi Verschelde
f47f905248
Merge pull request #29517 from KoBeWi/pan_shop
Allow to change 2D pan hotkey
2019-06-12 12:51:22 +02:00
Rémi Verschelde
94fbaf71a6
Merge pull request #29474 from YeldhamDev/pick_subtile_fix
Fix subtile picking in TileMap editor
2019-06-12 12:50:31 +02:00
Rémi Verschelde
971b5160c6
Merge pull request #29306 from qarmin/small_code_fixes
Small fixes to unrechable code, possibly overflows, using NULL pointers
2019-06-12 12:49:21 +02:00
santouits
ca4c33cdad Add filter search for script list and the members
in the script editor
2019-06-12 13:31:53 +03:00
Hugo Locurcio
75f1e93ac0
Remove some references to unimplemented features in the assetlib
This removes rating icons and the associated sorting option as
this feature wasn't implemented (and is unlikely to be in the
near future).

This also renames "Cost" to "License", as the "cost" field refers
to SPDX license names on the Godot Asset Library.
2019-06-12 12:26:37 +02:00
Rémi Verschelde
a458365780
Merge pull request #29659 from YeldhamDev/script_connections_node_deleted
Fix connection info still appearing on scripts if the node source is deleted
2019-06-12 09:46:33 +02:00
Michael Alexsander Silva Dias
831dd19546 Check base scripts for signal receiving methods before warning about them missing 2019-06-11 22:11:26 -03:00
Hugo Locurcio
7fd7dac69c
Add spacing between the icon and details in the assetlib list
This also scales margin and separation values on hiDPI displays.
2019-06-12 01:14:29 +02:00
James Buck
2d28e393d6 Fix script create dialog
- Correctly validate parent/class names
- Trigger parent validation when selecting from buttons
- Fix enabling/disabling parent buttons
- Clear class name if not supported
- Minor cleanup
2019-06-11 16:05:24 -05:00
Rémi Verschelde
30e8b53c38
Merge pull request #29680 from akien-mga/fix-headers
Add missing license headers
2019-06-11 19:01:40 +02:00
Rémi Verschelde
4043c8a8c9
Merge pull request #29678 from akien-mga/err-macros-semicolon
Fix error macro calls not ending with semicolon
2019-06-11 19:01:26 +02:00
Rémi Verschelde
f18121824c Add missing license headers
Make `fix_headers.py` script compatible with Python 3.
2019-06-11 15:33:32 +02:00
Rémi Verschelde
290032b68f
Merge pull request #29565 from YeldhamDev/editor_feature_docs
Make docs search hide nodes disabled by the editor feature profile
2019-06-11 15:17:52 +02:00
Rémi Verschelde
7842f4ca5c
Merge pull request #29262 from DarknessCatt/issue-27476
Automatically add new line to scripts
2019-06-11 15:07:09 +02:00
Rémi Verschelde
6d16f2f053 Fix error macro calls not ending with semicolon
It's not necessary, but the vast majority of calls of error macros
do have an ending semicolon, so it's best to be consistent.
Most WARN_DEPRECATED calls did *not* have a semicolon, but there's
no reason for them to be treated differently.
2019-06-11 14:49:34 +02:00
Rémi Verschelde
96028e3f48
Merge pull request #29526 from YeldhamDev/connections_dialog_improvements_reborn
Improve conections dialog
2019-06-11 14:17:49 +02:00
Rémi Verschelde
227b5d20ee
Merge pull request #29519 from Ranoller/master
Make tilemap texture origin point top-left.
2019-06-11 12:05:13 +02:00
Rémi Verschelde
8d5bb06ae0
Merge pull request #29515 from Calinou/editor-inspector-checkbox-hseparation
Add a margin to "checkable" property checkboxes in the editor inspector
2019-06-11 11:56:53 +02:00
Rémi Verschelde
bc75ef5ad0
Merge pull request #29508 from Calinou/doc-hex-constant-uppercase
Use uppercase for all hexadecimal constants in the editor help
2019-06-11 11:51:59 +02:00
Rémi Verschelde
4a757a2d96 Always pass script path to external editor
Previously you had to set the Exec Flags manually, reading the documentation
to find out what placeholders to use. As most editors should support having
the file path passed as the last argument, we default to doing this if no
custom {file} flag is defined. We also default the Exec Flags to "{file}" and
the placeholder text gives some documentation.

Fixes #29662.
2019-06-11 09:20:42 +02:00
Michael Alexsander Silva Dias
b3010d9734 Fix connection info still appearing on scripts if the node source is deleted 2019-06-10 19:37:56 -03:00
Rémi Verschelde
ee86b18a5e
Merge pull request #29497 from qarmin/fix_memory_leak_in_files
Fix memory leak after closing files
2019-06-10 15:23:26 +02:00
Michael Alexsander Silva Dias
553972453f Add button for toggling hidden files in EditorFileDialog 2019-06-10 00:27:37 -03:00
Michael Alexsander Silva Dias
307fe76089 Allow reselecting items in the "Favorites" and "Recent" lists in the create dialog 2019-06-09 22:44:31 -03:00
Michael Alexsander Silva Dias
53719b112a Make possible to reselect an item in the "Recent" list in the EditorFileDialog 2019-06-09 22:09:10 -03:00
Michael Alexsander Silva Dias
138a8f1a99
Merge pull request #29527 from YeldhamDev/orphan_dialog_dependencies_tooltip
Add tooltip for the dependencies buttons in the orphan explorer dialog
2019-06-09 18:37:48 -03:00
Hugo Locurcio
c9bc807ce4
Dim the project manager window while it's quitting
This makes it clearer that the project manager window is busy
while it's quitting (which can take a while on slower PCs).
This also makes it feel more responsive to user input.
2019-06-09 22:48:12 +02:00
Michael Alexsander Silva Dias
1f6a590959 Apply a better fix for the EditorFileDialog crash on favorite 2019-06-09 17:41:45 -03:00
volzhs
15d284b281 Fix crash when selecting favorate directory on EditorFileDialog
The problem was that favorite tool button kept to change pressed
and unpressed state with toggled event.
This is a quick fix for crash.
EditorFileDialog might need to be refactor later.
2019-06-10 00:27:28 +09:00
Michael Alexsander Silva Dias
bb1c5f5525 Enhancements for the audio bus editor 2019-06-09 00:23:08 -03:00
Hugo Locurcio
746bfc3662
Fix display of large sizes in the editor monitors
Unlike the old custom method, the `String::humanize_size()`
method works well with file sizes above 2 GB.

This also tweaks the suffixes for spacing consistency and
uses the correct acronym for exabytes (EB).

This closes #29610.
2019-06-08 22:05:57 +02:00
Hugo Locurcio
9f6b470ea8
Display a "loading" placeholder while icons are loading in the assetlib 2019-06-08 11:18:52 +02:00
Michael Alexsander Silva Dias
def0485ca9 Make docs search hide nodes disabled by the editor feature profile 2019-06-06 22:04:25 -03:00
Michael Alexsander Silva Dias
fc23c8f941 Add tooltip for the dependencies buttons in the orphan explorer dialog 2019-06-06 02:47:56 -03:00
Michael Alexsander Silva Dias
31218a07de Improve conections dialog 2019-06-06 02:40:20 -03:00
Ranoller
f26e9daab5 Make tilemap texture origin point top-left.
Fix https://github.com/godotengine/godot/issues/29487. In this commit: https://github.com/godotengine/godot/pull/28896 bad offset of textures and shapes was fixed, but a center of texture was added too, and this seems not dessired by default because breaks too much compatibility with demos and user projects. A future Check box for center texture can be added
2019-06-05 23:23:36 +02:00
Tomasz Chabora
f472f0491c Allow to change 2D pan hotkey 2019-06-05 22:44:52 +02:00
Hugo Locurcio
ecda25b050
Add a margin to "checkable" property checkboxes in the editor inspector
This makes "checkable" property checkboxes look more consistent with
other checkboxes.
2019-06-05 22:18:46 +02:00
Hugo Locurcio
6516098d12
Use uppercase for all hexadecimal constants in the editor help 2019-06-05 16:44:20 +02:00
qarmin
53c0a29fb0 Fix memory leak after closing files 2019-06-05 09:34:16 +02:00
Rémi Verschelde
197b65f32a
Merge pull request #29411 from clayjohn/multimesh_instance_2d
Added MultiMeshInstance2D node for using MultiMesh in 2D
2019-06-04 22:40:13 +02:00
Rémi Verschelde
daca2a9a8e
Merge pull request #29459 from hpvb/fix-move-rename
Fix moving and renaming files
2019-06-04 22:30:43 +02:00
Gilles Roudière
df0a69bbac Fixes NaN errors with anchors mode 2019-06-04 21:58:21 +02:00
Rémi Verschelde
e22dde1b18
Merge pull request #29452 from YeldhamDev/remember_selected_subtile
Remember selected subtile when updating the TileMap editor
2019-06-04 17:16:03 +02:00
Rémi Verschelde
33163c0040
Merge pull request #29460 from YeldhamDev/tilemapeditor_atlas_copy_fix
Fix TileMap editor not correctly copying atlas tiles
2019-06-04 16:56:59 +02:00
Michael Alexsander Silva Dias
6be7fea798 Fix subtile picking in TileMap editor
Fixes #29445.
2019-06-04 11:36:05 -03:00
Hein-Pieter van Braam-Stewart
0ac7715a27 Fix moving and renaming files
This commit fixes several issues related to moving scenes and resources
in an open project.

* Don't try to reload scenes while not all scenes are updated yet.
* Don't use the UndoRedo system to update non-user initiated editor
state.
* Resave scenes after moving files and updating resource path(s).
2019-06-04 16:24:32 +02:00
Rémi Verschelde
2844b76feb
Merge pull request #29448 from Calinou/improve-performance-monitor-display
Improve the performance monitor display
2019-06-04 09:27:39 +02:00
Michael Alexsander Silva Dias
412a0b73e9 Fix error spam when typing in the TileMap editor's search box while having no results 2019-06-04 01:44:38 -03:00
Michael Alexsander Silva Dias
6b7d8fd946 Fix TileMap editor not correctly copying atlas tiles
Fixes #29307.
2019-06-04 00:44:01 -03:00
Michael Alexsander Silva Dias
0a03ed7544 Remember selected subtile when updating the TileMap editor
Fixes #29444.
2019-06-03 21:20:38 -03:00
Hugo Locurcio
b615277a07
Improve the performance monitor display
- Use dark colors when using a light theme for better visibility
- Enable antialiasing (only effective when using the GLES3 renderer)
- Make graph lines thinner but opaque
- Scale graph line widths on hiDPI displays
2019-06-03 23:30:05 +02:00
qarmin
8245db869f Small fixes to unrechable code, possibly overflows, using NULL pointers 2019-06-03 21:52:50 +02:00
clayjohn
2b8b1d7c46 added MultiMeshInstance2D node for using MultiMesh in 2D 2019-06-03 12:11:54 -07:00
Rémi Verschelde
b9dc2e7e4d
Merge pull request #28099 from lupoDharkael/fix-completion
Fix code completion not working with class_name
2019-06-03 14:01:07 +02:00
Rémi Verschelde
0dac4d6db6
Merge pull request #25522 from aqnuep/MeshLibrary_improvements
MeshLibrary export improvements
2019-06-03 13:59:43 +02:00
Rémi Verschelde
b3162a2a28
Merge pull request #29412 from YeldhamDev/audio_editor_pause_fix
Fix pausing in audio player editor acting the same as stopping
2019-06-03 13:58:52 +02:00
Rémi Verschelde
657c7fd81c
Merge pull request #29417 from YeldhamDev/visual_shader_icon
Better visual shader icon
2019-06-03 13:56:48 +02:00
Rémi Verschelde
d1999048e9
Merge pull request #29428 from akien-mga/docdata-merge-properties
doc: Fix DocData.merge_from copying old setters and getters
2019-06-03 13:54:53 +02:00
Rémi Verschelde
e1e3fcc908 doc: Fix DocData.merge_from copying old setters and getters
This is not necessary and means that some setters and getters
can end up wrong if they are changed in the bindings but DocData
does not update them when running --doctool.

Fixes #29425.

Co-authored-by: Bojidar Marinov <bojidar.marinov.bg@gmail.com>
2019-06-03 13:03:05 +02:00
JFonS
6f31143996 Add HeightMapShape mesh in CollisionShape gizmo 2019-06-03 11:59:55 +02:00
Michael Alexsander Silva Dias
8ea67380d0 Better visual shader icon
Closes #20695.
2019-06-03 02:44:59 -03:00
Michael Alexsander Silva Dias
a5f1635bf2 Fix pausing in audio player editor acting the same as stopping 2019-06-02 22:40:28 -03:00
Paulb23
eed3753357 Reload text shaders when externaly edited, issue 19852 2019-06-01 14:05:44 +01:00
Hugo Locurcio
dc981d8af7
Display longer Git hashes in engine version dialogs
Due to the high number of commits in the Godot repository,
7-character hashes were starting to become occasionally ambiguous.

In contrast, 9-character hashes are currently unambiguous for
all commits.
2019-06-01 13:52:58 +02:00
Rémi Verschelde
0f26d09fbf
Merge pull request #29360 from Calinou/improve-curve-editor-rendering
Improve the curve editor rendering
2019-06-01 11:13:09 +02:00
Rémi Verschelde
4b399034aa
Merge pull request #24560 from guilhermefelipecgs/fix_24549
Add EDITMODE_PRIORITY for ATLAS_TILE
2019-06-01 09:49:18 +02:00
Rémi Verschelde
d7163fb77a
Merge pull request #24708 from uzimonkey/sub-resource-names-in-script-editor
Add sub-resource name when available to script editor
2019-06-01 09:45:08 +02:00
Rémi Verschelde
44bddecb89
Merge pull request #28695 from Ranoller/patch-2
FIX Script editor doesn´t send unsaved script #28693
2019-06-01 09:01:55 +02:00
Hugo Locurcio
9f8bed3cdb
Improve the curve editor rendering
- Fix grid rendering when using a light theme
- Enable anti-aliasing for the main curve line
  (only applies when using the GLES3 renderer)
- Swap the main line and edge line colors for better visibility
- Scale some line widths on hiDPI displays
  (not all of them could be scaled due to rendering bugs)
2019-06-01 02:07:42 +02:00
Rémi Verschelde
a69436aa4e
Merge pull request #27309 from KoBeWi/main_scene_on_android
Ensure main scene is set when running on device
2019-05-31 16:55:46 +02:00
Tomasz Chabora
9e18e94dc1 Ensure main scene is set when running on device 2019-05-31 16:02:57 +02:00
Rémi Verschelde
29645c8147
Merge pull request #27334 from qarmin/add_50_percent_editor_scale
Add support for 50% editor scale
2019-05-31 15:28:14 +02:00
Rémi Verschelde
5098d2c46b
Merge pull request #28144 from Calinou/animation-track-editor-align-bool
Align boolean track icons to other keys in the animation editor
2019-05-31 14:17:26 +02:00
Rémi Verschelde
1f91de4783
Merge pull request #29318 from bojidar-bg/29313-control-constant-update
Fix constant redrawing of the editor when selecting a Control in a Container
2019-05-31 10:17:56 +02:00
Rémi Verschelde
710827c5db
Merge pull request #29324 from qarmin/fix_memory_leak_text_editor
Fix memory leak in Text Editor and FileSystem dock
2019-05-31 10:17:19 +02:00
Rémi Verschelde
0fc6b86797
Merge pull request #29329 from volzhs/fix-animation-player
Fix animation player
2019-05-31 10:13:30 +02:00
Rémi Verschelde
b9802149bb
Merge pull request #29334 from KoBeWi/not_crash_is_true
Fix crash when inherit in rootless unsaved scene
2019-05-31 10:08:51 +02:00
Rémi Verschelde
ca6a2669df
Merge pull request #29328 from KoBeWi/undo_cpuparticles_too
Allow undo of conversion to CPUParticles
2019-05-31 10:05:09 +02:00
Rémi Verschelde
6b27b7d113
Merge pull request #29301 from creikey/fix-remotescenetree
Hide remote scene tree when adding new scene
2019-05-31 09:52:04 +02:00
Cameron Reikes
63c2d1bce1 Hide remote scene tree when adding new scene
- Don't show create_root_dialog if remote scenetree visible
 - Hide create_root_dialog on showing of remote scenetree
Fixes #29288
2019-05-30 23:56:08 -07:00
UziMonkey
7056c825a3 Add sub-resource name when available to script editor 2019-05-31 02:39:58 -04:00
Tomasz Chabora
847a74d588 Fix crash when inherit in rootless unsaved scene 2019-05-31 02:08:37 +02:00
volzhs
fe98a31743 Sync Animation editor with Inspector 2019-05-31 06:50:14 +09:00
Tomasz Chabora
1141ab8b25 Allow undo conversion to CPUParticles 2019-05-30 23:08:57 +02:00
volzhs
e16e5012ca Revert "Fix AnimationPlayer editor length and step synchronization"
This reverts commit ca80ebe9f6.
2019-05-31 04:43:46 +09:00
qarmin
392f6f89cd Fix memory leak in Text Editor and FileSystem Dock 2019-05-30 21:31:05 +02:00
K. S. Ernest (iFIre) Lee
b42df97edd Check error code before using FileAccess to create a preview and crashing. 2019-05-30 09:08:52 -07:00
Bojidar Marinov
647fb155c3
Fix constant redrawing of the editor when selecting a Control in a Container
Fixes #29313
2019-05-30 18:25:22 +03:00
Rémi Verschelde
6895ad303b
Merge pull request #29297 from Calinou/decrease-editor-fps-unfocused
Decrease the editor FPS cap when the window is unfocused
2019-05-30 16:47:40 +02:00
Rémi Verschelde
c957e56741
Merge pull request #24286 from glaforte/bugfix/20878
Fixes the support of the 'keep on reimport' flag - Issue #20878.
2019-05-30 16:42:50 +02:00
Hugo Locurcio
ac14efcdfb
Decrease the editor FPS cap when the window is unfocused
This decreases CPU/GPU usage when the window is unfocused, which can
be beneficial to laptop users.

This also makes the low-processor mode sleep project setting no longer
affect the editor. Instead, two new editor settings now define the
duration of sleeping when the editor is focused and unfocused.

This closes #24209 and partially addresses #29257.
2019-05-30 15:42:57 +02:00
Rémi Verschelde
0c74aae576
Merge pull request #29308 from hbina/fixing_undo_2d_particles
added ability to undo conversion of Particles2D to CPUParticles2D
2019-05-30 14:14:21 +02:00
Rémi Verschelde
24dd8e29ea
Merge pull request #29296 from jbuck3/cleanup
Remove some redundant lines
2019-05-30 12:52:23 +02:00
hbina085
21078621dd added ability to undo conversion of Particles2D to CPUParticles2D 2019-05-30 06:51:36 -04:00
Matheus Lima Cunha
7fbb6d986f Automatically add new line to scripts 2019-05-29 18:13:29 -03:00
Goral
aabd9980d1 Changing method signature in other class in not recognized in working class in typed GDScript #28685 2019-05-29 22:27:16 +02:00
James Buck
4f4513f99c Remove some redundant lines 2019-05-29 15:20:39 -05:00
Rémi Verschelde
bc816f93c6
Merge pull request #24365 from YeldhamDev/autoload_restrict_keywords
Restrict Autoloads from having keywords as their names
2019-05-29 18:57:51 +02:00
Rémi Verschelde
21ee1d2198
Merge pull request #25516 from bojidar-bg/25487-folding-remote-tree
Fix remote scene tree root folding
2019-05-29 17:51:12 +02:00
Rémi Verschelde
c51d2ed55c
Merge pull request #25480 from WindyDarian/scene_import_root_type_script_global_class_support
Support script global class (class_name) as root_type when importing a scene
2019-05-29 17:31:15 +02:00
Rémi Verschelde
62c9af4072
Merge pull request #25647 from QbieShay/fix_25440
Added a setting for files in which the editor should search (project specific)
2019-05-29 16:58:28 +02:00
Rémi Verschelde
3f11505f4f
Merge pull request #29253 from IronicallySerious/remove-duplicate-plugin
Remove duplicate audio bus plugin registry
2019-05-29 10:42:09 +02:00
Chaosus
cd3d538f12 Fix incorrect scroll when the user perform first action on visual shader 2019-05-29 07:41:29 +03:00
Rémi Verschelde
84331549db
Merge pull request #28896 from Ranoller/master
Fix tilemap displaced textures and shapes
2019-05-28 22:25:18 +02:00
Rémi Verschelde
80f7a19569
Merge pull request #28789 from mitchcurtis/quick-open
Add Quick Open dialog
2019-05-28 20:45:52 +02:00
Twarit
506436b28a Remove duplicate audio bus plugin registry 2019-05-28 23:56:04 +05:30
Hugo Locurcio
679e4b5987
Align boolean/color track icons to other keys in the animation editor
This closes #27782.
2019-05-28 19:26:44 +02:00
Rémi Verschelde
500fe89600
Merge pull request #28349 from KoBeWi/sprite_editor_mistake_eraser
Add undo for Sprite Editor
2019-05-28 18:39:14 +02:00
Rémi Verschelde
d4811e6897
Merge pull request #28862 from KoBeWi/editable_clones
Keep editable children on node duplicate
2019-05-28 18:38:46 +02:00
Rémi Verschelde
81ac52599d
Merge pull request #29239 from fire/plugin_editor_settings
Be able to add to the editor setting tabs.
2019-05-28 18:38:32 +02:00
Mitch Curtis
ffb6aab1f4 Add Quick Open dialog
This dialog searches every Resource-derived file in the project, making
it extremely useful for searching everything from audio files to scripts.

Unlike the Quick Open Script and Quick Open Scene dialogs, you don't need
to think about the type of file you're opening, just its name.

Shift + Alt + O was chosen to match the existing shortcuts for
Quick Open Scene and Quick Open Script.
2019-05-28 18:27:18 +02:00
Rémi Verschelde
b71254a861
Merge pull request #28392 from KoBeWi/reparent_alt
Allow to keep local transform when reparenting in editor
2019-05-28 17:31:27 +02:00
Tomasz Chabora
7e9e023e5f Keep editable children on node duplicate 2019-05-28 16:53:24 +02:00
K. S. Ernest (iFIre) Lee
be341e1931 Be able to add to the editor setting tabs. 2019-05-28 05:11:01 -07:00
Rémi Verschelde
6273e4d76d
Merge pull request #26487 from matzebond/master
Auto-expand current node type when changing node type
2019-05-28 12:52:21 +02:00
Rémi Verschelde
8384582828
Merge pull request #27836 from turtletooth/right-click
Allow Right Click in Empty Space on FileSystemDock
2019-05-28 12:07:06 +02:00
Rémi Verschelde
88539cf680
Merge pull request #27972 from ahouts/add-hotkeys-to-tileset-editor
add hotkeys to tileset editor
2019-05-28 11:57:23 +02:00
Rémi Verschelde
58f66fa848
Merge pull request #28107 from Amssat221/issue28105
Set range (10-50) to help source font size
2019-05-28 11:53:52 +02:00
Rémi Verschelde
47f00925dc
Merge pull request #28454 from homer666/popup-centered-maxsize
Add `popup_centered_clamped()` method to Popup
2019-05-28 11:36:41 +02:00
Rémi Verschelde
2f1de365fe
Merge pull request #29231 from AlexHoratio/method_list_drag_fix
Fix method list to no longer forwards drag commands to script list
2019-05-28 10:20:59 +02:00
Michael Alexsander Silva Dias
fad0338beb Make animation editor change tracks positions instead of swapping them 2019-05-27 22:03:26 -03:00
Rémi Verschelde
25e36f3540
Merge pull request #29002 from Chaosus/vs_constants
Added a bunch of scalar constants to visual shaders
2019-05-27 22:26:13 +02:00
AlexHoratio
3b5112567a method list no longer forwards drag commands to script list 2019-05-27 17:28:29 +01:00
Silvano Cerza
f23e1aab34 Implemented remote scene tree filtering
User can now filter the remote scene tree, like the local one is filtered, while
the game is running
2019-05-27 17:46:57 +02:00
Chaosus
44de8b4964 Added a bunch of scalar constants to visual shaders 2019-05-27 18:39:59 +03:00
Michael Alexsander Silva Dias
560f5cb104 Actually fix animation editor's bottom panel button not being pressed on certain occasions 2019-05-27 12:12:51 -03:00
Rémi Verschelde
6f49fc27f8
Merge pull request #29200 from KoBeWi/filter_select
Deselect hidden nodes on filter
2019-05-27 12:17:00 +02:00
Rémi Verschelde
e8fbb28e20
Merge pull request #29119 from bruvzg/native_icon_support
Add native window/taskbar icon support for Windows and macOS.
2019-05-27 12:09:42 +02:00
Rémi Verschelde
0d3ae2a415
Merge pull request #29198 from NilsIrl/seg_fault
Fix Segmentation fault and reduce memory consumption
2019-05-27 11:59:38 +02:00
Nils ANDRÉ-CHANG
a156b7976d Fix Segmentation fault and reduce memory consumption 2019-05-26 20:32:09 +01:00
Tomasz Chabora
a019641e73 Deselect hidden nodes on filter 2019-05-26 20:05:02 +02:00
Rémi Verschelde
7cd3e91acf
Merge pull request #27252 from Calinou/add-shortcut-quit-project-manager
Quit the Project Manager when Command + Q is pressed
2019-05-26 15:21:26 +02:00
Michael Alexsander Silva Dias
757a1de58d Fix "Node not found:" error message when adding tracks 2019-05-25 15:30:53 -03:00
Rémi Verschelde
cc8023cd1e
Merge pull request #29157 from YeldhamDev/spatial_view_button_container
Place the spatial editor's top left buttons in a container
2019-05-25 10:46:03 +02:00
Michael Alexsander Silva Dias
c4f797644d Fix animation editor's bottom panel button not being pressed on certain occasions 2019-05-25 04:07:51 -03:00
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
Michael Alexsander Silva Dias
e12b482022 Improve bookmarks 2019-05-24 13:17:09 -03: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
George Marques
9df1a2442b
Show function name in debugger stack trace
Also show script and line when the instance is gone when resuming from
yield.
2019-05-14 11:39:44 -03: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
Mitch Curtis
793b50651d Script Text Editor: respect Move Down and Move Up shortcuts on macOS
Handle shortcuts in CodeTextEditor::_input() so that we get them before its
text_editor's TextEdit::_gui_input() function does. If we don't, that
function will execute the following code:

				if (k->get_shift()) {
					_pre_shift_selection();
				}

    #ifdef APPLE_STYLE_KEYS
				if (k->get_command()) {

					cursor_set_line(0);
				} else
    #endif

So using Command+Shift+Up for the Move Up shortcut would just result in
selecting all text to the beginning of the document, rather than moving the
current line up.

Fixes #28059.
2019-05-09 21:08:43 +02: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
Ranoller
d33b4f4de8
FIX Script editor doesn´t send unsaved script #28693
This commit fix #28693.
Script editor doesn´t send unsaved version of a script in editor_script_changed signal (sends disk stored version) unless you close other script and apply_scripts() is performed.
2019-05-05 06:56:19 +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
Michael Alexsander Silva Dias
acadfe0a49 Add "disabled" icon for 'CheckButton' 2019-05-02 13:39:56 -03:00
Michael Alexsander Silva Dias
73d95f1006 Make small changes to the script dialog 2019-05-02 12:04:33 -03:00
Michael Alexsander Silva Dias
6cb4ef1c55 Fix script dialog asking for correct inheritance when not needed 2019-05-02 12:04:05 -03:00
Siddharth
dc7533517f Update editor_settings.cpp
Update editor_settings.cpp

Update editor_themes.cpp

Update editor_settings.cpp
2019-05-02 18:23:37 +05:30
Chaosus
62b7132947 Fix input entries when switching to new visual shader 2019-05-02 10:00:08 +03:00
Yuri Roubinsky
9f49e50d6d
Merge pull request #28571 from Chaosus/fix_vs_input2
Added missed inputs for other modes in visual shaders
2019-05-01 17:29:30 +03:00
Chaosus
3c159ea379 Added missed inputs for other modes in visual shaders 2019-05-01 17:04:39 +03:00
qarmin
d9eaa3e093 Fix Remove Missing Project projects on Windows 2019-05-01 14:36:04 +02:00
Rémi Verschelde
47338a8056
Merge pull request #28455 from DrNochi/bugfix/script-dialog-path-with-spaces
Handle spaces correctly for base / parent scripts in the "New Script" dialog
2019-05-01 08:21:52 +02:00
Rémi Verschelde
ae41e35191
Merge pull request #27676 from qarmin/small_fixes_2
Small fixes to static analyzer bugs
2019-05-01 08:19:04 +02:00
kbake
aa4e27084f fixes 27543, adds a copy button for the editor log 2019-04-30 21:37:24 -04:00
Guillermo
60e16e4a0d Set range and change EDITOR_DEF to EDITOR_GET
Fix indentation

Fix Indentation!

Remove 14
2019-04-30 20:14:39 +02:00
Rémi Verschelde
5902e15b9b
Merge pull request #27187 from IronicallySerious/add-new-folder-button
Add 'Create Folder' button in Install Project dialog
2019-04-30 18:32:42 +02:00
Rémi Verschelde
537b1fbbba
Merge pull request #27954 from sketchyfun/bezier_fixes
Enhancements and fixes for the bezier animation track editor
2019-04-30 18:31:41 +02:00
Rémi Verschelde
c1cc438ce6
Merge pull request #27913 from Amssat221/issue27912
Set a range for line spacing
2019-04-30 18:31:20 +02:00
DrNochi
23fd2a9175 Fix script dialog path validation to handle spaces correctly 2019-04-30 16:06:43 +02:00
Rémi Verschelde
9dc9434b1b
Merge pull request #24437 from mateusfccp/single_quotes_option
Add settings for single-quotes on completion
2019-04-30 14:58:33 +02:00
miwanczuk
fda3a568ef Issue-28355 - show spaces in editor 2019-04-30 14:57:48 +02:00
Rémi Verschelde
8a7cf6f0d1
Merge pull request #25708 from SeleckyErik/issue-25611-script_dialog_cursor
Moves cursor to and selects "new_script" in Create Script dialog
2019-04-30 13:57:14 +02:00
Rémi Verschelde
1b08ba1a48
Merge pull request #25713 from qarmin/remove_all_missing_projects
Add button in Project Manager to remove all missing projects
2019-04-30 13:56:29 +02:00
Rémi Verschelde
378ddde5e3
Merge pull request #25720 from qarmin/fix_hide_search_project_settings
Clear SearchBox when unclick SearchButton
2019-04-30 13:49:01 +02:00
Rémi Verschelde
1ca65b5e26
Merge pull request #25751 from Calinou/faster-script-error-checking
Allow floating-point values in the idle parse delay editor setting
2019-04-30 13:47:52 +02:00
Rémi Verschelde
9591e587fe
Merge pull request #26022 from lupoDharkael/create-script
Add class tree selection to script inheritance selection
2019-04-30 13:43:53 +02:00
Rémi Verschelde
4e230d7134
Merge pull request #27148 from YeldhamDev/creatediag_force_guides
Force drawing guides in single-row Tree items in the editor
2019-04-30 11:56:37 +02:00
Ben Hickling
a7ef836c69 Fixed a few issues with the bezier animation track editor, fixed the Travis CI errors, added TTR to bezier value labels and rounded them to 3 decimal points 2019-04-30 10:41:23 +01:00
Rémi Verschelde
6ee5f7c881
Merge pull request #27453 from KoBeWi/glhf_scene_root
Use filename for scene root of imported models
2019-04-30 11:38:32 +02:00
Rémi Verschelde
36d4f86ed9
Merge pull request #27707 from Calinou/tweak-message-wording
Improve wording of various messages and make casing more consistent
2019-04-30 11:10:36 +02:00
Rémi Verschelde
ac0369e9ff
Merge pull request #27845 from samdze/master
Make TileMap overridable "set_cell" function called on undo/redo
2019-04-30 10:55:53 +02:00
Rémi Verschelde
5313ce232d
Merge pull request #27870 from mawenzy/pr_gotoline
Bind goto_line function for Script Editor
2019-04-30 10:53:23 +02:00
Rémi Verschelde
ceebd748b9
Merge pull request #27927 from theisegeberg/#27925_trimHalvesAudio
Fixes WAV import being cut in half with new trim code
2019-04-30 10:46:56 +02:00
gsegovia2018
bab8c760e8 Set range for line spacing 2019-04-30 10:38:10 +02:00
Rémi Verschelde
e98ccaefe8
Merge pull request #28323 from homer666/animationplayer-imported-anim-warning
Warn when opening imported anim in Animation editor
2019-04-30 10:15:30 +02:00
Rémi Verschelde
d647f7ce71
Merge pull request #28491 from guilhermefelipecgs/ux_tile_map
[TileMapEditor] Improve tool picking usability
2019-04-30 10:09:05 +02:00
homer666
80e9e93e27 Add Popup::popup_centered_clamped method
- Also replace redundant duplicate code in editor dialogs with calls to popup_centered_clamped()
2019-04-30 05:35:43 +10:00
homer666
e5c8e4019b Warn when opening imported anim in AnimationPlayer 2019-04-30 04:46:45 +10:00
Tomasz Chabora
9dba47a743 Allow to keep local transform when reparenting 2019-04-29 19:24:12 +02:00
Rémi Verschelde
7018de8425
Merge pull request #28016 from YeldhamDev/spritesheet_dialog_improvements
Small improvements to the new Sprite Sheet dialog
2019-04-29 18:40:59 +02:00
Rémi Verschelde
23147ae2c3
Merge pull request #28101 from MunWolf/debugger_cursor
Added a marker in text_edit that tells which row is executing.
2019-04-29 18:38:38 +02:00
Rémi Verschelde
82fcc99573
Merge pull request #28104 from homer666/connections-error-dialog
Update signal connections error dialog
2019-04-29 18:37:57 +02:00
Guilherme Felipe
99958c99da [TileMapEditor] Improve tool picking usability
When KEY_CONTROL is released, go back to the last tool.

Also add a tooltip for paint button with shortcuts for line draw and
rectangle paint.
2019-04-29 12:38:33 -03:00
Rémi Verschelde
8b757e0fee
Merge pull request #28451 from Calinou/limit-size-manage-feature-profiles
Limit the size of the Manage Editor Feature Profiles dialog
2019-04-29 17:25:54 +02:00
Rémi Verschelde
17ad16e396
Merge pull request #28284 from Daw11/doc-link-fix
Fix the unclickable links inside the doc
2019-04-29 17:23:50 +02:00
Rémi Verschelde
1af18ab235
Merge pull request #28399 from YeldhamDev/textedit_expose_tab_fold
Expose 'TextEdit's tab drawing and folding to GDScript
2019-04-29 17:04:46 +02:00
Rémi Verschelde
8f337b6652
Merge pull request #28407 from erammos/debugger_inspector_fix
Debugger's inspector doesn't clear it values on every debug action
2019-04-29 17:03:14 +02:00
Rémi Verschelde
3b509a9c53
Merge pull request #28435 from YeldhamDev/editorpath_menubutton_change
Make 'EditorPath' into a proper 'MenuButton'
2019-04-29 16:50:43 +02:00
Rémi Verschelde
85c27f9c90
Merge pull request #28452 from Sintinium/undoredo-lock
Undo support for locking and grouping for both 2D and 3D
2019-04-29 16:23:28 +02:00
Rémi Verschelde
8cf193b5c2
Merge pull request #28480 from homer666/keyframe-fps-mode
Update edited keyframe's snap mode properly
2019-04-29 16:22:48 +02:00
Rémi Verschelde
b1f824291b
Merge pull request #28507 from homer666/refresh-when-animation-storage-changed
Refresh import dock upon changing scene importer's "animation/storage" property
2019-04-29 16:09:02 +02:00
Rémi Verschelde
18e88c8563
Merge pull request #18992 from aaronfranke/mono-equal-approx
[Core] [Mono] Improve and use approximate equality methods
2019-04-29 10:16:46 +02:00
homer666
106d1f3c3c Refresh import dock on change "animation/storage" 2019-04-29 11:38:45 +10:00
homer666
62e0262951 Update edited keyframe's snap mode properly 2019-04-28 09:31:53 +10:00
Daw11
ce6ab56e9f Fix the unclickable links inside the doc
Fixes #27384
2019-04-27 21:30:08 +02:00
Samuele Zolfanelli
e2dd0c101e Make TileMap overridable "set_cell" function called on undo/redo 2019-04-27 17:20:32 +02:00
MrCdK
20e442a9f6 Reverts the change made to the editor progress dialog in faaecd6987
It was causing issues on Windows like, for example, when saving with CTRL+S the keys CTRL and S were stuck after saving and pressing only S would save the scene again until CTRL was pressed again.
2019-04-27 14:06:16 +02:00
Sintinium
d1fa546dc9 Undo support for locking and grouping for both 2D and 3D 2019-04-26 18:16:59 -05:00
Hugo Locurcio
f5940e2909
Limit the size of the Manage Editor Feature Profiles dialog
This makes it more readable on large monitors.
2019-04-26 18:49:37 +02:00
Chaosus
7a9735eef4 Fix uniform title color in visual shaders(regression) 2019-04-26 10:53:40 +03:00
Michael Alexsander Silva Dias
f275de24ee Make 'EditorPath' into a proper 'MenuButton' 2019-04-25 20:53:58 -03:00
Hugo Locurcio
2041e21eb5
Allow floating-point values in the idle parse delay editor setting
This also makes value changes effective without having to restart
the editor.
2019-04-26 00:01:20 +02:00
Rémi Verschelde
77f576e2a1
Merge pull request #28418 from guilhermefelipecgs/fix_scroll
Fix scroll for texture_region and polygon_2d editor
2019-04-25 22:58:03 +02:00
Rémi Verschelde
ae8f8530af
Merge pull request #28417 from guilhermefelipecgs/more_switch_on_hover
Set switch_on_hover to true for the remaining menus
2019-04-25 22:57:07 +02:00
Rémi Verschelde
f05dce3ee2
Merge pull request #28262 from KoBeWi/gotta_close_them_all
Add Close Others/Right/All for scene tabs
2019-04-25 22:46:46 +02:00
Hein-Pieter van Braam
ad744cefb0
Merge pull request #28361 from homer666/animationplayer-fps-mode-fixes
AnimationPlayer FPS mode fixes
2019-04-25 23:09:47 +03:00
Aaron Franke
b659e1eb2b
Use approximate equallity methods in many places 2019-04-25 13:20:29 -04:00
Tomasz Chabora
6169e755aa Add Close Others/Right/All for scene tabs 2019-04-25 18:14:36 +02:00
Rémi Verschelde
cce2e4b07c
Merge pull request #22301 from YeldhamDev/button_popup_highlight
Enable toggle behaviour for buttons that trigger popups
2019-04-25 17:47:23 +02:00
Guilherme Felipe
f662f1505e Fix scroll for texture_region and polygon_2d editor 2019-04-25 10:51:27 -03:00
Guilherme Felipe
32b9b3159a Set switch_on_hover to true for the remaining menus 2019-04-25 10:27:33 -03:00
Rémi Verschelde
9fc84061dd i18n: Sync translation template with current source
(cherry picked from commit 23cf9f3b6f)
2019-04-25 14:31:13 +02:00
Rémi Verschelde
d6994c9b70 i18n: Sync translations with Weblate
(cherry picked from commit 348270df38)
2019-04-25 14:31:06 +02:00
Rémi Verschelde
8c948800cd
Merge pull request #28357 from AnthonyYoManz/issue-28263-save-layout-on-close-scene-with-right-click
Save Layout When Scene Is Closed Via Context Menu
2019-04-25 13:34:54 +02:00
Rémi Verschelde
42194e2f09
Merge pull request #28354 from gdupr/gui_improvements_in_asset_editor
GUI improvements in the asset library editor.
2019-04-25 13:34:12 +02:00
Rémi Verschelde
5fe971145c
Merge pull request #28347 from homer666/tilemap-hide-menu
Hide "TileMap" menu properly in CanvasItem view
2019-04-25 13:32:04 +02:00
Rémi Verschelde
8b3eb59d66
Merge pull request #28340 from guilhermefelipecgs/fix_connection_dialog
Small fixes to connection dialog
2019-04-25 13:31:33 +02:00
Rémi Verschelde
bfd2ad0059
Merge pull request #28338 from qarmin/disable_project_export_button
Disable Project Export button after deleting preset
2019-04-25 13:30:15 +02:00
Rémi Verschelde
cfc6ae8920
Merge pull request #28336 from guilhermefelipecgs/fix_play_pos
[StateMachine] Fix play position
2019-04-25 13:28:58 +02:00
Rémi Verschelde
7dc7cbea0a
Merge pull request #28410 from guilhermefelipecgs/fix_typo
[Tilemap] Fix typo
2019-04-25 12:17:53 +02:00
Rémi Verschelde
c26f0c9bbd
Merge pull request #28377 from YeldhamDev/connection_info_script_changes
Make small changes to the new connection info on script feature
2019-04-25 10:41:27 +02:00
Rémi Verschelde
9334aea203
Merge pull request #28236 from Calinou/android-real-one-click-deploy
Require only one click to deploy to Android if one device is connected
2019-04-25 08:53:49 +02:00
Yuri Roubinsky
9f3899b20a
Merge pull request #28411 from Chaosus/fix_vs_crash
Fix crash regression in visual shader
2019-04-25 07:48:59 +03:00
Chaosus
446f8a2cc2 Fix crash regression in visual shader 2019-04-25 07:46:18 +03:00
Guilherme Felipe
6fb19bebbb [Tilemap] Fix typo 2019-04-24 21:30:50 -03:00
Elias Rammos
9f16a67754 Debugger's inspector doesn't clear it values on every debug action 2019-04-25 00:11:34 +03:00
Michael Alexsander Silva Dias
11bac340d0
Merge pull request #28363 from YeldhamDev/themeeditor_namepopup_size_fix
Fix "Name" popup's size in theme editor
2019-04-24 17:22:18 -03:00
Juan Linietsky
faaecd6987 Fixes to make exporting more responsive.
-Process and drop input in step functions.
-Hide editor file dialog right after pressing ok
-Use actual editor file dialogs for project export.
2019-04-24 15:52:15 -03:00
Michael Alexsander Silva Dias
350bcce041 Expose 'TextEdit's tab drawing and folding to GDScript 2019-04-24 12:42:12 -03:00
Chaosus
3a3df84d3b Fix connection lines glitch in visual shaders 2019-04-24 12:47:54 +03:00
Yuri Roubinsky
93e7eb0ddb
Merge pull request #28375 from Chaosus/fix_vs_loopback
Disallow loopback connection in visual shaders
2019-04-24 09:41:06 +03:00
Chaosus
21ca9f6c7c Disallow loopback connection in visual scripts and visual shaders 2019-04-24 09:14:45 +03:00
Michael Alexsander Silva Dias
4bca3236d1 Make small changes to the new connection info on script feature 2019-04-24 03:13:25 -03:00
Chaosus
9ac770be45 Removes preview from existing transform nodes in visual shader 2019-04-24 08:08:29 +03:00
homer666
e3b7f9e1ca AnimationPlayer FPS mode fixes 2019-04-24 10:52:10 +10:00
K. S. Ernest (iFire) Lee
342266d782 Modify ResourceImporterScene to split animations with blendshapes.
# Conflicts:
#	editor/import/resource_importer_scene.cpp
2019-04-23 17:25:44 -07:00
Michael Alexsander Silva Dias
dac9a5ba96 Fix "Name" popup's size in theme editor 2019-04-23 20:21:31 -03:00
DixiE
f06b62028e Save Layout When Scene Is Closed Via Context Menu 2019-04-23 22:37:02 +01:00
Rémi Verschelde
80f91c9d36
Merge pull request #28351 from Paulb23/fix_state_crash
Fix crash when restoring script editor state
2019-04-23 23:23:32 +02:00
Rémi Verschelde
0453e6eddc
Merge pull request #28348 from Chaosus/fix_vs_transform_preview
Removed incorrect "Transform" preview from visual shaders
2019-04-23 23:19:31 +02:00
Rémi Verschelde
a5ad049bf3
Merge pull request #28345 from Chaosus/fix_vs_vector3
Enlarge vector constant node in visual shaders
2019-04-23 23:17:56 +02:00
Rikhardur Bjarni Einarsson
9bfa63496a Added a marker in text_edit that tells which row is executing. 2019-04-23 21:51:01 +01:00
gdupr
b89d8bb56c Separated description from the preview content and centered the playbutton for video thumbnails in the Asset Library Editor 2019-04-23 21:53:15 +02:00
Paulb23
2fedd2559c Fix crash when restoring script editor state 2019-04-23 20:52:30 +01:00
Juan Linietsky
325f6c6581 Added inspector plugin documentation.
Fixed plugin bindings.
2019-04-23 16:39:09 -03:00
Tomasz Chabora
a93ff8d210 Add undo for Sprite Editor 2019-04-23 21:10:44 +02:00
Juan Linietsky
f2c26098a9 Revert 8d3345a, I thought this was non functioning but it is.. 2019-04-23 16:00:54 -03:00
Chaosus
be11b6f04d Removed incorrect "Transform" preview from visual shaders 2019-04-23 21:52:06 +03:00
homer666
1aaab30a2b Hide "Tilemap" menu properly in CanvasItem view 2019-04-24 04:31:53 +10:00
Chaosus
eb53c0fb32 Enlarge Vector3 constant node in visual shaders 2019-04-23 21:21:17 +03:00
Juan Linietsky
2cf6d8d334 Made virtual function begin with _, for consistency.
This was not yet used, anyway as no API is bound for this.
2019-04-23 15:20:00 -03:00
Guilherme Felipe
0fcbf4da8f [StateMachine] Fix play position
Continuation of 771fbd282a
2019-04-23 14:59:16 -03:00
Guilherme Felipe
d8de9cc20f Small fixes to connection dialog 2019-04-23 13:39:16 -03:00
qarmin
2fc2d82465 Disable Project Export button after deleting preset 2019-04-23 17:49:15 +02:00
Rémi Verschelde
04efa59868
Merge pull request #28292 from homer666/merge-from-scene-stuff
Minor "Merge From Scene" improvements
2019-04-23 12:08:55 +02:00
Rémi Verschelde
baad657091
Merge pull request #28321 from jbuck3/checkable-property-fix
Fix drawing of checkable editor properties
2019-04-23 12:05:22 +02:00
Hein-Pieter van Braam
2ea75764c0
Merge pull request #24796 from guilhermefelipecgs/fix_play_pos_sm
Show play position of sub state machine
2019-04-23 06:32:07 +03:00
Hein-Pieter van Braam
696d9d20cf
Merge pull request #25510 from groud/tilemap_editor_enhancement
Move some tilemap options to the toolbar
2019-04-23 06:26:46 +03:00
Hein-Pieter van Braam
c794107988
Merge pull request #25744 from YeldhamDev/enhanced_theme_preview
Enhance theme preview
2019-04-23 06:23:00 +03:00
Hein-Pieter van Braam
5d33f241f0
Merge pull request #26064 from JFonS/add_frustum_camera_mode
Add FRUSTUM camera mode, allowing tilted frustums
2019-04-23 06:20:13 +03:00
Hein-Pieter van Braam
a112eb599f
Merge pull request #28064 from DarknessCatt/issue-27077
Moving Polygon2D vertices along axis
2019-04-23 05:55:57 +03:00
James Buck
c230c6db98 Fix drawing of checkable editor properties
- Make text cutoff respect checkbox icon's width
  - Get checkbox icon from EditorIcons instead of CheckBox
2019-04-22 20:38:17 -05:00
Mariano Javier Suligoy
1bbe95b452
Merge pull request #28178 from dankan1890/tileset_editor_add_1
Tileset-Editor: Added alternative tool for drawing a rectangular shape.
2019-04-22 14:08:50 -03:00
Rémi Verschelde
5881c6505b
Merge pull request #27414 from KoBeWi/drop_the_dir
Allow to drop folders onto editor
2019-04-22 12:01:32 +02:00
Rémi Verschelde
a342131eba
Merge pull request #27673 from qarmin/small_fixes
Small fixes, mostly duplicated code
2019-04-22 12:00:34 +02:00
Rémi Verschelde
22457b907e
Merge pull request #28234 from Paulb23/connection_info_on_script
Display connection information in the script editor
2019-04-22 11:52:13 +02:00
homer666
36f955e4f3 Minor "Merge From Scene" improvements 2019-04-22 12:01:20 +10:00
Hugo Locurcio
0fc0641e7d
Fix rotation offset/snap fields being cut off in Configure Snap dialog 2019-04-22 00:51:48 +02:00
Hugo Locurcio
35a0162167
Improve wording of various messages and make casing more consistent
This also adds the number of selected projects to the confirmation
dialog that appears before removing projects.
2019-04-21 14:37:14 +02:00
Rémi Verschelde
e292cc0a0a
Merge pull request #28028 from homer666/visual-shader-editor-member-dialog-fixes
Misc. improvements to visual shader's "Add Node" dialog
2019-04-21 13:48:51 +02:00
Rémi Verschelde
abaee11f4f
Merge pull request #27812 from guilhermefelipecgs/fix_audio_buses_font
Change font of audio notches to default font
2019-04-21 13:24:39 +02:00
Rémi Verschelde
78eb25a4a8
Merge pull request #27860 from Calinou/improve-3d-snapping
Make 3D snapping finer when holding Shift
2019-04-21 13:12:10 +02:00
Rémi Verschelde
71bbe6eb01
Merge pull request #27979 from Paulb23/remember_script_state
Restore script editor state between sessions
2019-04-21 13:01:43 +02:00
Rémi Verschelde
7879968136
Merge pull request #28026 from Dentoid/insert_keyframe_fix
Fix for "Insert Keyframe" shortcut doing nothing
2019-04-21 12:58:24 +02:00
Rémi Verschelde
e003324a1e
Merge pull request #28245 from guilhermefelipecgs/open_menu
Small ux improvement
2019-04-21 12:50:45 +02:00
Andrii Doroshenko (Xrayez)
824f68483f Add ability to expand/collapse nodes recursively in scene tree dock
To expand or collapse the node recursively (all children), hold `Shift`
button and click on the node's folding arrow.

The popup menu option `Expand/Collapse All" checks whether any node
is expanded or collapsed first and performs the opposite operation. That
means if any children node is collapsed, it will first expand all nodes
at selected node.

Co-authored-by: Rikhardur Bjarni Einarsson (MunWolf) badulf96@gmail.com
2019-04-21 13:50:30 +03:00
Rémi Verschelde
db3dd67d47
Merge pull request #28130 from JFonS/add_3d_grouping
Add grouping to 3D editor
2019-04-21 09:30:15 +02:00
Michael Alexsander Silva Dias
aa7d10b2bc Small improvements to the new Sprite Sheet dialog 2019-04-21 00:32:45 -03:00
dankan1890
12a01a33aa Tileset-Editor: Added alternative tool for drawing a rectangular shape. 2019-04-21 02:51:49 +02:00