summaryrefslogtreecommitdiff
path: root/scene/resources
AgeCommit message (Collapse)Author
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-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
2022-12-29Tweak particles animation offset property hint to allow more precise valuesHugo Locurcio
Values above 1.0 (or below 0.0) are no longer allowed, as these make no visual difference whatsoever (and may cause particles not to appear at all if looping is disabled).
2022-12-26Add missing CUSTOM inputs for the spatial/vertex mode of visual shaderYuri Rubinsky
2022-12-25Fix pingpong with loop wrap is not workingSilc Renew
2022-12-24[Font] Use key structure instead of raw hash for LRU cache to avoid collisions.bruvzg
2022-12-23Merge pull request #69797 from TokageItLab/time-edit-inspector-pluginRémi Verschelde
Animation: Add inspector plugin for key time edit & Change `track_find_key()` argument to find key with approximate
2022-12-22Remove deprecated NavigationMesh compatibility partssmix8
Removes _set / _get compatibility function parts for deprecated NavigationMesh slash delimiter properties.
2022-12-22Add inspector plugin for key time edit & Change find key argumentSilc Renew
2022-12-21Add fallback values for font and scale to the default themeYuri Sizov
2022-12-20Change GridMap navigation_layers to be per mesh_library itemsmix8
Changes GridMap navigation_layers from a single bitmask for the entire GridMap to a bitmask for each item used in the mesh_library with a baked navmesh.
2022-12-20Merge pull request #61239 from Calinou/tubetrailmesh-add-cap-propertiesRémi Verschelde
Add properties to disable top/bottom cap generation in TubeTrailMesh
2022-12-20Merge pull request #70244 from DarkKilauea/nav-fix-abbrev-compatRémi Verschelde
[4.x] Fix typo and ensure backwards compatibility for changed property names
2022-12-20Fix typo and ensure backwards compatibility for changed property namesJosh Jones
Changes to the name of the `navmesh` and `navpoly` properties on `NavigationRegion` caused navigation data to be lost on load. This PR creates uses `_set`/`_get` to handle compatibility with the older names on load, preserving the data. Also fixes a typo on `get_vertices_per_polygon` in `NavigationMesh`, and renames the property to remove the `polygon_` prefix which doesn't match the setter/getter. Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2022-12-19Add properties to disable top/bottom cap generation in TubeTrailMeshHugo Locurcio
This can be used to improve generation and rendering performance, or for certain special effects such as particle trails.
2022-12-19TileSet Simplify tile shape polygonskleonc
2022-12-18Merge pull request #70227 from kleonc/atlas-texture-flipping-fixRémi Verschelde
`AtlasTexture` Fix calculating rects when flipping
2022-12-17AtlasTexture Fix calculating rects when flippingkleonc
2022-12-17Fix Navigation API abbreviations inconsistencysmix8
Schema for navigation to name user facing API with "navigation" without abbreviation and e.g. NavigationServer internals with abbr "nav".
2022-12-17Move NavigationPolygon to dedicated resource filesmix8
Moves NavigationPolygon resource class from NavigationRegion2D file to a dedicated file in resource folder.
2022-12-16Switch surface indexing to start at 0 so string name matches integer indexclayjohn
2022-12-15Queue redraw when MultiMesh instance transform changesbmolyneaux
Fixes: #66849 This is a 4.0 version of #54899.
2022-12-15[RTL/TextServer] Add baseline inline alignment mode for objects and RTL tables.bruvzg
2022-12-15Fix typos with codespellRémi Verschelde
2022-12-14Merge pull request #69726 from xiongyaohua/tweak_curveRémi Verschelde
Handle corner cases for curve baking
2022-12-14Fix Curve2D::get_closest_offsetYaohua Xiong
2022-12-14Handle corner cases for curve bakingYaohua Xiong
When control point and point have equal position, the derivative is 0 vector, which cause error message in Basis::look_at(). This commit handles this case.
2022-12-13Use buffer to speed up copying/transcribing when renaming dependenciesRindbee
If the scene is more complex, you may need to copy/transcribe a large amount of data, so use buffer to speed up this process.