Commit graph

29703 commits

Author SHA1 Message Date
Rémi Verschelde adaf488963
Merge pull request #48107 from pycbouh/the-rose-by-any-other-name
Correct pre-deprecation warning message regarding linuxbsd/x11 platform
2021-04-23 10:14:42 +02:00
Yuri Sizov dbd4b45ca2 Correct pre-deprication warning message regarding linuxbsd/x11 platform 2021-04-22 21:54:35 +03:00
Rémi Verschelde 3768a37e39
Merge pull request #48102 from akien-mga/3.x-no-lightmapper-if-no-embree
lightmapper: Disable build if raycast module can't build
2021-04-22 19:42:02 +02:00
Rémi Verschelde a2c68d9da7
lightmapper: Disable build if raycast module can't build
We need to propagate the hacky checks from the raycast config to the
lightmapper config, as the failure of a `can_build()` check is not notified to
other modules (which might even be checked further depending on the processing
order in SConstruct).

A more thorough fix would be to change SConstruct to do two loops on modules:
one to check `can_build()` and disable modules which can't build, then another
one to rechecked `can_build()` with the new lineup and do further config.
But there would be more risk for regressions than with this ad hoc hack.

Similar story for the `platform/x11/detect.py` change... oh my eyes :(
2021-04-22 19:12:37 +02:00
Rémi Verschelde b1898c77fb
Merge pull request #48073 from akien-mga/3.x-unbundle-embree
embree: Allow building against system library on Linux
2021-04-22 18:06:49 +02:00
Rémi Verschelde 10e86bc017
Add type_traits include for std::is_trivially_destructible
(cherry picked from commit 3d46f28558)
2021-04-22 17:22:52 +02:00
Rémi Verschelde 2a00a6bfca
fbx: Fix include for zlib that broke unbundling
It's possible to link against system zlib on Linux, so we should use system paths.

(cherry picked from commit 93b7406138)
2021-04-22 17:22:18 +02:00
bruvzg 575433b997
Fix crash on GDNative API json generator exit.
(cherry picked from commit a4423c82f8)
2021-04-22 17:21:52 +02:00
Rémi Verschelde b266cc2315
embree: Allow building against system library on Linux 2021-04-22 17:06:28 +02:00
Rémi Verschelde a86f5462cf
Merge pull request #48089 from JFonS/cpulm_fixes
[3.x] CPU lightmapper environment energy fixes.
2021-04-22 16:52:19 +02:00
Rémi Verschelde f36046f0ab
Merge pull request #48094 from Calinou/editor-lightmap-warning-apple-silicon
Tweak lightmapper warning message to mention Rosetta emulation on macOS
2021-04-22 16:41:59 +02:00
JFonS 2db2d1153d CPU lightmapper environment energy fixes.
* Better handling of the scene's environment energy in the lightmapper
  bakes.
* Fixed a bug where ProceduralSky::get_panorama() returned a reference
  instead of a copy.
* Removed includes to Embree's internal header files.
2021-04-22 16:26:04 +02:00
Hugo Locurcio 47f869b731
Tweak lightmapper warning message to mention Rosetta emulation on macOS 2021-04-22 15:57:52 +02:00
Rémi Verschelde 5e74554c9a
Bump version to 3.4-beta
Feature work in 3.x likely won't have a big impact on stability so we can skip
the dev/alpha phases and we'll start directly with a 3.4 beta 1 build once
significant changes have been implemented.
2021-04-22 15:27:35 +02:00
Rémi Verschelde 8e68f2e5f4
Bump version to 3.3-stable \o/
Congratulations to everyone in the Godot community for this awesome new
release!

What started as a 3.2.4 maintenance update for the Godot 3.2 branch finally
evolved to be a very significant release which warranted a version change,
so here we are with Godot 3.3!

It includes close to 2000 commits from over 250 contributors since the 3.2.3
release in September 2020.

Thanks to all involved, whether you contributed code, documentation, bug
reports, translations, community support or donations. You all played a role
in bringing better free and open source game development tools to the world!
2021-04-21 15:34:48 +02:00
Rémi Verschelde d53c93a850
Merge pull request #48055 from Calinou/update-changelog-3.3-2
Add more items to the changelog for Godot 3.3
2021-04-21 15:33:26 +02:00
Hugo Locurcio a2afd8076d
Add more items to the changelog for Godot 3.3 2021-04-21 15:24:16 +02:00
Rémi Verschelde 305c364c13
i18n: Sync translations with Weblate 2021-04-21 09:40:43 +02:00
Hugo Locurcio e33562fe9f
Improve the Engine.editor_hint property documentation
(cherry picked from commit 17591fc6a1)
2021-04-21 08:59:31 +02:00
Rémi Verschelde d91b780cf8
Merge pull request #48058 from lyuma/legacy_names_gltf_3.3
Add an import setting use_legacy_names for 3.3 compatibility.
2021-04-21 08:57:12 +02:00
Rémi Verschelde 64cf72af7b
Merge pull request #48059 from clayjohn/shadow-cubemap-fix
Add setting for shadow cubemap max size
2021-04-21 08:53:26 +02:00
clayjohn 0546c8760a Add setting for shadow cubemap max size 2021-04-20 23:17:45 -07:00
Lyuma d92a172879 Add an import setting use_legacy_names.
During the development of 3.3, internationalization features were added to allow arbitrary bone and node names.
However, doing so will break all references and existing animation clips for projects upgraded from 3.2
This adds an import setting, enabled by default, but disabled for newly generated .import files which restores the old behavior.
2021-04-20 22:48:52 -07:00
Hugo Locurcio f0d1bedc74
Print a warning when trying to seek in VideoPlayer
Seeking isn't implemented in built-in video formats and can only
be supported in GDNative-provided video formats.

(cherry picked from commit ea46639e22)
2021-04-20 20:16:42 +02:00
smix8 595a1edd3b
Document AnimationNodeTimeSeek with clarified usage and code example
Document AnimationNodeTimeSeek with clarified usage and code example

(cherry picked from commit 35c9192689)
2021-04-20 20:15:54 +02:00
RoniPerson 6308f4374f
changed description of merge_polygons
Clarified that the `merge_polygons` method can produce multiple holes.

(cherry picked from commit 8f01c261f2)
2021-04-20 20:14:54 +02:00
Hugo Locurcio ad413a613c
Document AStar.get_point_path() not being thread-safe
(cherry picked from commit cf64bad63e)
2021-04-20 20:14:47 +02:00
Gromph d964b86249
Fix EditorExportPlugin _export_begin and _export_end functions not being called when exporting UWP
in uwp's version of export.cpp create a ExportNotifier object so that EditorExportPlugin _export_begin and _export_end functions will be called as documentated.

(cherry picked from commit 564ddcde77)
2021-04-20 20:12:53 +02:00
kleonc 7a776d68b6
ProjectSettingsEditor: Make "Type" OptionButton item ids match corresponding Variant::Type enum values.
(cherry picked from commit f8f12d0564)
2021-04-20 20:12:52 +02:00
Hugo Locurcio 1304b85c63
Add a welcome dialog to the HTML5 editor
This modal dialog displayed when the page is loaded. It can be
dismissed permanently by clicking the "OK, don't show again" button.
Clicking outside the modal will only dismiss it once.

This dialog is used to remind people that the HTML5 editor is still in
release candidate stage and isn't considered production-ready yet.

(cherry picked from commit 8b08146894)
2021-04-20 20:12:52 +02:00
Rémi Verschelde 2335da5af2
Merge pull request #47742 from mortarroad/3.x-fix-gltf-bone-names-space
[3.3] fix gltf importer regression from b032067e42, causing different BoneAttachment names
2021-04-20 20:12:41 +02:00
Rémi Verschelde 2ece8c44b8
Merge pull request #48041 from akien-mga/3.x-clarify-freed-instance
Object: Make deleted object access raise errors, not warnings
2021-04-20 12:26:01 +02:00
Rémi Verschelde f4653f6a30
Merge pull request #47505 from Calinou/update-changelog-3.3
Update changelog for Godot 3.3
2021-04-20 12:02:21 +02:00
Rémi Verschelde 1c9203ad68
Object: Make deleted object access raise errors, not warnings
Clarify doc about not decaying to `null` for `free` and `queue_free`.

Part of #45639.
2021-04-20 11:37:39 +02:00
Rémi Verschelde bb10729c6e
Merge pull request #48019 from akien-mga/3.x-ci-BASE_BRANCH
CI: Bump BASE_BRANCH from 3.2 to 3.x
2021-04-19 16:19:13 +02:00
Rémi Verschelde 4315b654b8
Merge pull request #48015 from rainlizard/how-to-use-texturearray
Documented of how to use a TextureArray
2021-04-19 14:45:32 +02:00
Rémi Verschelde 173e9b765a
CI: Bump BASE_BRANCH from 3.2 to 3.x
This was forgotten when renaming 3.2.4 to 3.3.
Once 3.3-stable is out and we branch off to 3.3, the BASE_BRANCH should
be bumped to 3.3 in that branch.
2021-04-19 14:37:47 +02:00
rainlizard 84ecbbaa89
Document how to use a TextureArray 2021-04-19 14:20:03 +02:00
Rémi Verschelde 41a3b98f2b
Merge pull request #47994 from lawnjelly/ewok_cope_broken_shader
Batching - Don't join items with invalid shaders
2021-04-19 10:36:03 +02:00
Rémi Verschelde eaeb650367
Merge pull request #47988 from madmiraal/fix-46754-3.x
[3.x] Avoid creating joy_names map entries when using Map operator[]
2021-04-18 11:31:48 +02:00
lawnjelly 6c2cc01f73 Batching - Don't join items with invalid shaders
When users create an invalid shader, the shader->valid flag is set to false. Batching previously assumes that shaders are valid, and this can result in primitives with invalid shader being joined, causing visual errors.

This PR prevents joining items that have invalid shaders.
2021-04-18 08:31:59 +01:00
Marcel Admiraal 9170314434 Avoid creating joy_names map entries when using Map operator[] 2021-04-17 20:41:10 +01:00
Henry Conklin 8e4641bc88 Optimize BroadPhase2dHashGrid to not pair elements on different layers
Clean up logic in _check_motion

Closes 45824
2021-04-17 10:49:06 -04:00
Rémi Verschelde 701fa8a779
Revert "Fix _File::get_buffer length always set to p_length"
This reverts commit 9a7e537aac.

Fixes #47971.
2021-04-17 13:07:18 +02:00
TwistedTwigleg 51be345a17
Changed SkeletonIK3D to clear bone overrides when stopping
(cherry picked from commit 9ebdf812df)
2021-04-17 10:51:22 +02:00
Rémi Verschelde db5ec51023
Merge pull request #47924 from smix8/issue_47850
[3.x] Fix Skeleton.clear_bones_global_pose_override() not resetting global_bone_overrides properly
2021-04-17 10:51:00 +02:00
Rémi Verschelde 264d952a18
Merge pull request #47968 from neikeq/issue-47898
[3.x] C#: Fix `double` casting in wasm m2n trampolines
2021-04-17 08:14:03 +02:00
Ignacio Roldán Etcheverry 83494c30fe C#: Fix double casting in wasm m2n trampolines
The trampolines were casting double to `size_t` (likely a copy-paste
mistake), so the value was getting truncated.
2021-04-17 05:24:00 +02:00
Rémi Verschelde d91c1a60a4
Merge pull request #47954 from m4gr3d/automatically_remove_legacy_storage_attribute
Disable the `requestLegacyExternalStorage` attribute when there are no storage permissions
2021-04-16 17:11:22 +02:00
Fredia Huya-Kouadio bc68872e2d Disable the requestLegacyExternalStorage attribute when there are no storage permissions. 2021-04-16 07:26:24 -07:00