Commit Graph

45361 Commits

Author SHA1 Message Date
11ec70959c Style: Workaround clang-format 14 bug with Inline oneliner functions
We use 'All' which is the default in the base LLVM style.

That's not the style we want but it works around the upstream
regression until clang-format 15.0 is released and widely used:
https://github.com/llvm/llvm-project/issues/54901
2022-08-03 12:20:23 +02:00
2c0c76c415 Merge pull request #61851 from Calinou/particles-default-global-coordinates 2022-08-03 11:38:23 +02:00
39a794b1d5 Merge pull request #63266 from reduz/cleanup-array-editing 2022-08-03 11:37:55 +02:00
b27f06550c Merge pull request #51531 from Calinou/decal-projector-add-nearest-mipmap-aniso 2022-08-03 11:37:28 +02:00
6678921914 Merge pull request #63820 from nathanfranke/templates-in-header 2022-08-03 11:37:08 +02:00
80ddee06e6 Merge pull request #56451 from Calinou/rootmotionview-no-replace-with-node
Don't replace RootMotionView with Node in a running project
2022-08-03 08:03:09 +02:00
f06db79734 Merge pull request #63857 from Calinou/doc-camera3d-frustum-offset-projection
Document Camera3D's frustum offset property requiring Frustum projection
2022-08-03 07:57:10 +02:00
15fdf7bc86 Merge pull request #58611 from Calinou/ssr-fix-blend-margin
Fade screen-space reflection towards inner margin
2022-08-03 07:54:59 +02:00
ed185de790 Merge pull request #63853 from fire-forge/particle-flags
Rename ParticlesMaterial's "ParticleFlags" group to "Particle Flags"
2022-08-03 07:52:27 +02:00
a49cf9fe90 Merge pull request #55923 from bluenote10/feature/consistent_transform_operations
Fix consistency of translated/scaled/rotated in Transform2D and Transform3D
2022-08-03 07:50:01 +02:00
988041b74c Merge pull request #63847 from Zylann/shader_switch_uint 2022-08-03 08:05:19 +03:00
d041ca6c02 Add Nearest Mipmap Anisotropic filter option to decals and projectors
This is consistent with the BaseMaterial3D filtering options.
It can be used for high-quality pixel art textures that remain sharp
when viewed at oblique angles, but prevents them from becoming grainy
thanks to mipmaps.
2022-08-03 03:49:15 +02:00
813bfe00f3 Don't replace RootMotionView with Node in a running project
This behavior was inconsistent with other editor-only nodes such as
Position3D, Position2D and ReferenceRect. It also caused issues when
a script extended RootMotionView as it ceased to work when the project
was run.
2022-08-03 02:48:02 +02:00
c3720e2381 Document Camera3D's frustum offset property requiring Frustum projection 2022-08-03 02:46:12 +02:00
d38671827b Fade screen-space reflection towards inner margin
- Fade reflection towards inner margin and clip it at screen edges
  instead of external margin.
- Round edges of the fade margin if both are being cut off to prevent
  sharp corners.

Co-authored-by: puchik <puchik@users.noreply.github.com>
2022-08-03 01:55:42 +02:00
c3c5985189 move rpc and rpc_id implementations back to header
StackOverflow on why this is needed: https://stackoverflow.com/questions/495021/why-can-templates-only-be-implemented-in-the-header-file
Minor mistake in commit ca7d572908
2022-08-02 18:35:29 -05:00
de3a62e5ec Add space to ParticlesMaterial "Particle Flags" group name
- "ParticleFlags" -> "Particle Flags"
2022-08-02 17:51:24 -05:00
779a5cd34a Allow shading language to use switch statement with uints 2022-08-02 23:08:41 +01:00
f242f9c738 Fix consistency of translated/scaled/rotated in Transform2D and Transform3D 2022-08-02 23:38:14 +02:00
0351a0908f Clean-up array editing 2022-08-02 23:36:02 +02:00
84076513b1 Use global coordinates for particles by default
Particles won't move or rotate anymore with the node (or its parents)
by default. This new default behavior is generally more suited
to most use cases. Local coordinates can still be enabled on a per-node basis.

