Instead of gridmap editor calling grid as floor irrespective of the
orientation, it now calls the grid plane if it's vertical and floor
if horizontal.
Resolves: #14611
(cherry picked from commit 7c356a9c0514bdb184aac651117f0e542baccfc4)
We were already linking libstdc++ statically for official binaries,
protecting us against most portability issues. But apparently since
we started using GCC 7 for official builds, we also need to link
libgcc statically for at least 32-bit builds to be portable.
Fixes#16409.
(cherry picked from commit b526088ae217de959cd395f5a74baf87552e0bbf)
The heuristic whether we're in the project manager inside GDMono
didn't work if the project manager was launched by not having any path
to run.
This is fixed now by making a Main::is_project_manager().
(cherry picked from commit 10998380799f25cb3198c62f29e30e743c6013ac)
It already had an implicit cast operator to string,
but this doesn't get used in say string formatting.
So now something like $"path: {GetPath()}" works.
(cherry picked from commit 3c1f8efd9e5066ded2d36e99ce40511fdea79488)
Bug: engine tries to set selected item before items were added during save scene/run project, because of wrong properties order.
Fixes#10213.
(cherry picked from commit 66c39b14261ee31244f864ebff7bdb6f3c55211f)
Instead of adding the escapes to all * and _ the tool now excludes
the characters inside [code] and [codeblock].
Resolves: #15156
(cherry picked from commit 84e8c49f5d4cb5ba0fca2f50340a18a0a0e2c241)
Windows does not fully respect ISO 639-1 like other systems,
so we have to override its locale values for those languages.
Also added comments to document the locale provenance.
(cherry picked from commit 0c7bed45c49b19bf49b2f2f462937fe14b26c3bb)
Command line options were refactored for 3.0 to follow the common usage
of double-dashed long options, but `--main-pack` went through the cracks.
Fixes#16533.
(cherry picked from commit e3658a6464b4473b7cca1d41f9315cd6bfd255d4)
The new import option "scale_mesh" allows setting a scale that is applied to the mesh's vertices during import.
(cherry picked from commit 291c1d0f459abb40c146f90a336dafbdac477507)
The ear clipping algorithm used to triangulate polygons has a slightly too conservative point-in-triangle test which can, in some configurations prevent it from finding a possible tessellation. Relaxing the test by considering that points exactly on edges don't belong the triangle fixes the issue. Changing the semantic of the test is safe because no other code makes use of it. A more detailed explanation can be found in issue #16395.
Fixes#16395.
(cherry picked from commit 91215e191992f3cbbbf4fe047b000ac5a403085c)
The Camera gizmo no longer looks twice as wide as it actually is.
This fixes#16399.
(cherry picked from commit 0d7d293889edaf12cc3cc4205b5450dee2203cbd)