summaryrefslogtreecommitdiff
path: root/scene/resources
AgeCommit message (Collapse)Author
2023-01-21Use range iterators in LocalVector loopskobewi
2023-01-21Merge pull request #71687 from reduz/support-script-class-name-in-efsRémi Verschelde
Support script global resource name in EditorFileSystem
2023-01-21Merge pull request #71797 from reduz/cleanup-shader-parameter-remapRémi Verschelde
Clean up shader parameter remap
2023-01-21Support script global resource name in EditorFileSystemJuan Linietsky
* Works for binary and text files. * Makes EditorQuickOpen work with custom resources again. * Information is cached and easily accessible. Properly fixes #66179. Supersedes #66215 and supersedes #62417 **WARNING**: This required breaking backwards binary compatibility (.res and .scn files). Files saved after this PR is merged will no longer open in any earlier versions of Godot.
2023-01-21Clean up shader parameter remapJuan Linietsky
This PR is a follow up to #64092, which fixed important issues but it was implemented in an overly complex and inefficient way (because it forced the default code path to always go through string operations). This cleans up all the shader parameter code. This fixes #54336. Also fixes #56219 because, as the new code never queries the RenderingServer on load, potential deadlocks are avoided. **NOTE**: materials saved between #62972 and #64092 will no longer work and will need to be resaved in an earlier version.
2023-01-21Merge pull request #63667 from AntonioDell/bugfix/63549Rémi Verschelde
fix(editor): Remove some MeshLibrary editor updates
2023-01-20Fix code generation for ProximityRange node in visual shaderYuri Rubinsky
2023-01-20Some refactoring for visual shader texture functionsYuri Rubinsky
2023-01-19Merge pull request #70602 from ↵Rémi Verschelde
Calinou/environment-no-sky-hide-ambient-light-properties Hide Ambient Light properties in Environment inspector depending on mode
2023-01-19Merge pull request #71598 from bruvzg/gdscript_bidi_overrideRémi Verschelde
Implement BiDi override mode for GDScript source.
2023-01-19Merge pull request #44596 from KoBeWi/🧹🧹🧹Rémi Verschelde
Cleanup unused engine code v2
2023-01-19Merge pull request #71565 from RedworkDE/doc-arraymesh-add-surfaceRémi Verschelde
Fix LOD sort order; checks in add_surface; and document all parameters of `ArrayMesh::add_surface_from_arrays`
2023-01-19Cleanup unused engine code v2kobewi
2023-01-19Fix using Resource objects as keys in the `tres` formatLife4gal
Fixes #57506.
2023-01-19Fix LOD sort order; checks in add_surface; and document all parameters of ↵RedworkDE
`ArrayMesh::add_surface_from_arrays` Also clarify some related documentation and expose the misssing `ArrayFormat::ARRAY_FLAG_USES_EMPTY_VERTEX_ARRAY`
2023-01-18Remove SCREEN_TEXTURE, DEPTH_TEXTURE, and NORMAL_ROUGHNESS_TEXTUREclayjohn
in favour of texture hints
2023-01-18Implement BiDi override mode for GDScript source.bruvzg
2023-01-17Merge pull request #71529 from clayjohn/IM-octRémi Verschelde
Update ImmediateMesh to use octohedral encoded normals
2023-01-17Fixes incorrect caption for TextureParameterTriplanarNong Van Tinh
2023-01-16Update ImmediateMesh to use octohedral encoded normalsclayjohn
2023-01-16Merge pull request #71507 from groud/fix_add_source_source_idRémi Verschelde
Fix TileDate::add_source accepting invalid ID values
2023-01-16Fixes TileDate::add_source accepting invalid ID valuesGilles Roudière
2023-01-16Fix scaling issue in `draw_line` and similar methodsDanil Alexeev
2023-01-12Remove SkeletonModificationStack3D, and Skeleton3D api cleanupLyuma
Removes all 3D modification resources. SkeletonIK3D is a node and still supported. Remove deprecated Skeleton3D functionality for 4.0, so we can add it back in 4.x. Remove local_pose_override feature from Skeleton3D and BoneAttachment3D. Expose Skeleton3D::get_version() so IK scripts/extensions can cache bones. Note: This change only affects 3D. SkeletonModification2D will work as before.
2023-01-12Merge pull request #71123 from Chaosus/vs_particle_randomnessYuri Rubinsky
2023-01-10Text resource loader fixesJuan Linietsky
* Moved the order of progress update to after the actual resource loading to give better % numbers. * Fix a bug introduced by #67714, which broke cache ignoring.
2023-01-10Merge pull request #70716 from ↵Rémi Verschelde
Calinou/particles-tweak-animation-offset-property-hint Tweak particles animation offset property hint to allow more precise values
2023-01-09Ability to change a resource UID from APIJuan Linietsky
* Works for text, binary and imported resources * Allows better clean up of duplicate files. TODO (future PRs): * Use this API for assigning new UIDs to copied files. * Use this API for UID conflict on FS scanning (if more than one file has the same UID, the newer one(s) should get assigned a different UID).
2023-01-09Add few improvements for `VisualShaderNodeParticleRandomness`Yuri Rubinsky
2023-01-08Merge pull request #71037 from reduz/array-format-bitfieldRémi Verschelde
Use BitField<> hint for Mesh.ArrayFormat and Control.SizeFlags
2023-01-08Use BitField<> hint for ArrayFormatJuan Linietsky
This was missing in the conversion of bitflags to BitField<>.
2023-01-07Rework const on NavigationServer methodsJosh Jones
`const` is used on all methods, even when they cause modification of the server. This reworks the methods of the server to only use `const` on method that don't change the state of the server.
2023-01-06Merge pull request #68429 from KoBeWi/PropertySettingsRémi Verschelde
Add PropertyInfo overload for GLOBAL_DEF
2023-01-06Add `uint` type support to visual shadersYuri Rubinsky
2023-01-06Merge pull request #70547 from TokageItLab/pingpong-wrapRémi Verschelde
Fix pingpong-loop with `loop_wrap` is not working & clean-up cubic interpolation key retrieve process
2023-01-05Merge pull request #65609 from dalexeev/animated-spriteRémi Verschelde
`AnimatedSprite{2D,3D}` improvements
2023-01-05One Copyright Update to rule them allRémi Verschelde
As many open source projects have started doing it, we're removing the current year from the copyright notice, so that we don't need to bump it every year. It seems like only the first year of publication is technically relevant for copyright notices, and even that seems to be something that many companies stopped listing altogether (in a version controlled codebase, the commits are a much better source of date of publication than a hardcoded copyright statement). We also now list Godot Engine contributors first as we're collectively the current maintainers of the project, and we clarify that the "exclusive" copyright of the co-founders covers the timespan before opensourcing (their further contributions are included as part of Godot Engine contributors). Also fixed "cf." Frenchism - it's meant as "refer to / see".
2023-01-05Merge pull request #70824 from smix8/fix_navpoly_errormsg_4.xRémi Verschelde
Fix NavigationPolygon error msg
2023-01-05`AnimatedSprite{2D,3D}` improvementsDanil Alexeev
* Add support for individual frame duration to `SpriteFrames`. * Various minor improvements.
2023-01-03Merge pull request #70840 from MewPurPur/get-point-count-instead-of-pointsRémi Verschelde
Rename `get_points_count()` to `get_point_count()` in Gradient
2023-01-03Merge pull request #70864 from timothyqiu/scroll-marginRémi Verschelde
Fix scroll grabber can't reach ends in default theme
2023-01-03Merge pull request #69972 from adamscott/add-server-checks-before-freeRémi Verschelde
Add safety-checks before some servers `free()`
2023-01-03Merge pull request #70519 from bruvzg/font_hashRémi Verschelde
[Font] Use key structure instead of raw hash for LRU cache to avoid collisions.
2023-01-03Fix scroll grabber can't reach ends in default themeHaoyu Qiu
2023-01-03Merge pull request #70585 from Chaosus/vs_customYuri Rubinsky
2023-01-02Merge pull request #67853 from Zylann/fix_lods_with_doublesClay John
Fix usages of mesh simplification functions in float=64 builds
2023-01-02Rename get_points_count() to get_point_count() internallyVolTer
2023-01-02Fix NavigationPolygon error msgsmix8
Outlines need the same winding order which got confused with the internal conversion.
2023-01-01Change binding type of PlaceholderTexture2D.set/get_size to Vector2James Mintram
2022-12-29Add safety-checks before some servers `free()`Adam Scott