smix8
9c8626bfd8
Add NavigationPolygon cell_size property
...
Adds NavigationPolygon cell_size property.
2023-06-13 10:53:07 +02:00
Rémi Verschelde
65969dd51a
Merge pull request #77945 from AThousandShips/null_check
...
Use NULL instead of COND checks when appropriate
2023-06-10 12:11:48 +02:00
Rémi Verschelde
fe0ee24533
Merge pull request #77779 from KoBeWi/emit_changed()
...
Use `emit_changed()` consistently
2023-06-10 12:11:25 +02:00
Ninni Pipping
dcd2b883eb
Use NULL instead of COND checks when appropriate
...
Restricted to scene
2023-06-10 08:56:30 +02:00
Rémi Verschelde
082cfd501a
Merge pull request #78021 from clayjohn/Particles-size-rot-reset
...
Correctly reset particle size and rotation in ParticlesProcessMaterial
2023-06-09 11:07:13 +02:00
Rémi Verschelde
166643df32
Merge pull request #74937 from bitsawer/fix_uniform_storage
...
Fix shader uniform storage conversions and crash
2023-06-09 11:04:16 +02:00
Raffaele Picca
353a4e1e09
Correctly reset particle size and rotation in ParticlesProcessMaterial
...
Co-authored-by: clayjhn <claynjohn@gmail.com>
2023-06-08 14:39:14 -07:00
Kirill Diduk
566f78bc1e
Fix parameters passing to `add_triangle_fan` method.
...
Pass `p_uvs` parameter properly (instead of passing `p_uv2s` twice).
This commit fixes #77542
2023-06-08 17:45:26 +02:00
Rémi Verschelde
fad61679cc
Merge pull request #77969 from clayjohn/Material-ORM-key
...
Hash ORM flag in BaseMaterial to differentiate between ORM and Standard materials
2023-06-08 09:11:06 +02:00
clayjohn
86550ea3c5
Hash ORM flag in BaseMaterial to differentiate between ORM and Standard materials
2023-06-07 09:31:34 -07:00
Rémi Verschelde
803ad98303
Merge pull request #77958 from Calinou/editor-particle-damping-increase-step-precision
...
Increase precision in particle damping properties in the editor
2023-06-07 16:06:59 +02:00
Rémi Verschelde
27b402bf73
Merge pull request #77902 from dalexeev/doc-unify-deprecations
...
Documentation: Unify deprecations
2023-06-07 16:06:50 +02:00
Danil Alexeev
b433020aa6
Documentation: Unify deprecations
2023-06-07 16:34:03 +03:00
Hugo Locurcio
fc4ec42a09
Increase precision in particle damping properties in the editor
2023-06-07 15:26:02 +02:00
VolTer
995880e60b
Optimize and fix the default theme SVGs
2023-06-07 05:40:58 +02:00
lawnjelly
b69c8b4791
Single Compilation Unit build.
...
Adds support for simple SCU build (DEV_ENABLED only).
This speeds up compilation by compiling multiple cpp files within a single translation unit.
2023-06-06 15:36:51 +01:00
kobewi
5b85dabcc8
Use emit_changed() consistently
2023-06-02 22:45:18 +02:00
JoNax97
b998f7ceb7
Gradient: Check if interpolation mode and color space are different before firing notifications.
2023-06-02 10:40:13 -03:00
Pedro J. Estébanez
4412c1d989
Fix external resource ids lost
2023-06-01 22:34:49 +02:00
Rémi Verschelde
f77dee90a6
Merge pull request #76389 from ajreckof/editor-property-nodepath-for-node
...
Fix typed array export
2023-06-01 00:40:40 +02:00
Yuri Sizov
c3e512eda4
Merge pull request #77692 from RandomShaper/fix_th_material_load
...
Fix materials' shaders not updated if loaded on a non-main thread
2023-05-31 14:35:05 +02:00
Pedro J. Estébanez
197b54370a
Fix materials' shaders not updated if loaded on a non-main thread
2023-05-31 12:50:27 +02:00
Yuri Sizov
943e5b9019
Merge pull request #77631 from KdotJPG/issue-77491-fix-turbulence-noise-scale
...
Fix `turbulence_noise_scale` for Particle Turbulence
2023-05-31 12:49:49 +02:00
KdotJPG
9332a091e1
Fix `turbulence_noise_scale` regression.
...
Fixes #77491
2023-05-30 23:58:01 -04:00
Yuri Sizov
c0ee762f46
Merge pull request #77655 from bitsawer/fix_strange_fragments
...
Fix suspicious code related to text rendering
2023-05-30 16:03:44 +02:00
Yuri Sizov
faa73c9fcb
Merge pull request #77608 from bitsawer/fix_cyclic_includes
...
Fix shader preprocessor cyclic include handling
2023-05-30 15:32:04 +02:00
bitsawer
78361370ec
Fix issues found by a static analyzer
2023-05-30 12:47:50 +03:00
Yuri Sizov
c5e989209c
Merge pull request #76151 from MewPurPur/square-gradient2d
...
Add a square fill mode to GradientTexture2D
2023-05-29 17:17:16 +02:00
bitsawer
23c375d6b4
Fix shader uniform storage conversions and crash
2023-05-29 15:17:13 +03:00
bitsawer
67038471ff
Fix shader preprocessor cyclic include handling
2023-05-29 12:05:22 +03:00
Rémi Verschelde
c97201babc
Merge pull request #76545 from JoNax97/gradient_color_spaces
...
Add Linear SRGB and OKLab color spaces to Gradient.
2023-05-29 10:28:58 +02:00
Rémi Verschelde
990943782a
Merge pull request #74959 from MewPurPur/nice-curves
...
Overhaul the Curve Editor
2023-05-29 10:28:53 +02:00
VolTer
a3c4a4b039
Overhaul the Curve Editor
2023-05-28 14:17:51 +02:00
JoNax97
c07b2fcf4d
Add Linear SRGB and OKLab color spaces to Gradient.
2023-05-26 16:18:01 -03:00
smix8
66a8418a2d
Remove unnecessary Clipper lib includes
...
Removes unnecessary Clipper lib includes.
2023-05-24 23:57:08 +02:00
Silc Renew
42aa5398d9
Fix Pathfollow direction
...
Co-authored-by: aaronfranke <arnfranke@yahoo.com>
2023-05-24 17:37:00 +09:00
bruvzg
aaddec7cb8
[TextServer] Add support for retrieving OpenType name strings.
2023-05-22 18:08:34 +03:00
Rémi Verschelde
5dc093b19a
Merge pull request #77341 from RedworkDE/doctool-material-error-fix
...
Fix error in `BaseMaterial3D` when running doctool
2023-05-22 17:02:23 +02:00
RedworkDE
69f2bc2751
Improve `SelfList` and fix error in `BaseMaterial3D` when running doctool
2023-05-22 16:38:57 +02:00
Rémi Verschelde
65fa775ff6
Merge pull request #75469 from ibotha/fix/74259-sky-cover-not-reset-properly
...
Properly set sky_cover property of sky_material to Nil in setter
2023-05-22 14:13:16 +02:00
Isard Botha
74041e3705
Fix issue 74259 by setting the sky cover property back to nil when it is reset in the editor.
2023-05-21 18:35:33 +01:00
ajreckof
465742d904
Fix typed array export
...
Apply suggestions from code review to squash later
Revert "Fix typed array export... again"
This reverts commit da8d6734fb
.
Co-Authored-By: Tomek <kobewi4e@gmail.com>
2023-05-21 08:40:11 +02:00
David Giardi
16f6f40669
Remove useless polygons from StyleBoxFlat drawing
2023-05-20 14:28:47 +02:00
Biggles Bristol
c920a4f051
[Fixed] for "off-by-1" bug when sampling "baked" curve data towards the end of the curve.
...
[Fixed] Failing test "[Curve] Custom curve with free tangents" by setting the curve's `bake_resolution` to 11.
[Fixed] test messages in "[Curve] Custom curve with free tangents" to match sample offset used in each test
[Added] New test "[Curve] Straight line offset test" in response to pull request feedback.
Update tests/scene/test_curve.h
Co-authored-by: kleonc <9283098+kleonc@users.noreply.github.com>
2023-05-20 11:28:09 +01:00
KdotJPG
91bdd4073b
Reworked Particle Turbulence - Rebased.
2023-05-17 14:25:21 +02:00
Rémi Verschelde
12b7a56202
Merge pull request #76713 from KoBeWi/TODO_is_now
...
Fix 2D audio in multiple viewports
2023-05-16 11:00:45 +02:00
bruvzg
9163d8c336
Expose TextServer justification flags to Label, Label3D, TextMesh and RTL. Add flags to control last/single line justification.
2023-05-15 19:23:54 +03:00
FranckRJ
ab5462e386
Fixed width of CapsuleShape2D::get_rect + set center to center of shape
...
The width of the rect was only half of the width of the shape, and
the 0;0 coord was at the top left of the rect.
Now the width properly matches the width of the shape, and the 0;0
coord is at the center of the shape. It should match the behavior
of Godot 3.X.
2023-05-14 18:09:07 +02:00
Rémi Verschelde
cc48827e4a
Merge pull request #76946 from AThousandShips/shadow_warning
...
Enable shadow warnings and fix raised errors
2023-05-12 10:04:09 +02:00
smix8
f986b52b3c
Make navigation mesh edge connections optional
...
Makes navigation mesh edge connections optional.
2023-05-11 18:46:34 +02:00
Ninni Pipping
71ee65dc57
Enable shadow warnings and fix raised errors
2023-05-11 16:00:59 +02:00
Pedro J. Estébanez
b6647a5808
Avoid sync issues in materials with scheduled shader updates
2023-05-10 18:53:41 +02:00
Pedro J. Estébanez
8983b20ccd
Avoid interaction issues between resource loading threads
2023-05-10 18:53:41 +02:00
Rémi Verschelde
c9f81045be
Merge pull request #76536 from AThousandShips/bit_poly_size
...
Fix size error in `BitMap.opaque_to_polygons`
2023-05-08 13:52:46 +02:00
Rémi Verschelde
3e6a731904
Merge pull request #76418 from reduz/method-bind-validated-call
...
Add ValidatedCall to MethodBind
2023-05-08 13:52:42 +02:00
Rémi Verschelde
e70777260d
Merge pull request #70911 from Chaosus/vs_custom_gdextension_support
...
Add handling of custom visual shader nodes from GDExtension
2023-05-08 12:20:00 +02:00
RedworkDE
1324c7d06a
Avoid making unnecessary copies of `LocalVector`
2023-05-06 20:39:03 +02:00
Yuri Rubinsky
998b48f722
Add handling of custom visual shader nodes from GDExtension
2023-05-06 08:19:12 +03:00
David Turner
43a7cb093c
Explain why an image would be invalid for a texture
2023-05-05 14:33:01 -04:00
Clay John
12e4323f17
Merge pull request #75427 from Chaosus/shader_fix_groups_ordering
...
Fix shader uniform groups to prevent it sorting in alphabet order
2023-05-05 09:08:37 -07:00
kobewi
8a41eefb97
Fix 2D audio in multiple viewports
2023-05-03 23:09:40 +02:00
smix8
2dbc5d95eb
Fix SurfaceTool::create_from_blend_shape()
...
Fixes SurfaceTool::create_from_blend_shape().
2023-05-02 08:48:48 +02:00
Juan Linietsky
1c93606e47
Add ValidatedCall to MethodBind
...
* This should optimize GDScript function calling _enormously_.
* It also should simplify the GDScript VM considerably.
NOTE: GDExtension calling performance has most likely been affected until going via ptrcall is fixed.
2023-04-30 20:01:26 +02:00
Ninni Pipping
249784ed53
Fix size error in `BitMap.opaque_to_polygons`
...
Previous estimate of upper limit on size was incorrect
2023-04-28 19:01:02 +02:00
bitsawer
35b06f05a2
Revert "Fix ShaderMaterial uniform type changes"
...
This reverts commit e55c6bfb7b
.
2023-04-28 11:37:29 +03: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
cedd3378f5
Merge pull request #69053 from KoBeWi/grabbercentrism
...
Add center_grabber theme property to Slider
2023-04-27 08:18:37 +02:00
Rémi Verschelde
bbecc8ae0d
Merge pull request #70234 from Rindbee/fix-uid-lost
...
Fix the uid field of the tscn/res file is lost when the external dependency is updated
2023-04-25 16:16:47 +02:00
bitsawer
e55c6bfb7b
Fix ShaderMaterial uniform type changes
2023-04-25 15:01:56 +03:00
Rémi Verschelde
ed62d965eb
Merge pull request #75429 from MewPurPur/Literally-cant-have-a-functioning-level-editor-because-of-this-please-helppp
...
Fix PackedScenes created with PackedScene.pack() have their exported nodes become null
2023-04-25 09:58:41 +02:00
Silc Renew
fac8a918f9
Expose interpolation methods for 3D track in Animation class
2023-04-25 01:45:14 +09:00
Rémi Verschelde
dfee04ae2a
Merge pull request #74632 from davthedev/tabs-hover
...
Add theming support for hovered tabs
2023-04-24 16:42:38 +02:00
kobewi
14cb9b5b26
Add center_grabber property to Slider
2023-04-22 17:53:17 +02:00
Rémi Verschelde
77fc22d6e2
Merge pull request #76290 from JohanAR/light_is_directional_spatial
...
Add LIGHT_IS_DIRECTIONAL built-in for spatial shaders
2023-04-21 15:50:27 +02:00
VolTer
0a4a1bc4b8
Add a square fill mode to GradientTexture2D
2023-04-20 16:32:42 +02:00
Johan Aires Rastén
14a8124ffe
Add LIGHT_IS_DIRECTIONAL built-in for spatial shaders
2023-04-20 14:33:30 +02:00
David Giardi
9f1e18e64c
Add theming support for hovered tabs
...
Tabs can now be styled differently when hovered by the mouse pointer.
2023-04-19 01:38:09 +02:00
David Giardi
142990d60a
Add hovered item style to ItemList
2023-04-18 22:52:39 +02:00
David Giardi
2ef20045b1
Fix blurry borders on antialiased FlatStyleBox
...
This is a fix of the antialiasing logic of FlatStyleBox.
It is now possible to have smooth rounded corners while keeping
the edges sharp on the pixels.
The antialiasing gradient positioning is ajusted so that the "hard"
border corresponds to the middle of that gradient instead of one end.
Checked against rendering of rounded rectangles in a vector graphics
software.
2023-04-17 20:23:03 +02:00
Yuri Sizov
bd3286eed2
Merge pull request #75999 from clayjohn/Particles-angle-rand
...
Use angle_rand to calculate base_angle in particles process material
2023-04-14 13:14:34 +02:00
clayjohn
821917ba9f
Use angle_rand to calculate base_angle in particles process material
2023-04-13 15:10:47 -07:00
VolTer
6c6c1302f3
Fix PackedScenes created with PackedScene.pack() have their exported nodes become null
2023-04-13 16:16:13 +02:00
Rémi Verschelde
13f2a4c7ae
Merge pull request #75993 from AThousandShips/autohide_theme
...
Don't apply scale to autohide theme property
2023-04-13 09:55:30 +02:00
clayjohn
9be0a73294
Add EXPOSURE built in to spatial shaders
...
This allows users to restore light values to pre-pre-exposure amounts
2023-04-12 10:35:13 -07:00
Ninni Pipping
722597aa97
Don't apply scale to autohide theme property
2023-04-12 17:40:40 +02:00
Rémi Verschelde
d4dad2b2f8
Merge pull request #75957 from clayjohn/VS-default-modes
...
Write out render_mode even when mode is set to default in VisualShaders
2023-04-12 17:01:24 +02:00
kobewi
20261016a7
Fix typed array export
...
Co-authored-by: Guilherme Sousa <guilherme.sousa1994@gmail.com>
2023-04-12 12:19:17 +02:00
clayjohn
016946b552
Write out render_mode even when mode is set to default in VisualShaders
2023-04-11 18:03:00 -07:00
Rémi Verschelde
fff0ee0fc4
Merge pull request #75822 from YeldhamDev/no_multi_zero
...
Remove unnecessary zero multiplications
2023-04-11 19:40:40 +02:00
Yuri Sizov
5243f5cece
Merge pull request #72152 from smix8/mcd_settings_4.x
...
Add Mesh ConvexDecompositionSettings wrapper
2023-04-10 12:52:23 +02:00
Yuri Sizov
8784f95e1f
Merge pull request #75777 from 3deathtoll/patch-1
...
Make `SyntaxHighlighter::get_text_edit` a const function
2023-04-10 12:49:04 +02:00
Michael Alexsander
f057d755ab
Remove unnecessary zero multiplications
2023-04-08 09:31:05 -03:00
smix8
1549aeaef8
Add Mesh ConvexDecompositionSettings wrapper
...
Adds wrapper MeshConvexDecompositionSettings to control parameters for Mesh ConvexDecomposition operations.
2023-04-07 22:39:25 +02:00
3deathtoll
3841c4a4b4
Make SyntaxHighlighter::get_text_edit a const function
2023-04-07 23:46:50 +05:30
Yuri Sizov
b5f532094e
Merge pull request #56671 from Rgtemze/warn_if_concave
...
Warn when a concave polygon is assigned to ConvexPolygonShape2D
2023-04-07 14:39:41 +02:00
Haoyu Qiu
498d538578
Add scrollbar offset theme constants to Tree
2023-04-06 15:04:28 +08:00
Yuri Sizov
1522762dc9
Make icons of scripted and custom classes fit the editor UI
...
Also:
- Add an option to limit the icon size in PopupMenu.
This is similar to how this works in Tree and TreeItem.
- Add the same option to TabBar.
- Add a theme constant for Tree, PopupMenu, Button, and
TabBar to apply this limit on the control level.
Co-authored-by: Daylily-Zeleen <daylily-zeleen@foxmail.com>
2023-03-31 21:39:02 +02:00
bruvzg
efa647bb17
[RTL] Fix fill align and trim with enabled dropcap.
2023-03-30 22:23:39 +03:00
Yuri Rubinsky
8ea4acee49
Fix shader uniform groups to prevent it sorting in alphabet order
2023-03-28 18:36:10 +03:00
Ninni Pipping
3795677f3d
Make `Gradient` resort points on `reverse`
2023-03-22 19:32:00 +01:00