This affects both 2D and 3D particles, and both CPU and GPU-based particles.
2022-08-02 23:25:02 +02:00
3b39f00761 Merge pull request #63834 from lawnjelly/variant_large_bucket_pool
Variant large bucket memory pool - for Projection
2022-08-02 22:00:53 +02:00
d93c3f03f2 Merge pull request #63803 from matjlars/weakref-null
adds null case to weakref docs
2022-08-02 22:00:04 +02:00
f450f242b9 Merge pull request #62639 from Calinou/line-antialiasing-decrease-feather-width 2022-08-02 21:00:01 +02:00
9daffa12be Merge pull request #49058 from madmiraal/add-override-fileaccess
Add override keywords to FileAccess and DirAccess derived classes
2022-08-02 20:03:24 +02:00
515552860b Merge pull request #63597 from paddy-exe/spatial-shader-built-ins
Add often used built-ins (camera-pos, object-pos, camera-eye etc.) to spatial shaders
2022-08-02 19:20:19 +02:00
dc4e72a3fc adds null case to weakref docs 2022-08-02 11:53:28 -05:00
1839cae8a0 Merge pull request #63827 from fire-forge/particles
Rename `ParticlesMaterial.turbulence_active` to `turbulence_enabled`
2022-08-02 18:16:51 +02:00
c67febb008 Merge pull request #63830 from KoBeWi/regEX
Add static method for creating RegEx
2022-08-02 18:16:04 +02:00
c06025fa13 Add override keywords to DirAccess derived classes 2022-08-02 16:39:44 +01:00
cafb19e608 Add override keywords to FileAccess derived classes 2022-08-02 16:35:15 +01:00
fe5901310e Add spatial built-ins (camera-pos, object-pos, camera-eye etc.) 2022-08-02 17:30:41 +02:00
bb273bc972 Variant large bucket memory pool - for Projection
Add a larger bucket size pool for the new Projection Matrix.
2022-08-02 16:27:57 +01:00
47be80905c Merge pull request #63825 from fire-forge/bpm 2022-08-02 16:26:23 +02:00
344b4c7f21 Merge pull request #63824 from KoBeWi/bidi_slots 2022-08-02 16:24:51 +02:00
61a2cb65b1 Add static method for creating RegEx 2022-08-02 15:56:46 +02:00
0f9e84feab Merge pull request #50614 from foxydevloper/clarify-group-tooltip
Improve tooltips for grouping/ungrouping nodes
2022-08-02 15:56:27 +02:00
33258d850c Merge pull request #61315 from lawnjelly/variant_bucket_pools
Variant memory pools
2022-08-02 15:54:18 +02:00
9db973a473 Rename ParticlesMaterial.turbulence_active to turbulence_enabled 2022-08-02 08:41:14 -05:00
9a2758e374 Fix GraphNode slot list 2022-08-02 15:39:56 +02:00
9f537f58a8 Add capitalization for "BPM" 2022-08-02 08:35:29 -05:00
4f8d31fc68 Merge pull request #54905 from bruvzg/uncode_confusion 2022-08-02 15:28:48 +02:00
4373a0bb86 [TextServer] Add ICU Unicode security and spoofing detection. 2022-08-02 15:37:49 +03:00
119b2874c3 Merge pull request #63815 from RPicster/particle_turbulence_default_values 2022-08-02 11:20:50 +02:00
10359009dc Merge pull request #63813 from alfredbaudisch/GD-63621-animation-player-not-shown 2022-08-02 11:11:31 +02:00
fe2cc6150e Added default values to particle turbulence. 2022-08-02 10:16:09 +02:00
eaaedb24a3 Display sub-plugins when Stay in Script Editor is On
Currently, with stay_in_script_editor_on_node_selected as On, inspector_only is forcibly set, and no editors from the node selected are displayed.

With this change, if the selected Node has a Main Editor, it's still not shown (the intended behaviour of the feature), but the sub-editors are shown, this correctly opens the AnimationPlayerEditor plugin and other sub-plugins.

Fixes and closes #63621.
2022-08-02 09:51:44 +02:00
b7346e5025 Merge pull request #53956 from bruvzg/icu_uax_31 2022-08-02 08:54:19 +02:00
b2daf9afc8 Merge pull request #63806 from DarkMessiah/guidelines-appearance-bug 2022-08-02 08:22:43 +02:00
536b5b69ab Merge pull request #63789 from YuriSizov/editor-remove-old-property-widgets
Remove `CustomPropertyEditor` completely
2022-08-02 07:50:20 +02:00