Commit graph

4565 commits

Author SHA1 Message Date
Rémi Verschelde ce3e3b609c i18n: Sync translations with Weblate 2019-07-02 13:22:58 +02:00
Rémi Verschelde 98879be276
Merge pull request #27510 from fire/screenshot_editor
Add editor screenshot on control - f12.
2019-07-02 11:30:16 +02:00
Rémi Verschelde e8b483ce21
Merge pull request #19936 from Xrayez/collapse-button
Expand/collapse nodes recursively in scene tree dock
2019-07-02 10:02:24 +02:00
Rémi Verschelde 0ab11e436d
Merge pull request #29656 from nhold/add-remove-option-array-inspector
Add buttons to remove keys\items from dictionaries\arrays.
2019-07-02 07:29:22 +02:00
Nathan Hold bd9cc84fdc Add option to remove array item and button to remove typed array item 2019-07-02 12:42:37 +10:00
K. S. Ernest (iFire) Lee 05de0eafab Add editor screenshot on control - f12. 2019-07-01 13:39:21 -07:00
Rémi Verschelde 0268a4869d
Merge pull request #30196 from LikeLakers2/scenetreedock-script-creation-bugfix
SceneTreeDock will now only attach scripts to the selected node if the ScriptCreateDialog was opened from the SceneTreeDock
2019-07-01 21:13:46 +02:00
Rémi Verschelde 4d99408d12
Merge pull request #28884 from vnen/yield-resume-stack
Keep GDScript functions in stack while yielding
2019-07-01 16:35:26 +02:00
Rémi Verschelde f5d9454a4b
Merge pull request #29071 from YeldhamDev/improve_bookmarks
Improve bookmarks
2019-07-01 16:34:17 +02:00
Rémi Verschelde b0ce9401ff
Merge pull request #30126 from qarmin/remove_unnecessary_code
Remove unnecessary code and add some error explanations
2019-07-01 14:32:04 +02:00
qarmin 3c154eb93b Remove unnecessary code and add some error explanations 2019-07-01 12:59:42 +02:00
Hugo Locurcio 310b03d97e
Tweak gamepad button names to be consistent with the documentation 2019-07-01 12:18:59 +02:00
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