summaryrefslogtreecommitdiff
path: root/editor
AgeCommit message (Collapse)Author
2019-07-05Script API methods must return Ref<T> instead of Reference*Ignacio Etcheverry
ptrcall assumes methods that return a Reference type do so with Ref<T>. Returning Reference* from a method exposed to the scripting API completely breaks ptrcalls to this method (it can be quite hard to debug!).
2019-07-05Re-write mono module editor code in C#Ignacio Etcheverry
Make the build system automatically build the C# Api assemblies to be shipped with the editor. Make the editor, editor player and debug export templates use Api assemblies built with debug symbols. Always run MSBuild to build the editor tools and Api assemblies when building Godot. Several bugs fixed related to assembly hot reloading and restoring state. Fix StringExtensions internal calls not being registered correctly, resulting in MissingMethodException.
2019-07-04FileSystem dock: Improve duplicate check for directory pathsRémi Verschelde
Supersedes and closes #30225.
2019-07-04Parse more informations for code completionGeequlim
2019-07-03Merge pull request #30283 from Calinou/add-3d-gizmo-snappingRémi Verschelde
Implement snapping for most 3D gizmos
2019-07-03Make easier to select keys that are at position 0 in AnimationPlayer editorjens
Fixes #26151. Co-Authored-By: Michael Alexsander Silva Dias <michaelalexsander@protonmail.com>
2019-07-03Implement snapping for most 3D gizmosHugo Locurcio
2019-07-03Merge pull request #30264 from Calinou/add-csg-gizmo-snappingRémi Verschelde
Implement snapping in the CSG gizmos and 3D polygon editor
2019-07-02Merge pull request #30253 from akien-mga/signals-tooltipRémi Verschelde
ConnectionsDock: Add tooltip with signal description
2019-07-02Merge pull request #30231 from Ranoller/masterRémi Verschelde
Tilemap fix displaced textures and shapes and added center texture and compatibility mode
2019-07-02Merge pull request #30252 from Faless/tls/disable_no_crashRémi Verschelde
Fix editor crash when StreamPeerSSL is unavilable.
2019-07-02Merge pull request #30228 from YeldhamDev/go_to_menuRémi Verschelde
Add "Go To" menu to the script editor and move the bookmark and breakpoint menus there
2019-07-02Implement snapping in the CSG gizmos and 3D polygon editorHugo Locurcio
The spatial editor snap settings will now affect the CSG gizmos and 3D polygon editor (which is used in CSGPolygon).
2019-07-02Tilemap fix displaced textures and shapes and added center texture and ↵Ranoller
compatibility mode This commit fix #22989 #15249 #28206. Main problem is that tilemap displace textures in different tile origins in a strange way and doesn´t respect coincidence between texture and shapes in not uniform tiles. This issue is present in godot 3.0 and godot 3.1. To maintain compatibility are added a compatibility mode and a center texture option. Other related issues and pull request: #28896 #29487 #29519 #29961. Idications of #30204 are added
2019-07-02ConnectionsDock: Add tooltip with signal descriptionRémi Verschelde
Had to create a custom Tree to override `make_custom_control` for the rich text display, similar to EditorProperty. Fixes #30244.
2019-07-02Fix editor crash when StreamPeerSSL is unavilable.Fabio Alessandrelli
The fix for EditorNode is a bit hacky, but the handling of the buttons and features there is hacky too (based on enums that might not reflect the actual state).
2019-07-02Merge pull request #30239 from Faless/crypto/crypto_coreRémi Verschelde
CryptoCore class to access to base crypto utils.
2019-07-02Merge pull request #30249 from marxin/fix-gcc9-warningsRémi Verschelde
Fix few GCC9 warnings:
2019-07-02Fix few GCC9 warnings:Martin Liska
thirdparty/assimp/include/assimp/material.inl: In member function 'aiReturn aiMaterial::Get(const char*, unsigned int, unsigned int, aiColor3D&) const': thirdparty/assimp/include/assimp/material.inl:176:33: error: implicitly-declared 'aiColor3D& aiColor3D::operator=(const aiColor3D&)' is deprecated [-Werror=deprecated-copy] 176 | pOut = aiColor3D(c.r,c.g,c.b); modules/dds/texture_loader_dds.cpp:167:50: error: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Werror=sign-compare] 167 | if (format_flags & DDPF_FOURCC && format_fourcc == PF_FOURCC("DXT1")) { | ^ [ 28%] modules/dds/texture_loader_dds.cpp:170:57: error: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Werror=sign-compare] 170 | } else if (format_flags & DDPF_FOURCC && format_fourcc == PF_FOURCC("DXT3")) { | ^ modules/dds/texture_loader_dds.cpp:174:57: error: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Werror=sign-compare] 174 | } else if (format_flags & DDPF_FOURCC && format_fourcc == PF_FOURCC("DXT5")) { | ^ modules/dds/texture_loader_dds.cpp:177:57: error: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Werror=sign-compare] 177 | } else if (format_flags & DDPF_FOURCC && format_fourcc == PF_FOURCC("ATI1")) { | ^ modules/dds/texture_loader_dds.cpp:180:57: error: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Werror=sign-compare] 180 | } else if (format_flags & DDPF_FOURCC && format_fourcc == PF_FOURCC("ATI2")) { | ^ modules/dds/texture_loader_dds.cpp:183:57: error: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Werror=sign-compare] 183 | } else if (format_flags & DDPF_FOURCC && format_fourcc == PF_FOURCC("A2XY")) { | ^ thirdparty/assimp/include/assimp/material.inl: In member function 'aiReturn aiMaterial::Get(const char*, unsigned int, unsigned int, aiColor3D&) const': thirdparty/assimp/include/assimp/material.inl:176:33: error: implicitly-declared 'aiColor3D& aiColor3D::operator=(const aiColor3D&)' is deprecated [-Werror=deprecated-copy] 176 | pOut = aiColor3D(c.r,c.g,c.b);
2019-07-02i18n: Sync translation template with current sourceRémi Verschelde
2019-07-02Fix TTR strings for VisualShaderNodesRémi Verschelde
It had been done wrongly in #30185, but I missed it.
2019-07-02i18n: Sync translations with WeblateRémi Verschelde
2019-07-02CryptoCore class to access to base crypto utils.Fabio Alessandrelli
Godot core needs MD5/SHA256/AES/Base64 which used to be provided by separate libraries. Since we bundle mbedtls in most cases, and we can easily only include the needed sources if we so desire, let's use it. To simplify library changes in the future, and better isolate header dependencies all functions have been wrapped around inside a class in `core/math/crypto_base.h`. If the mbedtls module is disabled, we only bundle the needed source files independently of the `builtin_mbedtls` option. If the module is enabled, the `builtin_mbedtls` option works as usual. Also remove some unused headers from StreamPeerMbedTLS which were causing build issues.
2019-07-02Merge pull request #27510 from fire/screenshot_editorRémi Verschelde
Add editor screenshot on control - f12.
2019-07-02Merge pull request #19936 from Xrayez/collapse-buttonRémi Verschelde
Expand/collapse nodes recursively in scene tree dock
2019-07-02Merge pull request #29656 from nhold/add-remove-option-array-inspectorRémi Verschelde
Add buttons to remove keys\items from dictionaries\arrays.
2019-07-02Add option to remove array item and button to remove typed array itemNathan Hold
2019-07-01Add editor screenshot on control - f12.K. S. Ernest (iFire) Lee
2019-07-01Merge pull request #30196 from LikeLakers2/scenetreedock-script-creation-bugfixRémi Verschelde
SceneTreeDock will now only attach scripts to the selected node if the ScriptCreateDialog was opened from the SceneTreeDock
2019-07-01Add "Go To" menu to the script editor and move the bookmark and breakpoint ↵Michael Alexsander Silva Dias
menus there
2019-07-01Merge pull request #28884 from vnen/yield-resume-stackRémi Verschelde
Keep GDScript functions in stack while yielding
2019-07-01Merge pull request #29071 from YeldhamDev/improve_bookmarksRémi Verschelde
Improve bookmarks
2019-07-01Merge pull request #30126 from qarmin/remove_unnecessary_codeRémi Verschelde
Remove unnecessary code and add some error explanations
2019-07-01Remove unnecessary code and add some error explanationsqarmin
2019-07-01Tweak gamepad button names to be consistent with the documentationHugo Locurcio
2019-07-01Merge pull request #29815 from NilsIrl/plus_file_1Rémi Verschelde
Replace ` + "/" + ` with `String::file_add()`
2019-07-01Merge pull request #30089 from fire/cicd-crashRémi Verschelde
Headless CI/CD crash fixes
2019-07-01Merge pull request #30072 from mbrlabs/node-search-fixRémi Verschelde
Better pre-selection of search result node in "Create New Node" dialog.
2019-07-01Merge pull request #28701 from SonerSound/masterRémi Verschelde
Export paths are now saved as relative paths
2019-07-01Merge pull request #30146 from Chaosus/editor_file_dlg_exRémi Verschelde
Auto-change file extension in EditorFileDialog when filter changes
2019-06-30Export path may now be written as a relative pathSonerSound
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-29SceneTreeDock will now only attach scripts to the selected node if the ↵LikeLakers2
ScriptCreateDialog was opened from the SceneTreeDock
2019-06-29ScriptCreateDialog should emit the script_changed signal firstLikeLakers2
2019-06-29Merge pull request #30177 from hbina/use_FALLTHROUGH_macroRémi Verschelde
Applied some of FALLTHROUGH macro usage from #30122
2019-06-29Many fallthrough switch cases now have the FALLTHROUGH macro to tell the ↵hbina085
compiler that this is intended.
2019-06-29Merge pull request #30167 from Xrayez/module-editor-iconsRémi Verschelde
Add support for creating editor icons per module
2019-06-29Merge pull request #30152 from Chaosus/vs_conversionRémi Verschelde
Added convertor from VisualShader to Shader
2019-06-29Merge pull request #30187 from bojidar-bg/30184-null-valuesRémi Verschelde
Remove bogus nulls from generated default values
2019-06-29Merge pull request #30182 from hbina/pylint_anomalous_backlashRémi Verschelde
"Anomalous backslash in string: '-'" in extract.py
2019-06-29Merge pull request #30156 from qarmin/fix_memory_leak_in_tilemapRémi Verschelde
Fix memory leak in Tilemaps