bruvzg
31a8a9b2e1
[TextServer] Remove excessive Dictionary checks.
2023-09-04 09:47:55 +03:00
kobewi
02857570d3
Add placeholder RID to GradientTexture1D
2023-08-31 15:53:32 +02:00
kobewi
9f9210e60c
Fix consistency of GradientTexture changes
2023-08-29 20:28:39 +02:00
Rémi Verschelde
ba1089689a
Merge pull request #80954 from bruvzg/sp_per_font
...
[Text Server] Store extra spacing of individual font variations.
2023-08-28 20:37:58 +02:00
Rémi Verschelde
9229ea121c
Merge pull request #77986 from KoBeWi/outside_the_texture,_only_death_awaits
...
Cleanup tiles outside the texture
2023-08-28 20:37:04 +02:00
kobewi
52d41cc555
Add option to cleanup tiles outside the texture
2023-08-28 15:15:45 +02:00
Rémi Verschelde
8df1d90336
Merge pull request #81065 from YuriSizov/themable-chairs
...
Move default theme files to `scene/theme`
2023-08-28 15:05:04 +02:00
Rémi Verschelde
bcbe1fd5e0
Merge pull request #80754 from KoBeWi/TileSetImprovementsCollectionSource
...
Improve scene tiles workflow
2023-08-28 15:03:26 +02:00
Rémi Verschelde
1c9e45f5dd
Merge pull request #80705 from bitsawer/add_shader_load_error_checks
...
Fix Shader and ShaderInclude resource loading
2023-08-28 15:03:02 +02:00
Rémi Verschelde
2f82687334
Merge pull request #80984 from MarcusElg/particleoffsetstutter
...
Fix GPUParticle2D offset stutter
2023-08-28 12:05:52 +02:00
Yuri Sizov
fd2ec47ec9
Move default theme files to scene/theme
...
This also puts the default theme icons into their own folder.
2023-08-28 00:23:38 +02:00
Yuri Sizov
4b7d0c84a1
Fix multiple usability issues in the texture region editor
...
- Correctly display atlas textures when used by other objects.
- Make region handles easier to hit in ninepatchable objects.
- Correctly initialize and restore various visual properties.
- Improve code quality.
2023-08-27 14:25:49 +02:00
Marcus Elg
936fd8db38
Fix GPUParticle2D offset stutter
2023-08-25 09:59:05 +02:00
bruvzg
5453503697
[Text Server] Store extra spacing of individual font variations.
2023-08-24 11:58:12 +03:00
kobewi
ecc3944b1e
Cleanup MeshLibrary changed signals
2023-08-19 11:56:31 +02:00
kobewi
a88e3b8604
Improve scene tiles workflow
2023-08-18 13:55:30 +02:00
Rindbee
bd42d337df
Fix the behavior of the resource property of the sub-scene root node on instantiation
...
The sub-scene root node will be set successively in the sub-scene and the main scene.
The PR is simply to determine intent from the record. Mainly the cases when
`resource_local_to_scene` is enabled in main scene.
When updating resources according to the records of the main scene, use the
`scene_unique_id` in the main scene to prevent the ID of the resource from
changing continuously when saving the scene.
2023-08-18 19:08:34 +08:00
Rémi Verschelde
446dfdbd87
Merge pull request #80329 from xiongyaohua/path3d_tilt_gizmo
...
Add handles to control Curve3D tilt
2023-08-17 12:29:55 +02:00
bitsawer
26e3443eef
Fix Shader and ShaderInclude resource loading
2023-08-17 11:17:54 +03:00
Koyper
e84588987a
Enabled missing Tree title button font and font size theme settings.
2023-08-16 08:10:31 -05:00
Rémi Verschelde
ed1180a97e
Merge pull request #80638 from sepTN/fix-particle-shader-rand
...
Fix particle shader deterministic random values
2023-08-16 09:16:14 +02:00
Septian
cb7400d67a
Fix particle shader deterministic random values
2023-08-15 15:06:37 +07:00
Daniel Roberts
46e395abb1
Add handles to control Curve3D tilt
2023-08-12 14:55:38 +08:00
Hugo Locurcio
8041cff865
Clamp Volumetric Fog Length property to prevent rendering issues
...
A length of 0 units doesn't make sense anyway.
2023-08-10 15:55:36 +02:00
Rémi Verschelde
7257d1667e
Merge pull request #80441 from Calinou/editor-torusmesh-inspector-hint-or-greater
...
Allow setting values greater than the maximum in TorusMesh inspector
2023-08-10 00:43:27 +02:00
Hugo Locurcio
acd5dee478
Allow setting values greater than the maximum in TorusMesh inspector
...
This is consistent with other PrimitiveMeshes' behavior.
2023-08-09 10:14:00 +02:00
Michael Alexsander
98bdb56815
Further separate icon from text of buttons in both editor and default themes
2023-08-07 13:22:39 -03:00
Faolan
b3b791350b
Move registration of `fallbacks` property in the base Font class
2023-08-07 13:46:44 +02:00
Yuri Sizov
8965e24dde
Merge pull request #79874 from clayjohn/PlaceholderTexture-rid
...
Lazily allocate RIDs for PlaceholderTextures to avoid allocating GPU resources unless used
2023-08-01 17:25:37 +02:00
Yuri Sizov
c9aa2131dc
Merge pull request #79710 from AThousandShips/video_play
...
Fix incorrect virtual function in `VideoStream.set_paused`
2023-08-01 17:25:25 +02:00
detomon
d275a7487d
Initialize MSDF parameters in BaseMaterial3D with default
2023-07-28 13:24:44 +02:00
Yuri Sizov
d49ea2b7d8
Merge pull request #79288 from BastiaanOlij/custom_texture_api
...
Add custom texture create function
2023-07-26 18:40:01 +02:00
Bastiaan Olij
63d6e9c557
Add custom texture create function
2023-07-26 20:46:34 +10:00
Patrick
65b0989f68
Additional Visual Shader Nodes
...
* RotationByAxis Visual Shader Node added
* WorldPositionFromDepth Visual Shader Node added
* ScreenNormalWorldSpace Visual Shader Node added
2023-07-26 00:39:12 +02:00
Yuri Sizov
ee1be950a1
Merge pull request #79786 from smix8/navmesh_max_edge_len_4.x
...
Disable NavigationMesh `edge_max_length` property by default
2023-07-25 21:26:16 +02:00
Yuri Sizov
4b0d1026af
Merge pull request #78365 from smix8/ps_navmap_default_up_4.x
...
Add ProjectSettings navigation map default up
2023-07-25 21:25:50 +02:00
clayjohn
d61d498632
Lazily allocate RIDs for PlaceholderTextures to avoid allocating GPU resources unless used
2023-07-25 10:49:35 +02:00
Yuri Sizov
beb9c3834d
Merge pull request #79713 from smix8/legacy_navmesh_struct_4.x
...
Remove unused struct from NavigationMesh
2023-07-24 19:33:15 +02:00
Yuri Sizov
fb2c3ae8f7
Merge pull request #79308 from Geometror/refactor-graphedit
...
Clean up/refactor GraphEdit
2023-07-24 19:32:33 +02:00
Yuri Sizov
52078dc994
Merge pull request #79157 from smix8/navmesh_clear_4.x
...
Add `clear` function to NavigationMesh / NavigationPolygon
2023-07-24 19:32:24 +02:00
Yuri Sizov
d6bb6d42b2
Merge pull request #71394 from Ithamar/feat-imagetexlay-ser
...
Fix ImageTextureLayered serialisation issues
2023-07-24 19:32:06 +02:00
Hendrik Brucker
a38fd09669
Clean up/refactor GraphEdit
2023-07-24 18:37:23 +02:00
Yuri Sizov
91258e52be
Merge pull request #79307 from Geometror/remove-graph-node-comment
...
Remove GraphNode's comment property and related functionality
2023-07-24 16:56:41 +02:00
Ithamar R. Adema
f37c2b5be2
Fix ImageTextureLayered serialisation issues.
2023-07-23 13:54:04 +02:00
smix8
c63125c317
Disable NavigationMesh edge_max_length property by default
...
Disables NavigationMesh edge_max_length property by default.
2023-07-22 14:09:15 +02:00
Yuri Sizov
1843781918
Merge pull request #79640 from Calinou/default-theme-scale-fix-corner-radius
...
Fix corner radius not scaling with theme scale in the default theme
2023-07-21 17:54:54 +02:00
Yuri Sizov
7835d42971
Merge pull request #79618 from HolonProduction/deleting-terrains-crash
...
Fix crash when deleting tileset terrains
2023-07-21 17:15:48 +02:00
smix8
81930c6719
Remove unused struct from NavigationMesh
...
Removes unused struct from NavigationMesh.
2023-07-20 18:16:32 +02:00
Ninni Pipping
2284689b0e
Fix incorrect virtual function in `VideoStream.set_paused`
2023-07-20 15:55:18 +02:00
Yuri Roubinski
01101134f4
Make the dragging connections more user-friendly in visual shaders
2023-07-20 15:00:19 +03:00
Hugo Locurcio
4198fc9827
Fix corner radius not scaling with theme scale in the default theme
...
This also uses rounding consistently for scale multipliers, so that
behavior is more predictable with non-integer scale factors like `1.25`
and `1.5`.
2023-07-19 00:00:40 +02:00
HolonProduction
89c39c7f9d
Fix crash when deleting terrains
2023-07-18 17:52:32 +02:00
kobewi
de4a3fa151
Unify and streamline connecting to Resource changes
2023-07-17 19:35:57 +02:00
Yuri Sizov
38ccab2ab3
Merge pull request #79138 from aaronfranke/camera-exposure-range-hint
...
Change property hint range for camera attributes exposure multiplier
2023-07-17 17:17:16 +02:00
Hendrik Brucker
a29a680920
Extract StyleBoxFlat, StyleBoxTexture and StyleBoxLine in their own file
2023-07-17 13:25:00 +02:00
Yuri Sizov
a7583881af
Merge pull request #68460 from Geometror/split_texture_src
...
Extract and reorganize texture resource classes
2023-07-14 21:28:06 +02:00
Hendrik Brucker
7e21eb7e00
Extract and reorganize texture resource classes
2023-07-14 20:04:21 +02:00
Maxim Kulkin
058604f5b8
Fix crash when saving resources with circular references
...
When saving resources, marking of already seen resources was
done too late, causing infinite loop traversing referenced resources
and eventual stack overflow. The change marks traversed resource
before descending to it's children, thus when this resource is
encountered again, it is already marked as seen and traversal stops.
2023-07-14 19:20:04 +02:00
Yuri Sizov
16565fb630
Merge pull request #79426 from sepTN/fix-basis-tweening
...
Fix `tween_property` on "Basis" to properly update its value
2023-07-14 18:50:12 +02:00
Yuri Sizov
d8c0d63f07
Merge pull request #79393 from Sauermann/fix-window-focux-indicator
...
Add a default theme for unfocused Windows
2023-07-14 18:50:01 +02:00
Yuri Sizov
ead69eba96
Merge pull request #79287 from bitsawer/fix_shader_type_detection
...
Fix shader type detection
2023-07-14 18:49:44 +02:00
Yuri Sizov
de14f09c1d
Merge pull request #79279 from kleonc/animation-fix-transform-subtracting
...
Fix `Animation::subtract_variant` for affine transforms
2023-07-14 18:49:40 +02:00
Septian
eb7f87e9a8
Fix `tween_property` on "Basis" to properly update its value
2023-07-13 23:07:23 +07:00
Markus Sauermann
576980f960
Add a default theme for unfocused Windows
...
At the moment it is impossible to distinguish between focused and
unfocused embedded Windows.
Add a new `theme_item` that is used for coloring the border of
unfocused Windows.
2023-07-12 22:35:03 +02:00
Yuri Sizov
a927b22f65
Merge pull request #77257 from rakkarage/tile_animation_sync
...
Add `TileSetAtlasSource::TileAnimationMode` options and allow to shuffle tile animations
2023-07-12 21:02:31 +02:00
Yuri Sizov
f53329d045
Merge pull request #78890 from KoBeWi/who_needs_restart_anyway
...
Allow change import type without restarting editor
2023-07-12 17:16:53 +02:00
Yuri Sizov
6960a1d0e8
Merge pull request #78248 from felaugmar/load-svg-adjustable-scale
...
Added `Image::load_svg_from_(buffer|string)`
2023-07-12 15:09:03 +02:00
Yuri Sizov
b4a11294e6
Merge pull request #75460 from joao-pedro-braz/add_new_item_stylebox_to_the_tree_control
...
Add a new "inner_item_margin" Theme constant to the Tree control
2023-07-12 15:08:36 +02:00
Yuri Sizov
53d0e6c2d5
Merge pull request #73691 from Chaosus/vs_depth
...
Add DEPTH to the visual shader output (for spatial mode)
2023-07-12 14:18:41 +02:00
Hendrik Brucker
662d8c76b3
Remove GraphNode's comment property and related functionality
...
(this functionality will be reintroduced in a new and more flexible way)
2023-07-11 02:05:25 +02:00
bitsawer
905c10bc54
Fix shader type detection
2023-07-10 17:44:39 +03:00
kleonc
87935ca837
Fix Animation::subtract_variant for affine transforms
2023-07-10 13:49:30 +02:00
Rémi Verschelde
dbec337532
Merge pull request #79155 from Owl-A/bugfix-57779
...
Add 3.x compatibility for animation loop mode
2023-07-10 13:17:37 +02:00
Chinmay Awale
1686a7a1a2
add 3.x compatibility for animation loop mode
2023-07-10 16:16:19 +05:30
Rindbee
22edef14c3
Fix `PackedScene::get_last_modified_time()` always returns `0`
...
The variables operated by `PackedScene::set_last_modified_time()`
and `PackedScene::get_last_modified_time()` are different.
2023-07-09 17:01:41 +08:00
Rémi Verschelde
43c0fa7f4b
Merge pull request #78797 from Calinou/remove-redundant-vformat
...
Remove uses of `vformat()` with no placeholders
2023-07-08 18:18:35 +02:00
smix8
d253cd7864
Add clear() function to NavigationMesh / NavigationPolygon
...
Adds clear() function to NavigationMesh / NavigationPolygon.
2023-07-07 16:27:39 +02:00
Rémi Verschelde
5d23586faf
Merge pull request #79049 from BastiaanOlij/fix_stereo_depth_paralax
...
Take eye offset into account for depth in StandardMaterial3D
2023-07-07 08:33:44 +02:00
Aaron Franke
59e7e8c795
Change property hint range for camera attributes exposure multiplier
2023-07-06 22:14:47 -05:00
Bastiaan Olij
581d081ded
Take eye offset into account for depth in StandardMaterial3D
2023-07-06 21:13:46 +10:00
kobewi
244968c8d1
Allow change import type without restarting editor
2023-07-03 13:24:24 +02:00
Ben Rog-Wilhelm
7ee916a259
Fix: Incorrect property names in FontFile::_get_property_list().
2023-07-01 07:57:47 -05:00
Hugo Locurcio
dcc92c174e
Remove uses of `vformat()` with no placeholders
...
This is identical to passing the string directly.
2023-06-28 16:27:55 +02:00
kobewi
1a9739f591
Fix crash with failed compatibility tiles
2023-06-28 15:11:10 +02:00
Felipe Augusto Marques
26eb3db234
Added Image's `load_svg_from_(buffer|string)`
...
No core dependency to the svg module.
2023-06-23 00:43:43 -03:00
Rémi Verschelde
cb73a6e9f9
Merge pull request #78490 from clayjohn/GLES3-particles-subemit
...
Add warnings and fallbacks for particles sub emitters when using the GL Compatibility rendering backend
2023-06-22 21:02:38 +02:00
clayjohn
8a5af8183a
Add warnings and fallbacks for particles sub emitters when using the GL Compatibility rendering backend
...
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2023-06-21 12:56:52 -07:00
kobewi
c1c5b0a435
Update indices after removing custom data layers
2023-06-21 03:12:53 +02:00
Gilles Roudière
c54d407fa5
Fixes TileSet set as local to scene
2023-06-20 17:48:56 +02:00
Rémi Verschelde
73ac33342f
Merge pull request #78442 from smix8/navmesh_bake_geo_errors_4.x
...
Fix potential crashes in navmesh bake geometry functions
2023-06-20 09:22:03 +02:00
Rémi Verschelde
ca3283b22b
Merge pull request #77278 from davthedev/stylebox-flat-polys-optimize
...
Remove useless polygons from StyleBoxFlat drawing
2023-06-20 09:20:27 +02:00
Rémi Verschelde
217a20a8a0
Merge pull request #78448 from akien-mga/black-23.3.0
...
CI: Update static checks to black 23.3.0
2023-06-20 00:05:39 +02:00
Rémi Verschelde
75ef6e486c
Merge pull request #77735 from AThousandShips/node_array_fix
...
Fix export of `Array[Node]`
2023-06-20 00:04:01 +02:00
Rémi Verschelde
e4deaa2727
Merge pull request #76787 from RedworkDE/avoid-localvector-copy
...
Avoid making unnecessary copies of `LocalVector`
2023-06-20 00:01:55 +02:00
Rémi Verschelde
c9c941e339
CI: Update static checks to black 23.3.0
...
And apply it to the codebase, removing empty lines at the start of blocks.
2023-06-19 23:33:02 +02:00
Ninni Pipping
bbd4873eea
Fix index in loading of `Array[Node]`
2023-06-19 23:19:38 +02:00
smix8
f3a6e04f8b
Fix potential crashes in navmesh bake geometry functions
...
Fixes potential crashes in navmesh geometry functions.
2023-06-19 20:58:36 +02:00
Dominik 'dreamsComeTrue' Jasiński
6e6e296502
Set correct RW locks in AnimatedTexture
2023-06-19 15:21:52 +02:00
smix8
c4f544f802
Add ProjectSettings navigation map default up
...
Adds ProjectSettings navigation map default up.
2023-06-17 11:29:17 +02:00
Rémi Verschelde
2d90f66ac1
Merge pull request #78323 from kleonc/tile-compat-transposed-transform-fix
...
Fix transform for transposed tiles in compatibility mode (from 3.x)
2023-06-16 16:52:51 +02:00