Rémi Verschelde
475860839c
Merge pull request #80144 from KoBeWi/freedom_tiles
...
Add per-tile flipping and transposing
2023-09-12 12:00:20 +02:00
Rémi Verschelde
5c43e4c1ef
Fix various typos with codespell
...
Using 2.2.6.dev180+ge3a2cfbd.
2023-09-12 08:54:18 +02:00
kobewi
a9f3154da3
Add per-tile flipping and transposing
2023-09-09 00:56:38 +02:00
Rémi Verschelde
fb4edf50d7
Merge pull request #81452 from tcoxon/fix_57271
...
Fix animation keyframes being skipped when played backwards
2023-09-08 23:16:05 +02:00
Rémi Verschelde
5fef875cd8
Merge pull request #81070 from groud/improve_tilemap_performances
...
Improve TileMap performances by using quadrants only for rendering
2023-09-08 23:13:56 +02:00
Gilles Roudière
8c1e28237b
Improve TileMap performances by using quadrants only for rendering
2023-09-08 15:33:43 +02:00
Tom Coxon
1a52c0c543
Fix animation keyframes being skipped sometimes when being played backwards. #57271
2023-09-08 14:13:53 +01:00
Rémi Verschelde
4330a94b13
Merge pull request #65011 from Rindbee/fix-first-set-in-main-scene
...
Fix the behavior of the resource property of the sub-scene root node on instantiation
2023-09-08 11:50:30 +02:00
Rémi Verschelde
31a7fd1951
Merge pull request #81406 from bruvzg/ts_dict_chk2
...
[TextServer] Pass Dictionary properties by value and check property values instead of references.
2023-09-08 09:11:23 +02:00
Hendrik Brucker
5afe78bd9c
Clean up/refactor GraphNode and make it more flexible
...
Split GraphNode into GraphElement and GraphNode, add custom
titlebar, and adjust theming.
2023-09-07 17:29:06 +02:00
Rémi Verschelde
7663c69922
Merge pull request #81388 from YuriSizov/core-gdvirtual-but-less-confused-about-itself
...
Extract `ScriptInstance` into its own file to simplify includes
2023-09-07 13:53:45 +02:00
bruvzg
1ced1f9c99
[TextServer] Pass Dictionary properties by value and check property values instead of references..
2023-09-07 11:59:51 +03:00
KurtBliss
bb98843b61
Fixed: TextFile's not reloading when changed from external editors
2023-09-06 17:34:36 -04:00
Yuri Sizov
d8ff69d53c
Extract ScriptInstance to simplify includes
...
This allows to include script_instance.h directly in the
generated gdvirtual.gen.inc, and remove excessive includes
from the codebase.
This should also allow Resource to use GDVIRTUAL macros,
which wasn't possible previously due to a circular dependency.
2023-09-06 22:54:38 +02:00
Yuri Sizov
58126e479c
Introduce the concept of global theme contexts
...
This commit adds the default theme context, which replaces
the need to manually check the project and the default theme
all the time; simplifies related code.
It also adds framework for custom theme contexts, to be used
by the editor. Custom contexts can be attached to any node,
and not necessarily a GUI/Window node. Contexts do no break
theme inheritance and only define which global themes a node
uses as a fallback.
Contexts propagate NOTIFICATION_THEME_CHANGED when one of their
global themes changes. This ensures that global themes act just
like themes assigned to individual nodes and can be previewed
live in the editor.
2023-09-06 19:40:43 +02:00
Yuri Sizov
16957fd35b
Merge pull request #81286 from lemilonkh/unshaded-materials-ignore-fog
...
Implement render mode `fog_disabled` and BaseMaterial3D setting Disable Fog
2023-09-06 14:49:16 +02:00
Milan Gruner
45a33cc749
Implement render mode fog_disabled and BaseMaterial3D setting Disable Fog
2023-09-05 18:15:02 +02:00
Yuri Sizov
3604b46bda
Merge pull request #81300 from bitsawer/fix_empty_shader_handling
...
Fix empty shader resource loading
2023-09-05 15:14:24 +02:00
Yuri Sizov
cfdc016038
Merge pull request #81296 from AThousandShips/blend_fix
...
Fix incorrect cast when animating `int`
2023-09-05 15:14:21 +02:00
bitsawer
15eec2450a
Fix empty shader resource loading
2023-09-04 14:59:59 +03:00
A Thousand Ships
035cf5e210
Fix incorrect cast when animating `int`
...
Type was cast to `int` rather than `int64_t`
Also corrects `real_t` to `double`
2023-09-04 11:58:29 +02:00
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