Rémi Verschelde
453485aede
Merge pull request #89270 from Repiteo/enforce-typename-in-templates
...
Enforce template syntax `typename` over `class`
2024-03-14 22:34:37 +01:00
kobewi
a85921a856
Fix call queue problems when loading TileSet
2024-03-14 21:05:14 +01:00
Hugo Locurcio
1e2b8992ae
Use raw string literals for BaseMaterial3D shader code generation
...
- Add range hints to all uniforms that match the BaseMaterial3D
property hints, so that ranges in the inspector remain identical
after converting to a shader.
- Add comments to describe selected options within the shader.
This makes it easier to remember what each block of code does.
- Format code to follow the Godot shader language style guide.
2024-03-13 23:54:23 +01:00
Rémi Verschelde
d30aa4bd36
Merge pull request #89432 from clayjohn/proximity-fade-limit
...
Set a minimum of 0.01 for proximity fade to avoid undefined behavior in shader
2024-03-13 18:41:43 +01:00
clayjohn
f4c6c807eb
Set a minimum of 0.01 for proximity fade to avoid undefined behavior in shader
2024-03-12 17:10:58 -07:00
bruvzg
fee14eb5e8
[Import] Add "skip file" import option to skip (and exclude from export) importable formats, auto set it for the images used by bitmap font.
2024-03-12 21:34:40 +02:00
Rémi Verschelde
d5856f864f
Merge pull request #89383 from bruvzg/font_no_bitmaps
...
[Font] Add option to disable embedded bitmaps loading.
2024-03-11 23:48:17 +01:00
bruvzg
911fa38d3a
[Font] Add option to disable embedded bitmaps loading.
2024-03-11 16:31:10 +02:00
Aaron Franke
6aac3e4a16
Disable all 3D nodes, physics, and resources when compiling without 3D
2024-03-11 01:00:55 -07:00
Rémi Verschelde
54f2916cf1
Merge pull request #89311 from Mickeon/label_3d_is_a_mess
...
Fix Label3D, TextMesh & Font not following project default theme in editor
2024-03-10 21:13:01 +01:00
Rémi Verschelde
1d6403323f
Merge pull request #88426 from Rindbee/fix-inherited-scenes-produce-errors
...
Fix inherited scenes produce errors in editor when `editable_children` is true
2024-03-10 21:12:54 +01:00
风青山
4d57da4d01
Fix inherited scenes produce errors in editor when "editable_children" is true
...
Since the same argument is used, `SceneState::get_node_deferred_nodepath_properties()`
should use similar logic to `SceneState::get_property_value()`.
Make `SceneState::get_property_value()` to return whether the property is deferred.
2024-03-10 07:37:47 +08:00
Micky
ba867042a2
Fix Label3D, TextMesh & Font not following project default theme in editor
2024-03-09 17:35:48 +01:00
Rémi Verschelde
1c8ef9e252
Merge pull request #89251 from KoBeWi/fastpector
...
Speed up inspector updates for TileMap
2024-03-09 00:52:09 +01:00
Rémi Verschelde
d195346b59
Merge pull request #89190 from AThousandShips/vis_cat
...
Fix some missing categories in visual shader nodes
2024-03-08 13:09:34 +01:00
Thaddeus Crews
9903e6779b
Enforce template syntax `typename` over `class`
2024-03-07 22:39:09 -06:00
Pawel Lampe
ab242769b7
Extend `NavigationMeshSourceGeometryData[23]D` to allow data merging
2024-03-07 19:57:43 +01:00
kobewi
7319b612f3
Speed up inspector updates for TileMap
2024-03-07 18:01:30 +01:00
jsjtxietian
1716f12451
Expose PrimitiveMesh's `request_update`` method
2024-03-06 19:18:01 +08:00
Gilles Roudière
de5073519e
Save PackedByteArrays as base64 encoded
2024-03-06 10:17:31 +01:00
A Thousand Ships
e5d2b6d50f
Fix some missing categories in visual shader nodes
2024-03-05 19:39:23 +01:00
Rémi Verschelde
f289ec90e3
Merge pull request #86208 from MarcusElg/betterworldboundary
...
Improve visualisation of WorldBoundary2D editor
2024-03-04 13:32:51 +01:00
Rémi Verschelde
c1377920cd
Merge pull request #86743 from Mickeon/autocompletion-optimise-object
...
Optimise comparisons for Object's `get_argument_options`
2024-03-01 14:56:06 +01:00
Micky
cd2032a90b
Optimise Object's `get_argument_options`
2024-02-29 18:00:54 +01:00
Rémi Verschelde
3125a4fb90
Merge pull request #88986 from akien-mga/navigation-fix-blank-build-profile
...
Fix linking NavigationServer2D/3D with all classes disabled in build profile
2024-02-29 13:55:04 +01:00
Rémi Verschelde
172b254687
Merge pull request #88664 from RandomShaper/res_load_modes
...
Enhance cache modes in resource loading
2024-02-29 13:54:07 +01:00
Rémi Verschelde
440fe26338
Merge pull request #87268 from Wyxaldir/master
...
Fix for `resource_local_to_scene` in arrays.
2024-02-29 13:53:49 +01:00
Rémi Verschelde
6fdf3e5d22
Fix linking NavigationServer2D/3D with all classes disabled in build profile
...
For some reason the destructor for NavigationMeshSourceGeometryData2D/3D
being implemented in the .cpp was causing linking issues.
2024-02-28 22:41:44 +01:00
blackbird806
e2f1af8742
Remove self includes in some files
2024-02-27 17:10:54 +01:00
Rémi Verschelde
21e3b2111e
Merge pull request #88862 from smix8/split_physics_classes
...
Split monolithic physics class files
2024-02-27 16:37:07 +01:00
Marcus Elg
8bed36e4bb
Improve visualisation of worldboundary2d editor
2024-02-27 14:07:24 +01:00
smix8
35dafc9fa8
Split monolithic physics class files
...
Splits monolithic physics class files.
2024-02-27 11:18:16 +01:00
Rémi Verschelde
10c3b00bd7
Merge pull request #88890 from clayjohn/SurfaceTool-tangent-hash
...
Include tangent in SurfaceTool vertex compare operator
2024-02-27 10:18:46 +01:00
Rémi Verschelde
8f98ed65f7
Merge pull request #88738 from clayjohn/mesh_compression-tangents
...
Multiple fixes for compressed meshes
2024-02-27 10:17:43 +01:00
Rémi Verschelde
b21328d465
Merge pull request #88725 from clayjohn/GLTF-binormal-sign
...
Properly calculate binormal when creating SurfaceTool from arrays
2024-02-27 10:17:39 +01:00
clayjohn
2b2f957543
Include tangent in SurfaceTool vertex compare operator
2024-02-26 17:52:24 -08:00
Pedro J. Estébanez
5e144022e7
Enhance cache modes in resource loading
...
- Unify documentation, hoping to clear misconcepctions about about propagation of the cache mode across dependant loads.
- Clarify in docs that `CACHE_MODE_REPLACE` now also works on the main resource (from #87008 ).
- Add two recursive modes, counterparts of `CACHE_MODE_REPLACE` and `CACHE_MODE_IGNORE`, since it seems some need them (see #59669 , #82830 ).
- Let resources, even loaded with one of the ignore-cache modes, get a path, which is useful for tools.
2024-02-26 14:59:04 +01:00
Aaron Franke
c399424db9
Move 3D-only resources to their own folder
2024-02-26 05:23:04 -06:00
Aaron Franke
1cb531ddb6
Move 2D-only resources to their own folder
2024-02-26 05:22:45 -06:00
Adam Scott
d53a1b0e84
Fix shared exported variables of inherited scenes
2024-02-24 16:35:01 -05:00
clayjohn
f267b2aa87
Properly calculate binormal when creating SurfaceTool from arrays
2024-02-23 21:19:21 -08:00
clayjohn
781cd27fe4
Avoid singularity when generated tangents and validate that tangents are good enough when using compression
2024-02-23 16:25:26 -08:00
Robert Yevdokimov
13e82094ee
Remove word duplicates in comments and strings, and fix casing and punctuation
2024-02-23 17:28:28 -05:00
A Thousand Ships
3a707b1f54
Fix some additional errors with 3D disabled
...
* Disabled 2D navigation tests as they do not work
* Disabled tests for primitive meshes
* Unbound some `Mesh` methods that rely on 3D resources
* Unexposed `World3D` as it depends on physics (and isn't useful)
* Unexposed some `Viewport` vrs related properties that had unexposed
methods
2024-02-23 20:58:56 +01:00
Hendrik Brucker
02a33b67a8
Redesign the graph editor for visual shaders
2024-02-22 20:40:09 +01:00
Wyxaldir
07b011aec7
Fixes #71243 . Resources that have local_to_scene enabled now properly work inside arrays and dictionaries.
2024-02-21 09:35:31 -05:00
Rémi Verschelde
652438a395
Merge pull request #87360 from BastiaanOlij/gles_glow
...
Implement glow/bloom on compatibility renderer
2024-02-20 23:59:48 +01:00
Bastiaan Olij
aa260e5f3d
Implement glow/bloom on compatibility renderer
2024-02-19 13:29:43 +11:00
Bastiaan Olij
5a98845655
Implement hooks into renderer
2024-02-18 21:54:21 +11:00
Eidolon
08f4560e69
Add optional depth fog
2024-02-17 22:39:34 -03:00
Silc Lizard (Tokage) Renew
4659090543
Make consistent the retrieval of audio tracks
2024-02-18 00:15:33 +09:00
Silc Lizard (Tokage) Renew
bc20fdf16f
Add CallbackModeDiscrete to AnimationMixer
2024-02-17 18:25:56 +09:00
Rémi Verschelde
ebf00b86ed
Merge pull request #87694 from jsjtxietian/cube-layer
...
Add check in `CompressedTextureLayered::get_layer_data` to prevent crash
2024-02-17 00:22:58 +01:00
jsjtxietian
1b2a838e21
Add check in `CompressedTextureLayered::get_layer_data` to prevent crash
2024-02-16 22:41:05 +08:00
Arman Elgudzhyan
7ac8365e11
Support custom AABB within MultiMesh resources
...
- Supporting custom AABB on the MultiMesh resource itself allows us to prevent costly runtime AABB recalculations.
- Should also help improve CPU Particle performance.
2024-02-15 22:37:07 -08:00
Rémi Verschelde
7e14974d07
Merge pull request #88185 from bruvzg/font_draw_no_ellipsis
...
[Font] Do not use trim with ellipsis in the basic Font string drawing functions.
2024-02-15 17:35:44 +01:00
Rémi Verschelde
eac054f1cc
Merge pull request #87971 from bruvzg/font_no_image_dup
...
[TextServer / Font] Do not duplicate images to prevent unnecessary embedding.
2024-02-15 17:35:36 +01:00
Rémi Verschelde
d40931b942
Merge pull request #87721 from clayjohn/TextureRD-render-thread
...
Enforce calling RenderingDevice code from rendering thread in TextureRD classes
2024-02-13 23:43:25 +01:00
Rémi Verschelde
921b656f33
Merge pull request #86781 from KoBeWi/scenes_that_are_no_longer_with_us
...
Allow opening scenes with missing scene dependency
2024-02-13 23:43:14 +01:00
kobewi
be4cbee873
Allow opening scenes with missing scene dependency
2024-02-13 19:46:35 +01:00
Rémi Verschelde
aab55ef57c
Merge pull request #88280 from groud/fix_tileset_duplication
...
Fix TileSet sources duplication
2024-02-13 17:24:31 +01:00
A Thousand Ships
d8b29efe66
Fix member names of `AudioFrame` to match extension
2024-02-13 15:37:09 +01:00
Gilles Roudière
320fc73647
Fix tile_set duplication
2024-02-13 14:44:17 +01:00
Rémi Verschelde
dfe226b933
Merge pull request #88270 from TokageItLab/avoid-near-far
...
Avoid unqualified-id "near" and "far" in Node3DEditor/Viewport
2024-02-13 11:25:24 +01:00
Rémi Verschelde
50e72516c1
Merge pull request #86458 from smix8/navpoly_sourcegroup
...
Fix default NavigationPolygon source geometry group name
2024-02-13 11:24:45 +01:00
Silc Lizard (Tokage) Renew
67e38709fd
Avoid unqualified-id "near" and "far" in Node3DEditor/Viewport
2024-02-13 18:53:21 +09:00
Erik Johnson
eab95698cd
Fix shadows for billboarded Sprite3D's
2024-02-13 10:36:38 +01:00
smix8
c349c935c3
Fix default NavigationPolygon source geometry group name
...
Fixes default NavigationPolygon source geometry group name.
2024-02-13 00:12:30 +01:00
Rémi Verschelde
d2f69ce872
Merge pull request #88156 from DaZang/parsed-collision-mask-2d-layer-hints
...
Fix property hints for parsed collision mask
2024-02-12 13:34:44 +01:00
Rémi Verschelde
24bd30716e
Merge pull request #87959 from Scony/fix-navi-sync-errors
...
Add means for fixing navmap synchronization errors
2024-02-12 13:34:30 +01:00
Rémi Verschelde
27575c4d4b
Merge pull request #87817 from Dheatly23/fix-87813
...
Fix quaternion keyframe optimization for collinear rotation over 180 degrees
2024-02-12 13:34:22 +01:00
Gilles Roudière
5a999d67ec
Change TileMapEditor to TileMapLayerEditor
2024-02-12 10:11:45 +01:00
Pawel Lampe
9ea8d4fa38
Add means for fixing navmap synchronization errors
2024-02-11 21:06:47 +01:00
bruvzg
1a5bae9adc
[Font] Do not use trim with ellipsis in the basic Font string drawing functions.
2024-02-11 00:23:35 +02:00
David Zang
0831ea0c52
Fix property hints for parsed collision mask
...
In NavigationPolygon use PROPERTY_HINT_LAYERS_2D_PHYSICS instead of PROPERTY_HINT_LAYERS_3D_PHYSICS to display the correct property hints.
Fixes #88154 .
2024-02-09 20:44:14 +01:00
A Thousand Ships
684752e75b
Replace error checks against `size` with `is_empty`
2024-02-09 12:50:15 +01:00
Rémi Verschelde
261952a4c7
Merge pull request #87378 from smix8/navmesh_bordersize
...
Add NavigationMesh `border_size` property for tile baking
2024-02-08 10:53:30 +01:00
Rémi Verschelde
4a30fe5e7c
Merge pull request #86564 from Giwayume/feature/canvas-item-shader-custom-data
...
Support CUSTOM shader attributes in 2D
2024-02-08 10:53:24 +01:00
Rémi Verschelde
8daa633d0d
Merge pull request #87961 from smix8/navmesh2d_bordersize
...
Add NavigationPolygon `border_size` property for tile baking
2024-02-07 11:01:42 +01:00
Hugo Locurcio
93be97e6a7
Make ShaderMaterial always the last option in inspector resource dropdowns
...
ShaderMaterial is the "advanced" option, while the "basic" options
should be listed first for easier accessibility (and because they're
generally used more often).
This makes sky and particle materials consistent with
canvas/spatial/fog materials on this aspect.
2024-02-05 21:49:17 +01:00
bruvzg
19f1d5afa9
[TextServer / Font] Do not duplicate images to prevent unnecessary embedding.
2024-02-05 10:38:32 +02:00
smix8
085bc9504b
Add NavigationPolygon border_size property for tile baking
...
Adds NavigationPolygon border_size property for tile baking. Also adds baking Rect2 bounds.
2024-02-05 00:38:28 +01:00
smix8
0a485fc30a
Add HeightMapShape3D functions to get min / max height
...
Adds HeightMapShape3D functions to get min / max height.
2024-02-04 01:23:30 +01:00
Dheatly23
9862056fa5
Fix Quaternion Keyframe Optimization
2024-02-03 16:16:21 +07:00
Rémi Verschelde
0d1fa8d657
Merge pull request #87854 from jsjtxietian/Placeholder
...
Update visuals immediately after resizing `Placeholder*` textures
2024-02-02 12:06:05 +01:00
jsjtxietian
e896fbb638
Support immediately update ui after resizing placeholder* texture
2024-02-02 14:56:05 +08:00
Silc Lizard (Tokage) Renew
a5dffe7804
Fix cubic interpolation wrong argument for the time
2024-01-31 14:02:42 +09:00
clayjohn
83241ab139
Enforce calling RenderingDevice code from rendering thread in TextureRD classes
2024-01-29 14:47:50 -08:00
Rémi Verschelde
5c61803971
Merge pull request #87668 from bruvzg/add_baseline_offset
...
[TextServer / Font] Add support for customizable baseline offset.
2024-01-29 13:17:52 +01:00
Rémi Verschelde
563364d93e
Merge pull request #87603 from jsjtxietian/_property_get_revert
...
Fix `ShaderMaterial::_property_get_revert` crash when given non-existing `p_name`
2024-01-29 13:17:25 +01:00
jsjtxietian
f04b584ed3
Fix `ShaderMaterial::_property_get_revert` crash when given non-exist `p_name`
2024-01-29 10:39:51 +08:00
bruvzg
85df221610
[TextServer / Font] Add support for customizable baseline offset.
2024-01-28 13:26:49 +02:00
Rémi Verschelde
c26a338430
Merge pull request #87356 from jsjtxietian/connection-error
...
Check if the ref shader is valid in visual shader's `_update_option_menu`
2024-01-26 11:44:13 +01:00
Yuri Sizov
68d5043e88
Merge pull request #87541 from clayjohn/TextureRD-property
...
Avoid saving the texture_rd_rid property of TextureRD resources
2024-01-25 16:27:17 +01:00
jsjtxietian
ff089f8cea
Check is the ref shader valid in visual shader's update_option_menu
2024-01-25 11:54:23 +08:00
clayjohn
c6316bff65
Avoid saving the texture_rd_rid property of TextureRD resources
...
RIDs do not persist between runs, so they should not be saved
2024-01-24 10:34:51 -08:00
Yuri Sizov
2ce450f8bc
Merge pull request #84894 from clayjohn/tangent-error-message
...
Store ArrayMesh path in RenderingServer for use in error messages
2024-01-24 14:07:47 +01:00
Giwayume
bb83c4adec
Add custom shader attributes to Canvas Item Shaders
2024-01-23 14:36:39 -05:00
smix8
d6c31017a6
Add NavigationMesh border_size property for tile baking
...
Adds NavigationMesh border_size property for tile baking.
2024-01-19 17:31:36 +01:00
Hendrik Brucker
f59419bfe0
Add connection-related VisualShader operations
...
- Insert a node in a connection
- Drop an unconnected node on a connection to insert it
- Delete a connection
2024-01-19 11:38:59 +01:00
Gilles Roudière
48bed5050b
Make TileMapLayers extend Node2D and work as children of TileMap
2024-01-17 16:05:50 +01:00
Rémi Verschelde
79791a3855
Merge pull request #86931 from LeoBelda/fix-create-prism-mesh-division-by-zero
...
Prevent division by 0 when creating vertices of a PrismMesh
2024-01-11 17:40:12 +01:00
Leo Belda
83992fd7bd
Fix PrismMesh::_create_mesh_array division by 0
2024-01-10 23:01:43 +01:00
kobewi
0e8f90f4c8
Update deferred calls to use Callables
2024-01-09 16:11:47 +01:00
Rémi Verschelde
1d3f98ac6a
Merge pull request #86894 from jsjtxietian/merge-dafault-font
...
In `merge_with` also merge some default fields of theme
2024-01-09 11:29:52 +01:00
Rémi Verschelde
84e205b5a1
Merge pull request #86950 from jsjtxietian/fix-compress-image-error
...
Fix wrong fail condition in compressed texture's `_set_data`
2024-01-08 14:53:43 +01:00
Silc Lizard (Tokage) Renew
a51958a2a0
Remove Object pointer/solve types conflict in AnimationTrackCache
...
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2024-01-08 21:48:19 +09:00
Rémi Verschelde
48b726deba
Merge pull request #86417 from LimestaX/tscn-escape-char-fix
...
Ensure special characters are escaped in TSCN connections and editable hint
2024-01-08 11:53:28 +01:00
Rémi Verschelde
91dacb469d
Merge pull request #51156 from Muller-Castro/value2ref
...
Add const lvalue ref to container parameters
2024-01-08 11:48:34 +01:00
LimestaX
0a32c160ac
Ensure special characters are escaped in tscn connections and editable hint
2024-01-08 11:42:30 +01:00
jsjtxietian
6a3b63eb36
Fix wrong fail contion in compressed texture and some clean up
2024-01-08 12:53:18 +08:00
jsjtxietian
6f3568e3db
In `merge_with` also merge some default fileds of theme
2024-01-08 10:41:30 +08:00
nklbdev
e72ccc2080
Fix lossless formats in PortableCompressedTexture2D (fix data format storing)
2024-01-06 22:56:25 +05:00
Muller-Castro
96a95cb974
Add const lvalue ref to container parameters
2024-01-05 14:49:57 -03:00
Rémi Verschelde
62616fb14f
Merge pull request #86799 from Mickeon/autocompletion-animationlibrary
...
Add autocompletion for AnimationLibrary & AnimationMixer's methods
2024-01-05 12:06:21 +01:00
Rémi Verschelde
dc5b57ea44
Merge pull request #81325 from AttackButton/path_2d_editor_plugin-clear_points
...
Add a button to clear curve points in the Path2D editor
2024-01-05 12:02:41 +01:00
Rémi Verschelde
d1b7c60afc
Merge pull request #77712 from nklbdev/Fix_lossless_formats_in_PortableCompressedTexture2D
...
Fix lossless formats in PortableCompressedTexture2D
2024-01-05 12:02:14 +01:00
Micky
787f61d70b
Add autocompletion for AnimationLibrary's & AnimationMixer
2024-01-04 21:11:36 +01:00
nklbdev
47d991678d
Fix lossless formats in PortableCompressedTexture2D
...
Update scene/resources/portable_compressed_texture.cpp
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2024-01-05 00:11:01 +05:00
Rémi Verschelde
b88eddb682
Merge pull request #78378 from 0xafbf/curve-evaluate-correct-transform
...
Changed the way the rotation of a curve at a point is evaluated to match PathFollow2D
2024-01-04 16:38:38 +01:00
Rémi Verschelde
4a14f9d968
Merge pull request #86754 from Mickeon/autocompletion-spriteframes-animation
...
Add autocompletion for SpriteFrames' methods
2024-01-04 14:26:37 +01:00
Rémi Verschelde
6c390b620d
Merge pull request #84445 from Rubonnek/add-const-references-clang-tidy
...
Add const references detected by clang-tidy
2024-01-04 14:25:33 +01:00
Rémi Verschelde
5d306202b8
Merge pull request #84348 from jsjtxietian/screen-uv-in-visual-shader-preview-should-uv
...
Fix visual shader's `screen_uv` input preview uses position of node rather than a sample area like uv
2024-01-04 14:25:21 +01:00
Micky
c2f9a227f7
Add autocompletion for SpriteFrames' methods
2024-01-03 19:25:28 +01:00
Rémi Verschelde
4acfe4aa3c
Merge pull request #86729 from Mickeon/autocompletion-for-all
...
Fix missing autocompletion for inheriting classes
2024-01-03 10:14:37 +01:00
Micky
ca2f340384
Fix missing autocompletion for inheriting classes
2024-01-03 00:13:04 +01:00
Eoin O'Neill
2283e072b5
Improve error message in text resource format parser
...
This improves the error message in our text resource parsing code to
help the user potentially fix parsing issues in case of failure. It also
helps with the debugging process of finding out which sub_resource is
causing the parser to fail with line messages.
2024-01-02 14:59:32 -08:00
Rémi Verschelde
2f8005cd14
Merge pull request #86601 from TokageItLab/add-cubic-interpolation-variant
...
Add `cubic_interpolate_in_time_variant()` to Animation
2024-01-02 18:05:55 +01:00
EddieBreeg
8747c67d9e
Fix potential integer underflow in rounded up divisions
...
A new `Math::division_round_up()` function was added, allowing for easy
and correct computation of integer divisions when the result needs to
be rounded up.
Fixes #80358 .
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2024-01-02 14:14:47 +01:00
Silc Lizard (Tokage) Renew
e538ce3851
Add cubic_interpolate_in_time_variant() to Animation
2023-12-30 13:30:14 +09:00
Yuri Sizov
f77da033f2
Merge pull request #86169 from Repiteo/gdvirtual-call-refactoring
...
Replace `GDVIRTUAL_CALL` with `GDVIRTUAL_REQUIRED_CALL` where applicable
2023-12-20 15:07:55 +01:00
Yuri Sizov
bc6be82f5a
Merge pull request #81260 from KoBeWi/min_maxing_particle_editing
...
Improve editing of min/max particle properties
2023-12-20 15:07:25 +01:00
kobewi
ce9fec9b4d
Improve editing of min/max particle properties
2023-12-20 06:31:08 +01:00
Stanislav Labzyuk
958699a0c4
Implement project-wide node groups
2023-12-19 18:07:19 +01:00
Wilson E. Alvarez
a3cb1b096f
Add const references detected by clang-tidy
2023-12-16 13:36:44 -05:00
kobewi
397f0b31e4
Fix file disappearing when renaming dependencies
2023-12-14 22:28:48 +01:00
Thaddeus Crews
83ef789745
Replace `GDVIRTUAL_CALL` with `GDVIRTUAL_REQUIRED_CALL` where applicable
2023-12-14 13:22:40 -06:00
Yuri Sizov
203c8c31d3
Merge pull request #85071 from Rubonnek/remove-unnecessary-assignments
...
Remove unnecessary assignments
2023-12-14 17:38:34 +01:00
Gilles Roudière
18fe0bd025
Move tile transforms handling cache to TileData
2023-12-13 17:44:59 +01:00
Wilson E. Alvarez
80fb8db31f
Remove unnecessary assignments
...
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2023-12-13 11:06:26 -05:00
Rémi Verschelde
7635530e11
Merge pull request #86046 from bs-mwoerner/linear_animation_typemix
...
Fix linear interpolation not working with mixed (int/float) keyframes
2023-12-13 12:20:38 +01:00
Michael Wörner
12ce2e33b2
Restored the ability for linear interpolation to work on a mix of integer and float keyframes.
2023-12-13 00:24:46 +01:00
Rémi Verschelde
63f3de3aad
Merge pull request #86056 from ShatReal/fix-skeletonmodification2dtwoboneik-meters
...
Change suffix of SkeletonModification2DTwoBoneIK from m to px
2023-12-12 10:41:29 +01:00
Rémi Verschelde
5352490cc9
Merge pull request #84384 from zeux/meshopt-update
...
meshoptimizer: Update to v0.20 (with a reduced patch)
2023-12-12 10:39:28 +01:00
Emily
b7d5f3e984
Change suffix from m to px
2023-12-11 16:52:03 -08:00
Rémi Verschelde
4450ae98b9
Merge pull request #84969 from alesliehughes/shader_refactor
...
VisualShader: Refactor use of Connection
2023-12-12 00:18:07 +01:00
Rémi Verschelde
5529d32b56
Merge pull request #83938 from clayjohn/sky-exposure
...
Expose `energy_multiplier` to remaining SkyMaterials
2023-12-12 00:16:25 +01:00
Rémi Verschelde
4e2350b1af
Merge pull request #82661 from bruvzg/custom_ellipsis
...
[Text Overrun] Add option to set custom ellipsis character, add support for system font fallback.
2023-12-12 00:15:34 +01:00
Alistair Leslie-Hughes
bfd62d7cdf
Visual shader refacter use of connection
2023-12-12 07:36:28 +11:00
Rudolph Bester
6b2a1b4fdc
Fixed particle spread values effecting particle velocity
2023-12-08 06:03:37 +02:00
Aaron Franke
6ee9edb946
Reduce minimum capsule/cylinder mesh rings to 0
2023-12-05 22:27:23 -06:00
Rémi Verschelde
6a10b99228
Merge pull request #85631 from Malcolmnixon/gltf-convex-decomposition
...
Fix memory corruption and assert failures in convex decomposition
2023-12-04 23:20:23 +01:00
Rémi Verschelde
c7137673d3
Merge pull request #85269 from Calinou/material-conversion-fix-typo
...
Fix typo in BaseMaterial3D conversion from 3.x SpatialMaterial
2023-12-04 23:11:59 +01:00
Rémi Verschelde
f444818c7e
Merge pull request #84794 from akien-mga/videoplayer-fix-reloading-translation-remapped-stream
...
VideoPlayer: Fix reloading translation remapped stream
2023-12-04 23:05:15 +01:00
Rémi Verschelde
74880abd15
Merge pull request #84507 from SaracenOne/terrain_icon_fix
...
Fix generating terrain icon with certain image formats.
2023-12-04 23:03:35 +01:00
Rémi Verschelde
94edf0f9a1
Merge pull request #80326 from MewPurPur/no-exp-with-zero
...
Remove exp hint of a few properties
2023-12-04 22:57:09 +01:00
bruvzg
56579f397d
[Text Overrun] Add option to set custom ellipsis character, add support for system font fallback.
2023-12-04 08:21:42 +02:00
Malcolm Nixon
bf7cdc5229
Fix memory corruption and assert failures in convex decomposition
...
This PR fixes how triangular faces are decomposed into vertices and indices. The pre-increment resulted in the indices table skipping entry 0 and potentially overrunning the end of the vertices vector.
2023-12-01 16:38:08 -05:00
Rémi Verschelde
eda44bfe10
Merge pull request #85252 from QbieShay/qbe/fix-radial-inwards-velocity
...
Fix radial inwards velocity clamping incorrectly (regression from #83488 )
2023-11-27 21:25:58 +01:00
Hugo Locurcio
70959a9c04
Fix typo in BaseMaterial3D conversion from 3.x SpatialMaterial
2023-11-23 15:18:03 +01:00
QbieShay
4d390cd39d
Subemitter emission at end now correctly emits at end
2023-11-23 11:46:07 +01:00
QbieShay
a879e59581
Fixed radial inwards velocity clamping incorrectly (regression from 83488)
2023-11-23 10:32:56 +01:00
Rémi Verschelde
c2f8fb3015
Merge pull request #85039 from RandomShaper/mingwthreads
...
Use mingw-std-threads in MinGW builds
2023-11-21 15:44:18 +01:00
kobewi
c6c872ba34
Provide more context when scene fails to load
2023-11-20 14:57:00 +01:00
Pedro J. Estébanez
fe4850c0d0
Use mingw-std-threads in MinGW builds
2023-11-18 11:56:05 +01:00
Silc Lizard (Tokage) Renew
80c9533810
Rework blending method in Variant animation for Int/Array/String
2023-11-16 21:37:18 +09:00
clayjohn
ead36fdcc4
Store ArrayMesh path in RenderingServer for use in error messages
2023-11-14 16:27:10 +01:00
Rémi Verschelde
8b705af9e5
Merge pull request #84832 from alesliehughes/fix_use_after_free
...
Fix VisualShader connection use after free.
2023-11-14 00:03:45 +01:00
Rémi Verschelde
8d731b17f1
Merge pull request #84829 from bitsawer/fix_particle_material_names
...
Fix several ParticleProcessMaterial texture names
2023-11-14 00:03:21 +01:00
Alistair Leslie-Hughes
a30dc67007
Fix VisualShader connection use after free.
2023-11-14 07:34:41 +11:00
kobewi
4296f0a771
Fill remaining global scope constant descriptions
2023-11-13 15:17:10 +01:00
bitsawer
7c4d07c5a0
Fix several ParticleProcessMaterial texture names
2023-11-13 05:51:01 +02:00
Rémi Verschelde
5a5b456fca
Merge pull request #84774 from akien-mga/fix-TTR-in-ERR-WARN-prints
...
Don't use TTR/RTR for ERR/WARN prints
2023-11-12 22:59:38 +01:00
Rémi Verschelde
7d0c561e02
VideoPlayer: Fix reloading translation remapped stream
...
Fixes #43917 .
2023-11-12 15:22:16 +01:00
Rémi Verschelde
8928b2044b
Merge pull request #80281 from KoBeWi/unacceptable
...
Assign temporary path to preloaded resources
2023-11-12 12:13:55 +01:00
Rémi Verschelde
15b8185c68
Don't use TTR/RTR for ERR/WARN prints
...
We don't translate those, only editor strings are translated.
2023-11-12 12:00:55 +01:00
biswas08433
92fe4bb693
Fixes Texture2dParameter node filter option
...
This bug was appending 2 colons in the generated code. Fixed it.
2023-11-12 01:59:53 +05:30
kobewi
a3627b6e37
Assign temporary path to preloaded resources
2023-11-10 00:43:30 +01:00
clayjohn
031f221b9d
Create tangent array if mesh created without tangents
...
This extends our previous change to ensure that compressed meshes have tangents
Now we ensure tangents are always used. This greatly simplifies our compression code at the cost of a small amount of bandwidth
2023-11-07 14:24:23 +01:00
Saracen
35c105e796
Fix generating terrain icon with certain image formats.
2023-11-06 22:19:54 +00:00
jsjtxietian
d920bdeda5
Fix visual shader's screen_uv input preview uses position of node
...
rather than a sample area like uv
2023-11-06 11:20:42 +08:00
Arseny Kapoulkine
2b8215a196
Fix dramatically overallocated normal weights
...
The weight is per-attribute scalar (X, Y, Z), not per-vertex; this was
the case even before the library update so this appears to be an
oversight.
2023-11-02 14:17:41 -07:00
Arseny Kapoulkine
c5f73a1783
Update thirdparty/meshoptimizer to v0.20
...
Note: this change completely overwrites the meshoptimizer library source
(from git SHA c21d3be6ddf627f8ca852ba4b6db9903b0557858)
without including any patches; a distance error metric patch is still
needed and will be reapplied in the next commit.
The changes elsewhere are due to a signature change for
meshopt_simplifyWithAttributes.
2023-11-02 14:10:39 -07:00
Yuri Sizov
f2de1137d9
Unexpose internal data property of `AnimationLibrary`
2023-11-02 18:57:39 +01:00
Rémi Verschelde
c6c4728440
Merge pull request #84303 from bitsawer/fix_material_texture_updates
...
Fix several Material texture parameter updates
2023-11-01 22:33:23 +01:00
bitsawer
1ec97a7b91
Fix several Material texture parameter updates
2023-11-01 03:10:46 +02:00
bruvzg
9ad55dc32d
[TextServer] Fix line breaks for dropcap and resizing embedded objects.
2023-10-31 22:39:42 +02:00
Rémi Verschelde
17a575625e
Merge pull request #84159 from clayjohn/uv-compression
...
Fix multiple issues with UV compression
2023-10-30 23:19:45 +01:00
Rémi Verschelde
bb997d787d
Merge pull request #84127 from quirkylemon/get-type-variations
...
Include empty type variations in `Theme::get_type_list`
2023-10-30 23:18:58 +01:00
clayjohn
3f5c16dd9e
Fix multiple issues with UV compression
2023-10-30 23:11:34 +01:00
QuirkyLemon
b3970336ce
Added variations to get_type_list()
2023-10-30 10:27:38 -05:00
Rémi Verschelde
ceaa8333f3
Merge pull request #84028 from QbieShay/qbe/fix-damp-fric
...
Fix friction being in the correct if/else branch
2023-10-30 16:26:40 +01:00
QbieShay
8f2a2ece80
Fix friction being in the correct if/else branch
...
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2023-10-30 15:00:02 +01:00
Rémi Verschelde
2f1f1206a9
Merge pull request #84180 from bruvzg/text_mesh_offset
...
[Text Mesh] Fix incorrectly cached glyph offsets.
2023-10-30 10:20:32 +01:00
Rémi Verschelde
ad9297ee8c
Merge pull request #84097 from stoofin/plane-mesh-tangent
...
Fix PlaneMesh tangents for 'Face X' orientation
2023-10-30 10:18:57 +01:00
Rémi Verschelde
47101c0cb1
Merge pull request #84056 from QbieShay/qbe/fix-orbit-z
...
Fix wrong rotation matrix for orbit z velocity
2023-10-30 10:18:33 +01:00
bruvzg
2a06594ff2
[Text Mesh] Fix incorrectly cached glyph offsets.
2023-10-30 10:56:28 +02:00
Rémi Verschelde
9144457484
Merge pull request #84103 from QbieShay/qbe/fix-turbulence
...
Fix turbulence post rework
2023-10-28 21:40:15 +02:00
Rémi Verschelde
191195a303
Merge pull request #84060 from AThousandShips/get_set_fix
...
Fix invalid return from some more `_get/_set`
2023-10-28 18:34:58 +02:00
Rémi Verschelde
a379beeaa8
Merge pull request #84029 from QbieShay/qbe/fix-last-flag
...
Fix damp as friction not updating shader code
2023-10-28 18:34:34 +02:00
QbieShay
3b9cd04e1f
fixed turbulence post rework.
2023-10-28 18:31:01 +02:00
QbieShay
a764e42860
fixed wrong rotation matrix for orbit z velocity
2023-10-28 15:03:36 +02:00
Andrés Botero
acae382010
Changed the way the rotation of a curve at a point is evaluated to match PathFollow2D
2023-10-28 01:23:38 -05:00
stoofin
6099d9f3d1
Fixed PlaneMesh tangents for 'Face X' orientation
2023-10-27 21:43:54 -07:00
A Thousand Ships
3ef6314980
Fix invalid return from some more `_get/_set`
...
Invalidly returned `true` on the non-matched path
2023-10-27 21:26:13 +02:00
Rémi Verschelde
e65459294c
Merge pull request #84054 from AThousandShips/mesh_fix
...
Fix invalid return from some `_get/_set`
2023-10-27 17:45:48 +02:00
A Thousand Ships
b04cf8486d
Fix invalid return from some `_get/_set`
...
Invalidly returned `true` on the non-matched path
2023-10-27 15:49:19 +02:00
Rémi Verschelde
5664f09f78
Merge pull request #84047 from clayjohn/mesh-3x-upgrade-crash
...
Fix crash when upgrading meshes from 3.x format
2023-10-27 13:33:30 +02:00
clayjohn
1e3408c5b7
Fix crash when upgrading meshes from 3.x format
2023-10-27 12:21:00 +02:00
QbieShay
aad644514f
Fixed damp as friction not updating shader code
2023-10-27 01:02:23 +02:00
A Thousand Ships
5688bb1888
[Particles] Fix invalid parameter ranges
2023-10-26 16:14:58 +02:00
Rémi Verschelde
8835db5f37
Merge pull request #83881 from jsjtxietian/fix-generated-particle-shader-use-noise-direction-before-define
...
Fix `noise_direction` variable used before initialized in particle shader when using turbulence with collisions
2023-10-26 08:57:59 +02:00
clayjohn
9251821c97
Expose energy_multiplier to PanoramaSkyMaterial and ProceduralSkyMaterial
...
These are needed to tweak sky exposure separately from background
2023-10-25 14:12:22 +02:00
jsjtxietian
cc14e0092a
Fix `noise_direction` variable used before initialized in particle shader
...
when using turbulence with collisions, delete unused code
2023-10-25 19:35:16 +08:00
Rémi Verschelde
1a3db248d5
Merge pull request #83887 from groud/fix_tile_set_canvas_texture_issue
...
Fix normals in TileSet when using CanvasTextures
2023-10-25 10:30:46 +02:00
Gilles Roudière
162286cff4
Fix normals in TileSet when using CanvasTextures
2023-10-24 13:10:06 +02:00
Rémi Verschelde
e8d57afaec
Merge pull request #83831 from QbieShay/qbe/fix-normal-point
...
Particles: Fix directed points not working, and fix friction formula
2023-10-24 11:39:17 +02:00
Rémi Verschelde
bbade19822
Merge pull request #83749 from k0T0z/fix-enabling-particle-turbulence
...
Fix massive performance hit due to enabling collision
2023-10-24 10:54:27 +02:00
Rémi Verschelde
261fe7ce6a
Merge pull request #83704 from clayjohn/misc-mesh-fixes
...
Some more fixes for compressed meshes
2023-10-24 10:54:23 +02:00
Rémi Verschelde
b629049b54
Merge pull request #83658 from RPicster/triplanar-world-normal-maps
...
Fixing incorrect normal map when using triplanar world mapping and mesh rotation
2023-10-24 10:54:15 +02:00
Rémi Verschelde
e02e38d2d5
Merge pull request #82055 from jsjtxietian/add-support-for-texture3d-serilization
...
Add support for ImageTexture3D serialization
2023-10-24 10:53:46 +02:00
Rémi Verschelde
f41e07bfe6
Merge pull request #81737 from Mickeon/fix-connection-inherited-packed-scene
...
Fix internal `CONNECT_INHERITED` being saved in PackedScene & Make Local
2023-10-24 10:53:37 +02:00
clayjohn
8f9cd4e1e3
Some more fixes for compressed meshes
...
This cleans up a few more cases of uint32_t->uint64_t
Importantly this fixes an edge case in the axis-angle compression by
using the pre-existing Basis methods instead
2023-10-24 09:38:12 +02:00
Rémi Verschelde
50d17f6b8c
Merge pull request #83613 from clayjohn/surface_upgrade_tool
...
Add an editor tool to automatically upgrade and re-save meshes
2023-10-24 00:10:37 +02:00
clayjohn
318ef8461f
Implementation of tool to automatically upgrade and re-save meshes
2023-10-23 22:39:48 +02:00
Raffaele Picca
73918b0c70
Fixing incorrect normal map when using triplanar world mapping and mesh rotation
2023-10-23 14:53:59 +02:00
QbieShay
49fee5bc28
Fixed directed points not working, and fixig friction formula
...
Co-authored-by: RPicster <picster@pixelgod.net>
2023-10-23 14:06:23 +02:00
Saif Kandil
98db2b42f7
fix performance hit due to enabling collision
...
Signed-off-by: Saif Kandil <74428638+k0T0z@users.noreply.github.com>
2023-10-22 17:54:27 +03:00
Yuri Rubinsky
3b353075dc
Add extra warning messages to `VisualShaderNodeTextureParameter`
2023-10-21 16:48:38 +03:00
Yuri Sizov
cd31407cb3
Clean up some Editor, OpenXR, VideoStream code
...
- EditorNode has excessive and pointless checks for Input singleton.
- EditorNode initialization order is a bit awkward.
- OpenXR binds a method that doesn't need that (for call deferred).
- VideoStream has a formatting error.
2023-10-20 17:54:39 +02:00
Rémi Verschelde
55fc347efd
Merge pull request #83620 from clayjohn/particles-material-emission
...
Fix typo in particles process material when using emission color texture
2023-10-20 15:11:48 +02:00
clayjohn
1b80f21abf
Fix typo in particles process material when using emission color texture
2023-10-19 17:29:46 +02:00
Saracen
a16cbf6869
Fix crash on recovered orphaned nodes.
2023-10-19 11:15:57 +01:00
Rémi Verschelde
f8818f85e6
Merge pull request #83568 from mrTag/navigationregion2d_fix
...
Fixing "Navigation map synchronization error" when using NavigationRegion2D
2023-10-19 00:27:25 +02:00
Rémi Verschelde
c781694a82
Merge pull request #83488 from QbieShay/qbe/fix-particle-pause
...
Fixed multiple particle issues: division by zero, color ramp override, scale dependent on amount ratio
2023-10-18 21:32:50 +02:00
Dominik
b915e788a4
Removed navigation_mesh instantiation from constructor of NavigationPolygon
2023-10-18 19:04:08 +02:00
Gilles Roudière
73f72409f5
Allow normal maps on TileMaps that use texture padding
2023-10-18 14:55:44 +02:00
QbieShay
cbf75f9076
Fixed division by zero in particle process, initial ramp, and amount ratio+scale
2023-10-17 15:41:47 +02:00
Rémi Verschelde
135fa1ef5d
Merge pull request #83179 from clayjohn/tangents-sanitize
...
Sanitize tangents when creating mesh surfaces to avoid triggering the compressed mesh path in the shader
2023-10-13 22:17:02 +02:00
clayjohn
e3d31837eb
Sanitize tangents when creating mesh surfaces to avoid triggering the compressed mesh path in the shader
2023-10-13 08:54:49 -06:00
bruvzg
9a1e0e4aef
[Bitmap fonts] Add support for scaling.
2023-10-13 12:57:45 +03:00
Rémi Verschelde
cbb95bc8ab
Merge pull request #83211 from clayjohn/cleanup-mesh-stuff
...
Cleanup instances of using uint32_t for mesh formats
2023-10-13 11:46:20 +02:00
Rémi Verschelde
111a91a09f
Merge pull request #83194 from jsjtxietian/fix-bool-varying-code-gen
...
Fix bool varying's generated code will be modified with flat
2023-10-13 11:45:09 +02:00
Clay
acb65377cd
Cleanup instances of using uint32_t for mesh formats
...
And tidy up some leftovers from the attribute compression PR
2023-10-12 22:01:41 +02:00
jsjtxietian
0f7a97eba0
Fix bool varying's generated code will be modified with flat
2023-10-12 19:42:18 +08:00
jsjtxietian
0ecef0e236
Fix parameter shader node not declared when only connected to a VaryingSetter
2023-10-12 17:53:26 +08:00
clayjohn
1df50c78df
Fix a few cases where surface format is still 32 bits
2023-10-11 14:56:19 -06:00
bitsawer
45f2ef4c0f
Fix BaseMaterial3D update with certain material settings
2023-10-11 13:51:52 +03:00
Rémi Verschelde
d0301fcadd
Merge pull request #83100 from kleonc/immediate-mesh-vertex-buffer-size-fiz
...
Fix incorrect vertex data size calculation in `ImmediateMesh`
2023-10-10 22:50:53 +02:00
Rémi Verschelde
55282ddc10
Merge pull request #79527 from QbieShay/qbe/particles-rework
...
Particle internal refactor and additions for more artistic control
2023-10-10 22:48:50 +02:00