Commit graph

53723 commits

Author SHA1 Message Date
Rémi Verschelde
b81387d6b7
Merge pull request #76513 from YuriSizov/editor-dont-run-too-fast
Avoid accessing the theme too early in EditorRunBar
2023-04-27 23:57:00 +02:00
Rémi Verschelde
390aed9f11
Merge pull request #76510 from bruvzg/ios_conv_lib_load
[iOS] Fix loading of GDExtension dylibs auto converted to framework.
2023-04-27 23:56:36 +02:00
Rémi Verschelde
fb3d3bf0cf
Merge pull request #76486 from Lasuch69/add-noisetexture3d-no-mipmaps
Add NoiseTexture3D
2023-04-27 23:56:13 +02:00
Rémi Verschelde
5cc50c11d5
Merge pull request #76438 from bitsawer/fix_shader_uniform_typing
Fix ShaderMaterial uniform type changes
2023-04-27 23:55:43 +02:00
Rémi Verschelde
2ff3cf9bf9
Merge pull request #76511 from spanzeri/fix-thread-wait
Fix wait for thread not started
2023-04-27 21:18:22 +02:00
Samuele Panzeri
4aaa2e6477 Fix wait for thread not started 2023-04-27 20:28:22 +02:00
Yuri Sizov
de1a1dd43e Avoid accessing the theme too early in EditorRunBar 2023-04-27 18:49:16 +02:00
bruvzg
ad4d565ee7
[iOS] Fix loading of GDExtension dylibs auto converted to framework. 2023-04-27 19:04:12 +03:00
Rémi Verschelde
240ed28291
Merge pull request #76503 from RandomShaper/fix_args_print
Fix formatting function not used when printing run arguments
2023-04-27 16:56:58 +02:00
Rémi Verschelde
0fc3ba2ea7
Merge pull request #76499 from lyuma/fix_silhouette_fixer
import: Fix Silhouette used incorrect index.
2023-04-27 16:56:33 +02:00
Rémi Verschelde
c4a9d32126
Merge pull request #76264 from vnen/gdscript-static-variales
Add support for static variables in GDScript
2023-04-27 16:56:08 +02:00
Rémi Verschelde
190f1588cc
Merge pull request #74771 from fire/csg-fixes
Fixes to CSG robustness
2023-04-27 16:55:44 +02:00
Rémi Verschelde
f43b39a7c0
Merge pull request #50671 from winston-yallow/improve-editor-spin-slider
Add editor setting for spin slider sensibility
2023-04-27 16:55:16 +02:00
George Marques
0ba6048ad3
Add support for static variables in GDScript
Which allows editable data associated with a particular class instead of
the instance. Scripts with static variables are kept in memory
indefinitely unless the `@static_unload` annotation is used or the
`static_unload()` method is called on the GDScript.

If the custom function `_static_init()` exists it will be called when
the class is loaded, after the static variables are set.
2023-04-27 09:51:44 -03:00
Winston Yallow
277e261acf
Add editor setting for spin slider sensibility 2023-04-27 13:45:24 +02:00
Pedro J. Estébanez
cc92ba0d44 Fix formatting function not used when printing run arguments 2023-04-27 13:44:19 +02:00
K. S. Ernest (iFire) Lee
eaa84bc682
Fix CSG edge case causing intersection line to hit on common edge of 2 triangles.
The previous implementation assumed that the intersection entered or exited a
shape when it hit right on the common edge of 2 triangles. However, there is
also a case where it just "skirts" the other shape on the outside.

To fix this, we added code to check the intersection distance and if the
normals of the faces are pointed in the same direction as the intersection or
not (e.g. inner product > 0). This handles the case where the intersection
line hits the common edge of 2 triangles and skirts the other shape on the
outside.

Extended code to cover a third case.

Fixes #58637.

