summaryrefslogtreecommitdiff
path: root/scene/resources
AgeCommit message (Collapse)Author
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.
2022-11-25Use a more specific type for Mesh create_(convex|trimesh)_shapeAaron Franke
2022-11-25Fix inspector not showing name for LabelSettings.fontHaoyu Qiu
2022-11-25[TileMap] Fix alternative tile issues.Zae
2022-11-24Add MAKE_RESOURCE_TYPE_HINT macro to simplify binding arrays of resourcesRémi Verschelde
2022-11-24Refactor interpolating functions in some classes to use Math classSilc Renew
2022-11-24Refactor Curve3D::_bake() methodYaohua Xiong
The main change is to caculate tangent directly from bezier curve, without going through discretized polyline, avoiding pitfalls of discretization. Other changes are: 1. Add an bezier_derivative() method for Vector3, Vector2, and Math; 2. Add an tesselate_even_length() method to Curve3D, which tesselate bezier curve to even length segments adaptively; 3. Cache the tangent vectors in baked_tangent_vector_cache;
2022-11-23ImageLoaderSVG: Improve error reportingRémi Verschelde
2022-11-22Refactor process of AnimationTree for end of animationSilc Renew
2022-11-22BitMap polygon code cleanupNinni Pipping
2022-11-21Add animation_changed signal to AnimationLibraryJonathan Nicholl
AnimationLibrary now listens for the animation_changed signal on its animations and emits this new signal, with the animation name added on. AnimationPlayer now connects to this signal rather than connecting to each individual animation, which was poor practice due to bypassing encapsulation.
2022-11-21Code simplifications found by cppcheckMarkus Sauermann
They are based on: - Boolean arithmetic simplifications - setting variables that are not accessed - constant variables
2022-11-20Fix connection of animation changed signal in AnimationTrackEditorSilc Renew
2022-11-18Merge pull request #67714 from adamscott/fix-preload-cyclic-references-part2Rémi Verschelde
Fix cyclic references in GDScript 2.0
2022-11-18Fix cyclic references in GDScript 2.0Adam Scott
2022-11-18Merge pull request #64212 from xiongyaohua/curve3d_baking_refactorRémi Verschelde
Move rotation interpolation to Curve3d and refactor baking
2022-11-17Fix polygon generation in BitMapNinni Pipping
2022-11-16Merge pull request #68709 from MewPurPur/instance-begone-part3Rémi Verschelde
Remove more instances of 'instance' being used as a verb
2022-11-16Remove more instances of 'instance' being used as a verbVolTer
2022-11-15Merge pull request #67948 from DeeJayLSP/split_webpRémi Verschelde
Overhaul WebP packer and split compression options
2022-11-15Overhaul WebP packer and split compression optionsDeeJayLSP
2022-11-15Fixes infinite loop in ResourceFormatText when having unexpected end of fileGilles Roudière
2022-11-14Merge pull request #68664 from bruvzg/bmp_base_sizeRémi Verschelde
[Bitmap font] Always set valid fixed size, even if it's not set in the `fnt` file.
2022-11-14Merge pull request #68657 from Sauermann/fix-redundant-initializationRémi Verschelde
Remove redundant non-trivial Variant types initializations
2022-11-14[Bitmap font] Always set valid fixed size, even if it's not set in the `fnt` ↵bruvzg
file.