Rémi Verschelde
ae036e823b
Merge pull request #58694 from Calinou/editor-frame-time-color-3.x
2022-03-10 21:11:17 +01:00
Rémi Verschelde
153a068958
Merge pull request #58634 from timothyqiu/property-i18n-3.x
2022-03-10 21:08:38 +01:00
Rémi Verschelde
b0376ff494
Merge pull request #58851 from timothyqiu/tileset-zoom
2022-03-10 21:06:02 +01:00
Rémi Verschelde
65034f4cc5
Merge pull request #58987 from akien-mga/3.x-cherrypicks
2022-03-10 20:08:00 +01:00
PouleyKetchoupp
622ef48dae
Fixed ccd enabled by default on Bullet bodies
...
It was due to main_shape_changed being called two times for each
added body. The first time it disables ccd, which sets the internal ccd
threshold to be 10000. The second time, it enables ccd again because
the internal threshold is > 0.
Bodies are now consistently set with a ccd threshold of 0 when ccd is
disabled.
This was causing crashing asserts in Bullet when adding bodies in some
scenarios, in btVector3::normalize():
btAssert(!fuzzyZero());
These crashes will still happen with ccd enabled.
(cherry picked from commit faca8b77aa
)
2022-03-10 19:02:01 +01:00
Ryan Roden-Corrent
5d7b3e10ee
Create parent directories on export.
...
Fixes #42231 .
This works for both the UI and the --export CLI flag.
(cherry picked from commit 66a278f585
)
2022-03-10 19:02:01 +01:00
Haoyu Qiu
3b04f59354
Fix some Animation panel icons not updating after theme change
...
(cherry picked from commit 83828c7d1b
)
2022-03-10 19:02:01 +01:00
Haoyu Qiu
c2297215e3
Fix TextureRegion editor grid color for light themes
...
(cherry picked from commit af16e099ea
)
2022-03-10 19:01:53 +01:00
Haoyu Qiu
2c3646b37b
Add missing i18n to various strings
...
(cherry picked from commit 25d93200c8
)
2022-03-10 19:01:52 +01:00
Haoyu Qiu
5514126234
Don't show Lock & Group buttons for nodes hidden by CanvasLayer
...
(cherry picked from commit fb999ebe22
)
2022-03-10 17:18:41 +01:00
Haoyu Qiu
2ccd4fd030
Fix animation resource name after duplication
...
(cherry picked from commit 8dc12135cd
)
2022-03-10 17:18:41 +01:00
Haoyu Qiu
a26afe807f
Update audio effect icon when theme changes
...
(cherry picked from commit 20ed798e59
)
2022-03-10 17:18:41 +01:00
miremrie
8a6b066ab7
Allow absolute file paths in file dialogs
...
(cherry picked from commit a5e30c0228
)
2022-03-10 17:18:41 +01:00
bruvzg
fa56990170
[macOS and iOS export] Add localized application name to the translation .plist files.
...
(cherry picked from commit 5fdea69276
)
2022-03-10 17:18:40 +01:00
Haoyu Qiu
db9d426798
Remove extra separator when TextEdit is read only and unselectable
...
(cherry picked from commit 933211cb0c
)
2022-03-10 16:19:30 +01:00
Rémi Verschelde
5ceaee521d
Merge pull request #58938 from hoontee/3.x
2022-03-10 15:57:39 +01:00
Rémi Verschelde
6e19f10dd7
Merge pull request #58980 from timothyqiu/tilemap-overlay
2022-03-10 14:04:57 +01:00
Haoyu Qiu
86bcac5a5e
Fix text color of TileMap editor info overlay
2022-03-10 19:12:40 +08:00
hoontee
a4088a995c
Properly handle CSGShape
parent and visibility updates
2022-03-09 17:32:35 -06:00
Rémi Verschelde
fd082ec39a
Merge pull request #58928 from timothyqiu/doc-bool-output
2022-03-09 15:34:28 +01:00
Haoyu Qiu
94a5f9edb0
Fix capitalization of boolean output in classref
2022-03-09 21:56:55 +08:00
Rémi Verschelde
6c56433997
i18n: Sync classref translations with Weblate
2022-03-09 10:42:47 +01:00
Rémi Verschelde
751769ed45
i18n: Sync editor translations with Weblate
2022-03-09 10:33:03 +01:00
Rémi Verschelde
a73bd2dec4
Revert "[HTML5] Fetch API now passes credentials."
...
(cherry picked from commit 63df46c238
)
2022-03-09 09:53:26 +01:00
Rémi Verschelde
690020d385
Revert "Fix ProjectSettings has_setting() when used on a overriden setting with feature tags"
...
(cherry picked from commit 78bf9926f8
)
2022-03-09 09:53:26 +01:00
MythTitans
d13e1278ac
Fix normals computation at the 'seam' of smoothed sphere and cylinder shapes
...
(cherry picked from commit 509e03c821
)
2022-03-09 09:53:26 +01:00
Rémi Verschelde
e489f889c2
Merge pull request #58918 from timothyqiu/tilemap-select-icon
2022-03-09 08:29:34 +01:00
Rémi Verschelde
64df4c83b2
Merge pull request #58917 from timothyqiu/add-child
2022-03-09 08:29:25 +01:00
Rémi Verschelde
7438a612d0
Merge pull request #58916 from Rubonnek/expose_text_edit_visible_rows
...
[3.x] Expose `TextEdit` `get_visible_rows()` and `get_total_visible_rows()` to GDScript
2022-03-09 07:47:41 +01:00
Haoyu Qiu
84a27308c1
Use ToolSelect icon for TileMap editor select button
2022-03-09 14:33:09 +08:00
Haoyu Qiu
bee9a6cc0d
Fix add child error when opening the Editor
2022-03-09 14:27:24 +08:00
Wilson E. Alvarez
c37be0f31b
Expose TextEdit get_visible_rows() and get_total_visible_rows() to GDScript
2022-03-08 22:32:22 -05:00
Rémi Verschelde
85b4848ca8
Merge pull request #54188 from Rubonnek/increase_var_arg_max_3x
2022-03-08 13:10:48 +01:00
Rémi Verschelde
927dd95b27
Merge pull request #58870 from timothyqiu/canvas-item-visibility-3.x
2022-03-07 20:49:11 +01:00
Haoyu Qiu
b76147ec16
Fix top level CanvasItem visibility
...
The editor gizmo fix from previously reverted
642591b6a9
is kept here.
2022-03-08 01:29:24 +08:00
Haoyu Qiu
d0901d4d55
Revert backport of "Rework CanvasItem visibility propagation"
...
This reverts part of commit f49ffe4bb0
2022-03-08 01:17:52 +08:00
Haoyu Qiu
ba0a17a458
Revert "Fix CanvasItem visibility propagation"
...
This reverts commit 642591b6a9
.
2022-03-08 01:06:14 +08:00
Wilson E. Alvarez
424dbf70af
Increase VARIANT_ARG_MAX to 8
2022-03-07 10:03:49 -05:00
Rémi Verschelde
56bb43914f
Merge pull request #58861 from Chaosus/gds_debugger_filter_3.x
2022-03-07 14:32:14 +01:00
Rémi Verschelde
b6a6c90ea2
Merge pull request #58855 from akien-mga/3.x-gles2-fix-VersionKey-comparison
2022-03-07 14:31:43 +01:00
Rémi Verschelde
2dec5db5df
Merge pull request #58357 from BastiaanOlij/fix_external_viewport_texture
2022-03-07 13:18:33 +01:00
Yuri Roubinsky
de79e10951
[3.x] Add option to filter the stack variables of GDScript debugger
2022-03-07 14:49:57 +03:00
Rémi Verschelde
445339e1b2
Merge pull request #58427 from lawnjelly/safe_vector2
2022-03-07 12:39:28 +01:00
lawnjelly
0bcda22d7c
Protection for array operator for Vector2 / 3 in DEV builds
...
A previous PR had changed the array operator to give unbounded access. This could cause crashes where old code depended on this previous safe behaviour.
This PR adds DEV_ASSERT macros for out of bound access to DEV builds, allowing us to quickly identify bugs in calling code, without affecting performance in release or release_debug editor builds.
2022-03-07 10:34:40 +00:00
Rémi Verschelde
76df26b110
GLES2: Fix VersionKey comparison in ShaderGLES2::bind()
...
This was comparing arrays, GCC 12 raises a warning for it:
```
drivers/gles2/shader_gles2.cpp: In member function 'bool ShaderGLES2::bind()':
drivers/gles2/shader_gles2.cpp:80:71: error: comparison between two arrays [-Werror=array-compare]
80 | if (active != this || !version || new_conditional_version.key != conditional_version.key) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gles2/shader_gles2.cpp:80:71: note: use unary '+' which decays operands to pointers or '&'component_ref' not supported by dump_decl<declaration error>[0] != &'component_ref' not supported by dump_decl<declaration error>[0]' to compare the addresses
```
2022-03-07 09:30:22 +01:00
Igor Kordiukiewicz
b28eea610c
Fixed issue where Extend Script option would show up even without script attached to the node
...
(cherry picked from commit dc361d3201
)
2022-03-07 08:33:29 +01:00
Haoyu Qiu
cc65147250
Update scroll position when zooming TileSet editor
2022-03-07 13:01:39 +08:00
Rémi Verschelde
d93a4a8885
Merge pull request #58838 from The-O-King/gles2_blend_shapes_oct
...
GLES2 Compression on Blend Shapes Fix
2022-03-06 22:35:08 +01:00
Omar El Sheikh
733a84f7a4
GLES2 Compression on Blend Shapes Fix
...
When compressed vertex positions are used in a blend shapes mesh, we
need to make sure we set the w-component of the position vector to 1.0
When octahedral compression is used on normals/tangents, they need to be
converted to cartesian floats to be used for blend shapes
This conversion also changes the number of components of that vertex
attribute, which caused issues because previously there was an
assumption that you had the same number of components in the blend shape
buffer as you did in the original mesh's buffer (which is not true for
oct norm/tang)
2022-03-06 10:57:05 -05:00
Rémi Verschelde
b81251d4a9
Merge pull request #58808 from The-O-King/shader_state_blend_shapes
...
Fix shader state caching when blend shapes used
2022-03-06 10:16:01 +01:00