summaryrefslogtreecommitdiff
path: root/scene/resources
AgeCommit message (Collapse)Author
2023-01-01Change binding type of PlaceholderTexture2D.set/get_size to Vector2James Mintram
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.
2022-12-12VariantParser make readahead optionallawnjelly
It turns out some areas are independently moving / reading filepointers outside of the VariantParser, which can cause the readahead caching to get out of sync. This PR makes the VariantParser readahead to be optional to allow for these use cases.
2022-12-11Optimize a code generation of visual shader particlesYuri Rubinsky
2022-12-09Merge pull request #69661 from Mickeon/fix-editor-cannot-disconnect-signalRémi Verschelde
Fix unable to disconnect signal in Editor once created
2022-12-08Fix unable to disconnect signal in Editor once createdMicky
Adds a CONNECT_INHERITED flag to connections, only available in editor builds. This flag denotes that the signal has been inherited from a previous Scene in the instancing hierarchy.
2022-12-06Merge pull request #69506 from adamscott/move-gdscript-uninit-to-finalizeRémi Verschelde
Move GDScript uninitialization to `GDScriptLanguage::finish()`
2022-12-06Move GDScript uninitialization to `GDScriptLanguage::finalize()`Adam Scott
Co-authored-by: Ricardo Buring <ricardo.buring@gmail.com> Co-authored-by: kleonc <9283098+kleonc@users.noreply.github.com>
2022-12-06Fix Path2D fish bone directionYaohua Xiong
2022-12-05Use circular fade instead of linear fade for distance fadeHugo Locurcio
This makes distance fade look the same regardless of the camera angle, for all distance fade modes (Pixel Alpha, Pixel Dither, Object Dither). Distance fade now behaves like fog in this regard.
2022-12-05Refactor baking code for Curve2DYaohua Xiong
The main change is to caculate tangent directly from bezier curve, without going through discretized polyline, avoiding pitfalls of discretization. A similar refacor had been applied to Curve3D. The test cases for Curve2D is updated, comparing floating point with is_equal_approxmiate() instead of `==`, in order to avoid float precision problem.
2022-12-05Merge pull request #69357 from TokageItLab/byebye-triggerRémi Verschelde
Remove `UPDATE_TRIGGER` mode from `ValueTrack::UpdateMode` & Match behaviors between `AnimationTree` and `AnimationPlayer`
2022-12-05Merge pull request #68995 from bruvzg/sys_font_for_textRémi Verschelde
Use system fonts as fallback.
2022-12-04Use system fonts as fallback and improve system font handling.bruvzg
Add support for font weight and stretch selection when using system fonts. Add function to get system fallback font from a font name, style, text, and language code. Implement system font support for Android. Use system fonts as a last resort fallback.
2022-12-03Implement CAMERA_VISIBLE_LAYERS as built-in shader variableNumbuhFour
2022-12-03Fix Curve3D::get_closest_point() brokenYaohua Xiong
The problem is caused by calling adaptive tessellation baking function by mistake, which produce too few points for straight lines. Calling the even length tessellation fix the problem. The code for `get_closest_point()` and `get_closest_offset()` are also updated. They used to assume bake interval to be exact, which is no longer true. The out dated document for `get_closest_point()` is also updated.
2022-12-02Remove UPDATE_TRIGGER & Match behaviors between AnimationTree/PlayerSilc Renew
#69357
2022-12-02Merge pull request #61958 from jtnicholl/animation_connectionsRémi Verschelde
Add `animation_changed` signal to `AnimationLibrary`, have `AnimationPlayer` connect to it instead of `Animation`'s `changed`
2022-12-02Merge pull request #69336 from TokageItLab/get-anim-keys-more-exactlyRémi Verschelde
Refactor process of animation to retrive keys more exactly
2022-12-01Refactor process of animation to retrive keys more exactlySilc Renew
2022-11-30Simplify GDVIRTUAL_REQUIRED_CALL callskobewi
2022-11-28Merge pull request #69301 from KoBeWi/ERR_WHATEVERRémi Verschelde
Don't break parsing on missing resources
2022-11-28Merge pull request #69224 from adamscott/fix-PackedScene-reload_from_fileRémi Verschelde
Add `PackedScene::reload_from_file()` override
2022-11-28Add PackedScene::reload_from_file() overrideAdam Scott
2022-11-28Don't break parsing on missing resourceskobewi
2022-11-28Merge pull request #68992 from TokageItLab/animtree-trackend-processRémi Verschelde
Refactor process of AnimationTree for end of animation
2022-11-28Merge pull request #69178 from aaronfranke/mesh-shapeRémi Verschelde
Use a more specific type for Mesh create_(convex|trimesh)_shape
2022-11-25Merge pull request #69008 from ↵Rémi Verschelde
akien-mga/property-hint-array-type-resource-simplify Add MAKE_RESOURCE_TYPE_HINT macro to simplify binding arrays of resources
2022-11-25Merge pull request #69124 from zaevi/tilemap_fix_alternative_tileRémi Verschelde
[TileMap] Fix alternative tile issues.