Commit Graph

33790 Commits

Author SHA1 Message Date
sygi 6f3e7f7cb0 Add mouse_shape_entered and mouse_shape_exited signals to CollisionObject2D.
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2021-07-02 20:50:27 +01:00
Rémi Verschelde a82765a464
Merge pull request #47403 from likeich/project_man_scale_fix
Fix project manager window size scaling
2021-03-27 08:46:16 +01:00
Kyle 918f50c04c Fixes project manager window size scaling
This is a workaround fix for a Vector2i multiplication regression issue that prevents the project manager window size from scaling correctly. This calculates the new window size x and y values separately.
2021-03-26 21:27:43 -04:00
Rémi Verschelde 5cdd4ee8bc
Merge pull request #47396 from reduz/optimize-channel-detection
Optimize image channel detection
2021-03-26 22:12:53 +01:00
Juan Linietsky 4763835c11 Optimize image channel detection
Speeds up compression
2021-03-26 15:44:00 -03:00
Rémi Verschelde 2bd89ac249
Merge pull request #44695 from madmiraal/fix-44632
Remove all elements from monitored_bodies and monitored_areas when processed
2021-03-26 16:34:02 +01:00
Rémi Verschelde c9dece3b86
Merge pull request #47385 from KoBeWi/open_then_save
Save project after opening
2021-03-26 15:25:12 +01:00
kobewi 76240515d8 Save project after opening 2021-03-26 14:10:41 +01:00
Fabio Alessandrelli 166a6d0ba2
Merge pull request #47331 from Calinou/html5-editor-opengraph
Add Open Graph metadata to the HTML5 editor
2021-03-26 13:42:34 +01:00
Rémi Verschelde 21f9cb29bd
Merge pull request #47375 from rishabhabhani/master
Added null checks for mesh in resource importer
2021-03-26 09:27:00 +01:00
Rémi Verschelde 6bb1eb8212
Merge pull request #47374 from timothyqiu/check-section
Check section existance before getting keys
2021-03-26 09:20:36 +01:00
Rishabh Abhani 435c80490a added null checks for mesh in resource importer 2021-03-26 11:49:06 +05:30
Haoyu Qiu 40d6a25ef5 Check section existance before getting keys 2021-03-26 10:05:25 +08:00
Rémi Verschelde c6b9ceadf2
Merge pull request #47163 from bruvzg/macos_sandbox_file_dialog
FileDialog: add Back/Forward buttons, add message for inaccessible folders.
2021-03-26 00:00:25 +01:00
Rémi Verschelde b3a409f4aa
Merge pull request #47228 from mortarroad/master-fix-particles-material-spread
Fix ParticlesMaterial spread.
2021-03-25 23:57:11 +01:00
Rémi Verschelde 0d2da276b8
Merge pull request #47362 from Calinou/editor-hide-renderer-selection
Hide renderer selection dropdown in the editor as it's not implemented
2021-03-25 18:30:16 +01:00
Hugo Locurcio 31fa1af0c0
Hide renderer selection dropdown in the editor as it's not implemented
It will take at least a few months until an OpenGL renderer is made
available for the `master` branch.
2021-03-25 18:09:22 +01:00
Morris Tabor 0fc8318f1a Fix ParticlesMaterial spread 2021-03-25 17:33:44 +01:00
Rémi Verschelde 8d11b6374e
Merge pull request #47359 from lucicam/master
Fix failure in set_primary_interface when parameter is null
2021-03-25 16:55:43 +01:00
lucicam c98ca4e959 Fix failure in set_primary_interface when parameter is null
The program would fail if the parameter is passed as null in set_primary_interface because
in the print_verbose, the get_namea) method is called on the parameter and this causes a
failure if the parameter that was passed is null.

Same fix was done in 3.x also and it seems to be present in master too.
2021-03-25 17:36:22 +02:00
Rémi Verschelde 9343a8a970
Merge pull request #47251 from pycbouh/theme-more-useful-methods
Add utility methods to Theme, improve error messages and documentation
2021-03-25 13:09:27 +01:00
Rémi Verschelde 3a5929abf3
doc: Sync classref with current source 2021-03-25 12:19:51 +01:00
Rémi Verschelde 5953f4d766
Merge pull request #47329 from likeich/function_click_centered
Fix ctrl-click function line centering
2021-03-25 00:18:04 +01:00
Rémi Verschelde 869fe5d302
Merge pull request #47341 from Bogunovich/fix-FileSystemDock_select_file
Fix opening scene (.tscn) via FileSystem
2021-03-24 23:58:06 +01:00
James Castanho babaddbdec edit if statement in FileSystemDock::_select_file() 2021-03-24 16:10:41 -05:00
Hugo Locurcio 197d391f08
Add Open Graph metadata to the HTML5 editor
- Consistently use double quotes in the HTML markup.
- Define English language to assist screen readers and search engines.
- Add missing `alt` text for the logo image.
- Remove duplicate `id` for the preload project ZIP input.
2021-03-24 18:42:41 +01:00
Kyle 2b775bd698 Fixes ctrl-click function line centering
When ctrl-clicking in the code editor, the view will now be centered on the function result.