Co-authored-by: OldBelge <StevenGeens@users.noreply.github.com>
2023-04-27 11:39:29 +02:00
Lyuma
d33a734ac5 import: Fix Silhouette used incorrect index.
Fixes bind pose mistake from using i (mesh skin index) instead of bone_idx (skeleton bone index).
Fixes #76448
2023-04-27 01:41:28 -07:00
Rémi Verschelde
352ebe9725
Merge pull request #76483 from vnen/gdscript-dont-fail-returning-freed-object
GDScript: Don't fail when freed object is return
2023-04-27 08:47:04 +02:00
Rémi Verschelde
58439ac22c
Merge pull request #74053 from vnen/gdscript-fix-disassembler-lambda-crash
GDScript: Fix wrong increment for disassembly of lambda
2023-04-27 08:46:40 +02:00
Rémi Verschelde
fc27bc0306
Merge pull request #76492 from KoBeWi/shaped_up_nicely
Improve reliability of 2D shape editor redrawing
2023-04-27 08:21:06 +02:00
Rémi Verschelde
35f6a1387c
Merge pull request #76488 from YuriSizov/docs-validate-code-params
Validate code tags in documentation for potential params
2023-04-27 08:20:42 +02:00
Rémi Verschelde
31179d7322
Merge pull request #76482 from damdalf/class_ref_documentation_MeshDataTool_code_examples
Corrected the GDScript and C# examples for the MeshDataTool class reference documentation
2023-04-27 08:20:18 +02:00
Rémi Verschelde
80568be36f
Merge pull request #76481 from vnen/gdscript-test-gen-default-path
GDScript: Use default path in test generator if not provided
2023-04-27 08:19:54 +02:00
Rémi Verschelde
5a1d4bd8ab
Merge pull request #76479 from bitsawer/fix_preprocessor_line_number
Fix Shader Preprocessor line numbering when disabled
2023-04-27 08:19:30 +02:00
Rémi Verschelde
359b494cbe
Merge pull request #76437 from RandomShaper/fix_vol_fog_voxel_gi
Fix voxel GI issues
2023-04-27 08:19:06 +02:00
Rémi Verschelde
cedd3378f5
Merge pull request #69053 from KoBeWi/grabbercentrism
Add center_grabber theme property to Slider
2023-04-27 08:18:37 +02:00
kobewi
d8e39912f8 Improve reliability of 2D shape editor redrawing 2023-04-27 02:44:14 +02:00
Yuri Sizov
391eccca76 Validate code tags in documentation for potential params
Adds a check to make_rst to look for matches
between the text inside of the [code][/code] tag
and known param identifiers.
Fixes most of what was revealed.
2023-04-26 21:36:04 +02:00
Pedro J. Estébanez
09aa1bbdb3 Fix unsupported sampler filter used for voxel GI 2023-04-26 20:54:06 +02:00
Lasuch
0de6ad6a71 Add NoiseTexture3D 2023-04-26 20:00:18 +02:00
Yuri Sizov
26fb911f79
Merge pull request #72095 from anvilfolk/gd-docs
Improve GDScript documentation generation & behavior
2023-04-26 16:54:25 +02:00
George Marques
221deb1cc1
GDScript: Use default path in test generator if not provided
Since it's almost always used with the same path, assume it is running
from the Godot source root.
2023-04-26 11:12:47 -03:00
Devin
3b615ed789 Updated GDScript example to use clear_surfaces() and C Sharp example to use ClearSurfaces() instead of non-existent surface_remove() and SurfaceRemove() 2023-04-26 09:01:31 -05:00
George Marques
abbdf80643
GDScript: Don't fail when freed object is return
This is check is a bit too eager. The user should be able to handle the
return value even if it's a freed object.
2023-04-26 10:57:22 -03:00
bitsawer
34896d8e89 Fix Shader Preprocessor line numbering when disabled 2023-04-26 16:48:23 +03:00
Rémi Verschelde
e2e870c611
Merge pull request #76378 from KoBeWi/fix_typed_array_export_2-fix_harder
Fix typed array export... again
2023-04-26 14:11:52 +02:00
Rémi Verschelde
6bf94cfd7a
Merge pull request #76470 from MewPurPur/add-immediate-mesh-example
Provide an example on how to use ImmediateMesh
2023-04-26 13:58:17 +02:00
Rémi Verschelde
e1075e9c7c
Fix various typos with codespell
Also includes the grammar fix from #76206.

Co-authored-by: Peter Anderson <BWPanda@users.noreply.github.com>
2023-04-26 13:57:09 +02:00
VolTer
4eabad6c26 Provide an example on how to use ImmediateMesh 2023-04-26 12:36:02 +02:00
Rémi Verschelde
8f7b09916d
Merge pull request #76026 from YuriSizov/editor-running-up-that-gui
Extract editor run toolbar into its own component
2023-04-26 12:15:29 +02:00
Rémi Verschelde
c16821e71b
Merge pull request #74980 from YuriSizov/build-err-without-required-editor-modules
Err when trying to build the editor without its required modules
2023-04-26 11:42:07 +02:00
Rémi Verschelde
51951a59d6
Merge pull request #76467 from RandomShaper/doc_cache_peace_of_mind
Add peace-of-mind checks to API hash caching
2023-04-26 11:36:09 +02:00
Rémi Verschelde
fdb058f4df
Merge pull request #76464 from m4gr3d/fix_gl_window_resize_main
Fix issue with resizing the display on Android when using the compatibility renderer
2023-04-26 11:36:06 +02:00
Rémi Verschelde
0e94757548
Merge pull request #76455 from winston-yallow/document-automatic-center-of-mass
Document that the automatic center of mass mode uses the individuals shape origins
2023-04-26 11:36:03 +02:00
Rémi Verschelde
f6190fb538
Merge pull request #76359 from AThousandShips/timer_doc
Add information about how `Engine.time_scale` affects Timers
2023-04-26 11:35:59 +02:00
Rémi Verschelde
cc0edf810f
Merge pull request #74106 from dalexeev/astar-grid-2d-negative-coords
Allow negative coordinates in `AStarGrid2D`
2023-04-26 11:35:55 +02:00
Rémi Verschelde
67ccb5a739
Merge pull request #73617 from myaaaaaaaaa/quit-after
Add `--quit-after <number-of-iterations>`
2023-04-26 11:35:52 +02:00
Rémi Verschelde
b58873b98a
Merge pull request #69833 from Eoin-ONeill-Yokai/audio_invalid_mixrate
Fix crash caused by invalid mix_rate assignment due to bogus project settings.
2023-04-26 11:35:37 +02:00
Pedro J. Estébanez
a79e71ad58 Add peace-of-mind checks to API hash caching 2023-04-26 10:44:52 +02:00