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
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
Rémi Verschelde
f622c60805
Merge pull request #58492 from lawnjelly/float_literals_3
...
[3.x] Float literals - fix math classes to allow 32 bit calculations
2022-03-06 10:14:10 +01:00
Rémi Verschelde
cd19931211
Merge pull request #58794 from Calinou/editor-gles2-improve-unsupported-debug-draw-modes
...
Improve display for unsupported debug draw modes in GLES2
2022-03-06 00:18:09 +01:00
Omar El Sheikh
9988739332
Fix shader state caching when blend shapes used
...
Previously, conditionals set on the shader would change outside of the
_render_list function when blend shapes were used
This is an issue because the function keeps track of the previous shader
state to try to minimize state changes
Now we keep all this shader state change within the _render_list
function to ensure the saved previous state is correct
2022-03-05 16:33:17 -05:00
Hugo Locurcio
2e6a305b8f
Improve display for unsupported debug draw modes in GLES2
...
- Don't disable the Normal option as it technically can be chosen
(it's the default).
- Use a text suffix in addition to the tooltip.
2022-03-05 22:03:39 +01:00
Rémi Verschelde
56310caee2
Merge pull request #58774 from timothyqiu/file-dialog-filter-i18n-3.x
...
[3.x] Make name of editor file dialog filters translatable
2022-03-05 09:21:23 +01:00
Haoyu Qiu
61e35b4f6e
Make name of editor file dialog filters translatable
2022-03-05 12:44:17 +08:00
Rémi Verschelde
5b3dfe1ffa
Merge pull request #58760 from raulsntos/icon_color-editor-theme-3.x
...
[3.x] Add `icon_color_normal` to Button in editor theme
2022-03-04 21:35:02 +01:00
Raul Santos
0e8a76dbb2
Add icon_color_normal to Button in editor theme
2022-03-04 19:21:05 +01:00
Rémi Verschelde
eb3f0f50b9
Merge pull request #58651 from TokageItLab/fix-cubic-interpolate-3.x
2022-03-04 12:26:46 +01:00
Rémi Verschelde
698ff3bb54
Merge pull request #58743 from timothyqiu/x11-leak-3.x
...
[3.x] Fix X11 memory leak after drag & drop file into the editor
2022-03-04 12:03:46 +01:00
Haoyu Qiu
9d6f4a76d1
Fix X11 memory leak after drag & drop file into the editor
2022-03-04 17:50:28 +08:00
Rémi Verschelde
cf970aab26
Merge pull request #58681 from akien-mga/3.x-cherrypicks
2022-03-02 12:34:16 +01:00
Rémi Verschelde
c63ab664d2
Revert "PitchShift effect quality and performance tweaks for different pitch scale values"
...
(cherry picked from commit dae0135ae5
)
2022-03-02 12:02:37 +01:00
Haoyu Qiu
56fd92ca76
Fix `UndoRedo::create_action()` invalid memory usage
...
(cherry picked from commit b00b7f9b7c
)
2022-03-02 12:02:37 +01:00
Sergey Minakov
e3cd47f6cc
[iOS] Fix multitouch not working correctly
...
(cherry picked from commit 15ef056997
)
2022-03-02 11:00:26 +01:00
Haoyu Qiu
7e07d4781a
Fix AnimatedSprite infinite loop
...
(cherry picked from commit 3a439a9c03
)
2022-03-02 11:00:26 +01:00
Hugo Locurcio
824eaabd7b
Print every file exported with `PCKPacker.flush()`s verbose parameter
...
Previously, only one line per 100 files was printed.
This also refactors the print statement to use Godot methods and
make it more informative overall.
(cherry picked from commit 8e57e5dc6a
)
2022-03-02 11:00:26 +01:00
jfons
e66003b09a
Upgrade stb_rect_pack to 1.01
...
Enables large rectangle support by default.
(cherry picked from commit 0395b5e414
)
2022-03-02 11:00:26 +01:00
janglee
a1155b86e4
Fixed 0 width issue of rich text label
...
Fixes #37746
(cherry picked from commit 5e64c146bc
)
2022-03-02 11:00:26 +01:00
janglee
8bbcc624fd
Fixed underlines and striketrough not respecting visible character
...
(cherry picked from commit 9c2c2ab2b0
)
2022-03-02 11:00:26 +01:00
Nova
c4041ca8c0
Added or improved documentation to a few more String methods
...
(cherry picked from commit f159e7e5ab
)
2022-03-02 11:00:26 +01:00
Markus Sauermann
54eac2aba5
Update doc for match: empty argument doesn't match anything
...
(cherry picked from commit 70ae6c21de
)
2022-03-02 11:00:26 +01:00
Rémi Verschelde
a58ae4c368
Merge pull request #58678 from timothyqiu/feature-profile-desc
2022-03-02 10:59:53 +01:00
Haoyu Qiu
e5102872c0
Translate class brief description in Editor Feature Profile dialog
2022-03-02 16:23:48 +08:00