Commit Graph

29656 Commits

Author SHA1 Message Date
Fabio Alessandrelli 890ec03431
[Net] Fix socket poll timeout on Windows.
Now correctly computes the timeout value in milliseconds.

(cherry picked from commit 46f7b0f74b)
2021-04-29 13:06:17 +02:00
skyace65 dbf71c1b70
Improve SpriteFrames get_animation_loop description
(cherry picked from commit d311c48d6a)
2021-04-29 13:05:52 +02:00
Rémi Verschelde 278af7d023
doc: Mark LargeTexture as deprecated (removed in 4.0)
Cf. https://github.com/godotengine/godot/pull/48269.

(cherry picked from commit 562c6bd9ab)
2021-04-29 13:05:15 +02:00
Thomas ten Cate 88cfde0aba
Add OpenSimplexNoise output change to changelog
(cherry picked from commit a980bad0b0)
2021-04-29 13:05:01 +02:00
ray90514 cde16a994c
Fix LineEdit undo behaves strangely
(cherry picked from commit 7501c7f48a)
2021-04-29 13:04:39 +02:00
Rémi Verschelde f172123a7a
CI: Upgrade Emscripten to 2.0.15 (same as official standard builds)
We still use Emscripten 1.39.9 for official Mono builds so ideally we want to test
against an old Emscripten version to ensure we don't break compatibility.

But then google-closure-compiler-linux broke compatibility for us and is not properly
pinned, so we need to use a more recent version for now to fix CI.

Cf. https://github.com/emscripten-core/emsdk/issues/802

(cherry picked from commit 9571ae3a33)
2021-04-28 11:52:35 +02:00
Rémi Verschelde feac30b96a
Linux: Remove use_static_cpp override on x86_32
After further testing it seems to work fine now when building binaries with GCC 5
on Ubuntu 16.04 (previously we were using GCC 9 on Ubuntu 14.04).

Follow-up to #45629.

(cherry picked from commit aa15ad72ee)
2021-04-27 13:44:28 +02:00
Rémi Verschelde 5a26bcda12
OSX: Clarify min version requirement (10.12) in Info.plist
The min requirement was upped by #45618 to have proper support for C++14.

Related to #48222.

(cherry picked from commit 8851fa7808)
2021-04-27 13:42:57 +02:00
Marcel Admiraal d8607d8045
Fix CSGMesh undo not refreshing gizmo
(cherry picked from commit 4311c2f66e)
2021-04-27 13:42:42 +02:00
Marcel Admiraal 84dc716d0d
Fix empty CSGShape error
(cherry picked from commit decdf4fcbc)
2021-04-27 13:42:10 +02:00
Maganty Rushyendra 3f3108006f
Fix AudioServer Crash when bus count equals 0
(cherry picked from commit ccc375f163)
2021-04-27 13:41:48 +02:00
lawnjelly 1d8d7b0d4b
Batching - fix number of verts in translation
The translation to larger vertex formats was assuming that batches were rects, and not accounting that the num_commands had a different meaning for lines and polys, so the calculation for number of vertices to translate was incorrect in these cases.

Also prevents infinite loop if a single polygon has too many vertices to fit in the batch buffer.

(cherry picked from commit d08cf5f434)
2021-04-26 11:54:01 +02:00
lawnjelly d696d89bc8
Batching - GLES3 fix light pass modulates
The final_modulate was incorrectly being set in the uniform on light passes in GLES3 in situations where color was baked in the vertices. This was already correct in GLES2. This PR makes prevents setting final_modulate in this situation.

(cherry picked from commit 35c5ccce9e)
2021-04-26 11:54:01 +02:00
Francois Belair 3111910331
Make LSP update the filesystem of changed scripts
This updates global classes and exposes base member variables.
Fixes #39713

(cherry picked from commit b16bb33a5b)
2021-04-26 11:54:01 +02:00
rafallus 3ab33d3ce9
Check if _direct_state_changed() argument is valid
- Modified classes: RigidBody, PhysicalBone, VehicleBody, RigidBody2D, KinematicBody2D
- The input argument is untrusted even in release mode

(cherry picked from commit e075b6b411)
2021-04-26 11:51:00 +02:00
Yuri Roubinsky 7a6a150bc2
[3.2] Prevents default values of VSNodeCustom from overriding by a script
(cherry picked from commit ac91e2ca0d)
2021-04-26 11:50:44 +02:00
kleonc 9201ffa9a2
Improve some argument names for core types
(cherry picked from commit 4d7f642fb3)
2021-04-26 11:50:31 +02:00
Yuri Sizov bceaef6500
Correct pre-deprication warning message regarding linuxbsd/x11 platform
(cherry picked from commit dbd4b45ca2)
2021-04-26 11:50:07 +02:00
Hugo Locurcio dc98144b99
Link to Feature tags more explicitly in ProjectSettings documentation
(cherry picked from commit 188bd5638c)
2021-04-23 22:05:22 +02:00
Arthur Paulino 3b44829fbd
Updating KinematicBody2D "is_on" functions' descriptions
(cherry picked from commit 0c9a1a1cd4)
2021-04-23 22:03:27 +02:00
Rémi Verschelde 5e16b10824
Android: Fix get_buffer false positive on empty dest buffer
Follow-up to #46810, this was missed in #47079 when fixing the issue
for other platforms.

Fixes #48135.

(cherry picked from commit a09f3833bd)
2021-04-23 22:02:34 +02:00
Rémi Verschelde 162c78f9dc
Linux: Don't attempt linking embree3 on non-tools, link it for headless too
`tech_debt++`, that's what we get for not taking the time to cleanup all this
and do it right...

Follow-up to #48073 and #48102.

(cherry picked from commit a14b51df92)
2021-04-23 12:34:27 +02:00
Rémi Verschelde aa84787fb4
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 :(

(cherry picked from commit a2c68d9da7)
2021-04-22 19:43:12 +02:00
Hugo Locurcio 1e3166115a
Tweak lightmapper warning message to mention Rosetta emulation on macOS
(cherry picked from commit 47f869b731)
2021-04-22 18:08:30 +02:00
Rémi Verschelde 66625962bf
embree: Allow building against system library on Linux
(cherry picked from commit b266cc2315)
2021-04-22 18:07:35 +02:00
JFonS 33d6b1f68f
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.

(cherry picked from commit 2db2d1153d)
2021-04-22 18:07:16 +02:00
Rémi Verschelde bcbf7ce3b6
Add type_traits include for `std::is_trivially_destructible`
(cherry picked from commit 3d46f28558)
2021-04-22 17:29:23 +02:00
Rémi Verschelde b616f41573
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:28:57 +02:00
bruvzg e86d086573
Fix crash on GDNative API json generator exit.
(cherry picked from commit a4423c82f8)
2021-04-22 17:28:25 +02:00
Rémi Verschelde 0ecbf77e30
Bump version to 3.3.1-rc
Directly RC as we'll keep changes conservative to keep this branch usable
in production at any time.
2021-04-22 15:30:52 +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