Commit graph

33911 commits

Author SHA1 Message Date
Bastiaan Olij ceebe4b565 Chose format from supported ones that we support 2021-04-05 22:39:17 +10:00
Rémi Verschelde 33b8f1448e
Merge pull request #47592 from jmb462/fix-VisualScriptFunctionState-connect-to-null-signal-crash
Fix VisualScriptFunctionState connect to null object crash (Fix #47572)
2021-04-05 12:15:58 +02:00
Rémi Verschelde de3b3e1cda
Merge pull request #47633 from Calinou/editor-theme-scrollbar-add-background
Add a subtle background to editor scrollbars
2021-04-05 12:05:07 +02:00
Rémi Verschelde 460bef1dab
Merge pull request #47597 from Faless/js/4.x_fetch_no_clen
[HTML5] Disable body_size in fetch.
2021-04-05 11:59:28 +02:00
Rémi Verschelde e0b24467f7
Merge pull request #47627 from Blackiris/fix-gdscript-var-address
Fix GDScript variables addresses getting mixed
2021-04-05 11:55:47 +02:00
Rémi Verschelde aea30827eb
Merge pull request #47638 from RoniPerson/patch-1
Added missing `:` in gdscript example for `TileMap` class reference.
2021-04-05 11:54:59 +02:00
Rémi Verschelde 77dc4c3cb6
Merge pull request #47636 from qarmin/input
Fix crashes in *_input functions
2021-04-05 11:54:08 +02:00
Rémi Verschelde 789646e201
Merge pull request #47632 from Calinou/asset-search-autofocus
Automatically focus the Search field when displaying asset library
2021-04-05 11:38:48 +02:00
Rémi Verschelde 189aa6340e
Merge pull request #47408 from megalobyte/remove-float-recast
Use double when setting the default step size
2021-04-05 11:37:06 +02:00
Rémi Verschelde 40c56f924b
Merge pull request #47631 from pycbouh/update-misformatted-docs
Fix misformatted documentation from recent PRs
2021-04-05 11:36:24 +02:00
RoniPerson 5870931a15
Added missing : in gdscript example. 2021-04-05 11:13:25 +02:00
Rémi Verschelde 07d26edafc
Merge pull request #47623 from Bromeon/bugfix/gdnative-cleanup
Fix error in the console: `double free or corruption (!prev)` at exit of GDnative C++ application
2021-04-05 10:07:59 +02:00
Rafał Mikrut 504bc5cc67 Fix crashes in *_input functions 2021-04-05 08:52:21 +02:00
Hugo Locurcio b60b6ddba4
Add a subtle background to editor scrollbars
This makes it possible to see whether a scrollbar grabber is at the top
or at the bottom of a scrollbar. Also, if a scrollable area is very
large, this makes it easier to notice that the area can be scrolled
(since the grabber is proportionally very small).

The scrollbar grabbers were also made thicker and slightly more opaque
for better visibility, especially in peripheral vision.
2021-04-05 02:04:45 +02:00
Hugo Locurcio d89d00ac7e
Automatically focus the Search field when displaying asset library
- Focus the project search box when switching from the Templates tab
  back to the Projects tab in the project manager.
- Add a context-specific placeholder for the asset library search box.
- Rename "Search" project filter box placeholder to the more
  descriptive "Filter projects". When performing a search on an
  existing selection, "Filter" is more accurate than "Search".
2021-04-05 01:45:39 +02:00
Yuri Sizov c526a1e22d Fix misformatted documentation from #47435, #42827, #46991 2021-04-04 23:25:40 +03:00
Julien Nguyen 3168c2a513 Fix GDScript variables addresses getting mixed 2021-04-04 19:03:15 +02:00
Rémi Verschelde a864a703ee
Merge pull request #47624 from Chaosus/vs_fix_context_menu_separator
Fix few bugs in the context menu for Comment node in visual shaders
2021-04-04 18:33:34 +02:00
Yuri Roubinsky 541bd55960
Merge pull request #47616 from Chaosus/vs_prevent_texture_uniform_convert
Prevents TextureUniform in visual shaders from conversion to constant
2021-04-04 18:09:26 +03:00
Yuri Roubinsky 0fecd4ee4d Fix separator duplication in visual shader context menu 2021-04-04 17:55:42 +03:00
Yuri Roubinsky 44af52d62c Prevents TextureUniform in visual shaders from conversion to constant 2021-04-04 17:32:44 +03:00
Jan Haller 0fe851da23 Fixes #47607 (forgotten statement in GDNative cleanup)
Co-authored-by: geekrelief <geekrelief@gmail.com>
2021-04-04 16:11:16 +02:00
Rémi Verschelde cbf5408685
Merge pull request #46273 from Chaosus/vs_comment
Added Comment node to Visual Shaders
2021-04-04 16:04:12 +02:00
Rémi Verschelde 29c7319f60
Merge pull request #47617 from Chaosus/vs_fix_typo
Fix typo in visual shader context menu
2021-04-04 15:46:01 +02:00
Yuri Roubinsky 5af08e5e65 Fix typo in visual shader context menu 2021-04-04 15:31:04 +03:00
Fabio Alessandrelli 737ed0f66e [HTML5] Disable body_size in fetch.
We were using `Content-Length` from the server when `Content-Encoding`
was not set (i.e. response was not compressed).

Sadly, in CORS requests accessing headers is restricted, and while
`Content-Length` is enabled by default, `Content-Encoding` is not.

This results in the impossibility of knowing if the content was
compressed, unless the server explicitly enabled the encoding header
via `Access-Control-Expose-Headers`.

To keep maximum compatibility we must disable `body_size` completely.
2021-04-03 15:05:36 +02:00
jmb462 3a0a71fa6a Fix VisualScriptFunctionState connect to null object crash 2021-04-03 12:13:26 +02:00
Rémi Verschelde ed2f51b15f
Merge pull request #47452 from BastiaanOlij/xr_positional_tracker_ref
Change XRPositionalTracker to a reference (master)
2021-04-03 10:13:23 +02:00
Rémi Verschelde 4a65e69296
Merge pull request #47571 from lucicam/master
Fix crash caused by null parameter passed to CameraServer.add_feed()
2021-04-03 09:39:29 +02:00
Rémi Verschelde 8f7f584639
Merge pull request #47547 from kevinms/fix-color-picker-text-export-master
Make ColorPicker button text and tooltips appear in exported projects
2021-04-02 22:03:20 +02:00
Rémi Verschelde 9859f6d147
Merge pull request #47576 from jmb462/fix-classDB-class_get_property-crash
Fix crash on null object in ClassDB.get_property() and set_property() (Fix #47573)
2021-04-02 20:20:55 +02:00
jmb462 400843c172 fix crash on null class in ClassDB.get_property() and set_property() 2021-04-02 20:05:01 +02:00
lucicam c158a63a8a Fix crash caused by null parameter passed to CameraServer.add_feed()
Fixes #46181

CameraServer.add_feed() takes a CameraFeed object type as parameter.
Passing in another type of data while binding the method it will make
tha parameter null.
Added a check for null which returns from function and does not make the
engine crash anymore.
2021-04-02 17:11:30 +03:00
Rémi Verschelde 86108679b3
Merge pull request #47561 from szymonm-google/remove_debug_code
Removed debug code
2021-04-02 10:43:43 +02:00
Szymon Majewski 1328208063 Removed debug code 2021-04-01 20:09:48 -07:00
Kevin Smith a7d12920f2 Make ColorPicker button text and tooltips appear in exported projects 2021-04-01 11:06:24 -04:00
Rémi Verschelde 4b6e9f3157
Merge pull request #46991 from madmiraal/rename-invert-reverse
Rename Array.invert() to Array.reverse()
2021-04-01 13:32:22 +02:00
megalobyte d0f3817876 Use double when setting the default step size
Casting it as a float was causing issues with the progress bar
2021-03-31 22:28:08 -07:00
Rémi Verschelde 7db85fffb5
Merge pull request #43550 from KoBeWi/resourcism
Add option to exclude selected resources on export
2021-04-01 00:20:54 +02:00
Rémi Verschelde c2b7c69e2b
Merge pull request #42827 from lyuma/rename_bones_blendshapes
Allow renaming bones and blendshapes.
2021-04-01 00:20:07 +02:00
Rémi Verschelde 36c11a5b93
Merge pull request #42890 from Ev1lbl0w/bugfix-import-zip
Allow Godot to import .ZIP files with non-regular structure
2021-04-01 00:18:19 +02:00
Rémi Verschelde 54a690ead1
Merge pull request #43155 from nathanfranke/collapse-resource-preview
Collapse Resource Preview Properly
2021-04-01 00:16:44 +02:00
Rémi Verschelde bb90d3adc9
Merge pull request #47534 from likeich/fix_gdnative_null_config
Fix gdnative config file set as null
2021-03-31 21:31:42 +02:00
Kyle 618dd892f5 Fix gdnative config file set as null
Fixes #

Setting a GDNativeLibrary config file as null or any other object but a ConfigFile will now cause an error.
2021-03-31 15:00:31 -04:00
Rémi Verschelde 5d0cc7c15f Merge pull request #47252 from KoBeWi/themecide
Add methods to remove theme overrides
2021-03-31 20:52:19 +02:00
Rémi Verschelde 8621c86f4d
Merge pull request #47283 from Panquesito7/fix_lgtm_alerts
fix: 3 LGTM alerts/warnings
2021-03-31 18:52:04 +02:00
David Leal a31626ae0b
fix: 3 LGTM alerts/warnings 2021-03-31 10:34:40 -06:00
Rémi Verschelde 1508fe1393
Merge pull request #47230 from trollodel/anim_track_color
Preview the color animation in the animation editor
2021-03-31 13:56:32 +02:00
Rémi Verschelde 9cd1e50969
Merge pull request #47250 from BastiaanOlij/check_vulkan_version
Obtain supported Vulkan API
2021-03-31 13:45:43 +02:00
Rémi Verschelde 6b25c94bd6
Merge pull request #47519 from AndreaCatania/AndreaCatania-patch-4
Fixes editor crash on closing
2021-03-31 12:47:25 +02:00