Also replaces a circumstance where goto_line_centered should be used.
2021-03-24 12:29:14 -04:00
Rémi Verschelde 9a64d6b2b2
Merge pull request #47314 from fire/gltf-names
Always have a name for gltf2 mesh, material and skins.
2021-03-24 16:54:25 +01:00
Rémi Verschelde e9144d2519
Merge pull request #47320 from KoBeWi/what_time_is_it
Clarify that get_unix_time() returns seconds
2021-03-24 13:49:33 +01:00
kobewi 6e4a8b7f37 Clarify that get_unix_time() returns seconds 2021-03-24 13:21:32 +01:00
Rémi Verschelde 92cdd646bd
Merge pull request #47318 from Faless/js/4.x_miniupnpc_fix
[Net] Fix miniupnpc UWP build.
2021-03-24 13:13:43 +01:00
Fabio Alessandrelli 8d5df826cb [Net] Fix miniupnpc UWP build.
The patch has already been upstreamed, and custom patching won't be
needed during next version update.
2021-03-24 12:53:43 +01:00
Rémi Verschelde fe566ee2a8
Merge pull request #47317 from Faless/js/4.x_editor_manifest_web
[HTML5] Clarify editor PWA manifest.json
2021-03-24 11:52:50 +01:00
Fabio Alessandrelli ecb792b1da [HTML5] Clarify editor PWA manifest.json
Update name and description to clarify it's the web version.
2021-03-24 11:35:19 +01:00
Rémi Verschelde 64b4bd4ee0
Merge pull request #47301 from akien-mga/drop-resource-importer-csv
Remove now unnecessary ResourceImporterCSV importer
2021-03-24 09:25:55 +01:00
Rémi Verschelde 0682422b1e
Merge pull request #47311 from RevoluPowered/fix-importer-bug
Fix use of Error its uninitialised and resolves importers being broken
2021-03-24 09:25:09 +01:00
K. S. Ernest (iFire) Lee 60eb3dd6ad Always have a name for gltf2 mesh, material and skins.
Co-authored-by: Lcbx <luc.courbariaux@gmail.com>
2021-03-24 00:30:22 -07:00
Gordon MacPherson 8db565cabd Fix use of Error its uninitialised and resolves importers being broken 2021-03-23 23:46:22 +00:00
Rémi Verschelde 1829eb4608
Merge pull request #47293 from resul4e/vsproj_tests
Enable unit testing in MSVC when tests=yes is supplied
2021-03-23 23:58:18 +01:00
Resul Çelik 12dfdd546f SCons: Pass tests configuration to the MSVC solution
Test sources and build parameter were not supplied to the visual studio project. This resulted in a build that was not able to be test using the --test command. Adding build parameter ensures we can test, and supplying the sources ensures we have all files to write new tests and edit existing ones.
2021-03-23 23:29:14 +01:00
Rémi Verschelde 7ed2220928
Remove now unnecessary ResourceImporterCSV importer
Its only purpose was to prevent importing CSV files as translations, but it
would still import them as *nothing*, leading to workflow issues.

This is now properly fixed with #47268 which allows disabling the import for
specific files.
2021-03-23 15:49:30 +01:00
Rémi Verschelde 538daf6731
Merge pull request #47298 from reduz/remove-keep-files-error
Remove FileSystem dock errors on unimported files
2021-03-23 15:44:40 +01:00
Juan Linietsky 4706297356 Remove FileSystem dock errors on unimported files
* Removes error shown when file is in 'keep' mode
* Display a warning when attempting to open the file
* Closes #47296
2021-03-23 11:33:07 -03:00
Rémi Verschelde cd05653e30
Merge pull request #47292 from akien-mga/sdl-gamecontrollerdb
Sync controller mappings DB with SDL2 community repo
2021-03-23 13:40:55 +01:00
Rémi Verschelde 22716a1df2
Merge pull request #36004 from nathanfranke/fix-transparent-theme-color
Fix transparent editor theme being brighter
2021-03-23 13:25:38 +01:00
Rémi Verschelde cdafcc3206
Merge pull request #42974 from skyace65/NavMesh2
Document more NavigationMesh properties
2021-03-23 13:24:01 +01:00
Rémi Verschelde cde67f0315
Sync controller mappings DB with SDL2 community repo
Synced with gabomdq/SDL_GameControllerDB@807ac1fbf9.
2021-03-23 13:18:43 +01:00
Rémi Verschelde 6610289fdd
Merge pull request #40804 from naithar/fix/json-parse
JSON parser fix
2021-03-23 13:07:04 +01:00
Rémi Verschelde 036a50e8b9
Merge pull request #37755 from KoBeWi/check_down
Add disabled theme icons for CheckBox
2021-03-23 13:06:02 +01:00
Rémi Verschelde 5238f1399d
Merge pull request #38054 from aaronfranke/enums
Rename many global enums relating to input
2021-03-23 13:00:24 +01:00