summaryrefslogtreecommitdiff
path: root/scene/resources
AgeCommit message (Collapse)Author
2023-01-23Merge pull request #57606 from SaracenOne/update_on_reimportRémi Verschelde
Update instances of scenes which have been reimported.
2023-01-23Merge pull request #71801 from akien-mga/codespell-en-GB-to-en-USRémi Verschelde
Convert en_GB spelling to en_US with codespell
2023-01-23Merge pull request #71906 from reduz/simplify-polyphonic-stream-playerRémi Verschelde
Simplify AudioStreamPolyphonic
2023-01-23Convert en_GB spelling to en_US with codespellRémi Verschelde
2023-01-23Simplify AudioStreamPolyphonicJuan Linietsky
* Make AudioStreamPolyphonic not requre a polling thread (simpler, faster) * Improve error reporting in AudioStreamPlayer*::get_stream_playback() error reporting to improve usability.
2023-01-23Merge pull request #71778 from vortexofdoom/fix-dof-blur-transitionRémi Verschelde
allowed negative DoF blur transition in the editor
2023-01-23Merge pull request #71214 from SekoiaTree/remove_mesh_surface_compatRémi Verschelde
Remove compatibility code for Mesh surfaces
2023-01-22Merge pull request #71686 from YuriSizov/stylebox-min-size-but-betterRémi Verschelde
Clean-up, harmonize, and improve StyleBox API
2023-01-22Merge pull request #69619 from m4gr3d/address_android_editor_crashes_mainRémi Verschelde
Address Android editor crashes
2023-01-22Add AudioStreamPolyphonic to make it easier to play polyphonic sound from codeJuan Linietsky
* This new audio stream allows to play multiple sounds and control them over time from code. * It greatly simplifies tasks such as generative music (music generated from code) or audio. This new type of stream was added with the goal of fixing audio blending in AnimationPlayer and AnimationTree, but can be used by others for their regular audio needs. Does not fix anything currently, but should help implement #69758 properly. Some demo code of how to use this: ```GDScript var player = $SomeNode as AudioStreamPlayer player.stream = AudioStreamPolyphonic.new() var playback = player.get_stream_playback() as AudioStreamPlaybackPolyphonic var id = playback.play_stream(preload("res://Clip1.ogg")) await get_tree().create_timer(1).timeout playback.set_stream_volume(id,-12) # Set volume to half after one second await get_tree().create_timer(2).timeout var id2 = playback.play_stream(preload("res://Clip2.ogg")) # 2 seconds later, start another clip await get_tree().create_timer(1).timeout playback.stop_stream(id) # 1 second later, kill the first clip playback.set_stream_pitch_scale(id2,1.5) # Make the second clip go 50% faster ```
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-20allowed negative DoF blur transition in the editorDaniel Larson
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-19Clean-up, harmonize, and improve StyleBox APIYuri Sizov
- Make all margin properties follow the same naming convention (their getter and setter too). - Remove a virtual counterpart of `get_style_margin` from API. - Allow to override `get_minimum_size` from scripting and remove `get_center_size`.
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-16Update instances of scenes which have been reimported.SaracenOne
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-11Remove compatibility code for Mesh surfacesSekoiaTree
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