summaryrefslogtreecommitdiff
path: root/scene/resources
AgeCommit message (Collapse)Author
2022-07-08Merge pull request #62632 from linkpy/62630_fixRémi Verschelde
Make sure the tile data clears its `terrain` field when said terrain is removed from the tileset.
2022-07-08Merge pull request #62806 from ↵Rémi Verschelde
dylan-conway/layered-texture-update-fix-and-error-messages
2022-07-07Changed valid check to null check, added error messagesDylan Conway
2022-07-07Merge pull request #62108 from bruvzg/font_config_v3Rémi Verschelde
2022-07-07Allows parsing of invalid UTF-16 surrogates (can be encountered in Windows ↵bruvzg
filenames) and some non-standard UTF-8 variants, makes Unicode parse errors more verbose.
2022-07-06Remove Octreelawnjelly
Octree is no longer used in 4.x.
2022-07-06Refactor Font configuration and import UI, and Font resources.bruvzg
2022-07-04Merge pull request #62448 from MinusKube/completion-scroll-clickRémi Verschelde
Add the ability to drag the code completion scrollbar using the mouse click
2022-07-04Use custom key structs, instead of raw hashes for the Label3D and TextMesh, ↵bruvzg
to avoid potential hash collisions.
2022-07-03Add the ability to drag the code completion scrollbar using the mouse clickMinusKube
2022-07-02Make sure the tile data clears its `terrain` field when said terrain is ↵Estelle Linkpy Reid
removed from the tileset.
2022-07-01implement bone renamer in importerSilc Renew
2022-06-27Refactor bezier interpolation functionsHendrik Brucker
2022-06-27Merge pull request #62185 from reduz/export-node-pointer-pathRémi Verschelde
Add ability to export Node pointers as NodePaths
2022-06-25Add ability to export Node pointers as NodePathsreduz
This PR implements: * A new hint: PROPERTY_HINT_NODE_TYPE for variant type OBJECT, which can take specific node types as hint string. * The editor will show it as a node path, but will set it as a pointer to a node from the current scene if you select a path. * When scene is saved, the node path is saved, then restored as a pointer. NOTE: This is a proof of concept and this approach will most likely not work. The reason if that, if the node referenced is deleted, then when trying to edit this the node will become invalid. Potential workarounds: Since this uses the Variant API, it should obtain the pointer from the Variant object ID. Yet, this would either only really work in GDScript or it would need to be implemented with workarounds in every language. Alternative ways to make this work: Nodes could export an additional property with a node path (like for which_node, it could be which_node_path). Another alternative: Path editing could happen as a hidden metadata (ignoring the pointer).
2022-06-25Merge pull request #62314 from tefusion/capsulemesh-radius-height-settersRémi Verschelde
Fix CapsuleMesh height/radius setters
2022-06-25Merge pull request #62309 from reduz/remake-resource-thread-safetyRémi Verschelde
Remake ResourceCache thread safety code and API
2022-06-23Fix Curve{2D,3D} notifying property list changedRaul Santos
Make `Curve2D` and `Curve3D` more consistent with `Curve` and avoid calling `notify_property_list_changed` when the list of points doesn't change.
2022-06-23Merge pull request #62348 from smix8/navigation_baking_aabb_4.xRémi Verschelde
2022-06-23Merge pull request #61628 from Vitika9/61617Rémi Verschelde
2022-06-23Merge pull request #61931 from KoBeWi/how_to_windowRémi Verschelde
Document most of the Window's members
2022-06-23Implement NavigationMesh bake areasmix8
Adds two new properties to NavigationMesh resources to restrict the navmesh baking to an area enclosed by an AABB with volume.
2022-06-23Merge pull request #62268 from V-Sekai/lightmap-errorsJFonS
2022-06-23Mend crash importing a scene with static lightmaps.K. S. Ernest (iFire) Lee
2022-06-22Add surface indices to TriangleMeshreduz
Helps unblock #56597
2022-06-22Document most of the Window's memberskobewi
2022-06-22Fixed dragging curve pointsVitika9
2022-06-22Fix CapsuleMesh loading issue (radius reset)tefusion
2022-06-22Merge pull request #58544 from Calinou/tileset-source-allow-canvasitemmaterialRémi Verschelde
2022-06-22Merge pull request #56185 from nikitalita/fix-save-as-binaryRémi Verschelde
Fix ResourceLoaderText::save_as_binary()
2022-06-22Remake resource thread safety and APIreduz
* Ensures thread safety when resources are destroyed. * Simplified API by always forcing `ResourceCache::get_ref`, which needs less hacks and is fully thread safe. * Removed RWLock for resources because its not possible to use for the new logic. Should not be a problem. Supersedes #57533
2022-06-21Allow using CanvasItemMaterial in the TileSet editorHugo Locurcio
Previously, only ShaderMaterial overrides could be added.
2022-06-21Merge pull request #62198 from Calinou/text-resource-remove-extraneous-spacesRémi Verschelde
Remove spaces in `SubResource()/ExtResource/Resource()` in text resources
2022-06-20Clean up Hash Functionsreduz
Clean up and do fixes to hash functions and newly introduced murmur3 hashes in #61934 * Clean up usage of murmur3 * Fixed usages of binary murmur3 on floats (this is invalid) * Changed DJB2 to use xor (which seems to be better)
2022-06-19Remove spaces in `SubResource()/ExtResource/Resource()` in text resourcesHugo Locurcio
These spaces are not needed for the file to be successfully parsed. Other types such as Vector3 are no longer serialized with spaces after the opening parenthesis and before the closing parenthesis, so this is also more consistent.
2022-06-19Declaring emission_tex_ofs globallymightygoat
2022-06-17[Net] Fix SceneReplicationConfig setter.Fabio Alessandrelli
Used by resource loader, it would always add properties as both sync and spawn, disregarding the actual option value.
2022-06-16Merge pull request #61888 from Chaosus/vs_remove_engine_versionRémi Verschelde
Remove engine version from visual shader
2022-06-16Move duplicate AutoWrap, Overrun and VisibleChar behavior enums to the ↵bruvzg
TextServer.
2022-06-15Merge pull request #61952 from V-Sekai/custom-docsRémi Verschelde
`SurfaceTool.set_custom_format` Fixes and documentation.
2022-06-14`SurfaceTool.set_custom_format` Fixes and documentation.Lyuma
Fix mistake making `set_custom_format` impossible to use. Automatically forward custom flags in `SurfaceTool.commit`. Add documentation in `SurfaceTool` and `Mesh` for custom channels. Deprecate `SurfaceTool.generate_lod` and expose `ImporterMesh.generate_lods`.
2022-06-14Merge pull request #62042 from ↵Rémi Verschelde
Calinou/basematerial3d-nearest-height-always-linear Always sample the heightmap with linear filtering in BaseMaterial3D
2022-06-14Always sample the heightmap with linear filtering in BaseMaterial3DHugo Locurcio
Nearest-neighbor filtering of the heightmap results in a broken appearance, with and without Deep Parallax enabled on the material. Linear filtering results in a more expected appearance. This does not affect other texture maps such as albedo, normal or roughness.
2022-06-14Add Vector2/3 linking to more propertiesFireForge
- Camera2D.zoom - CanvasLayer.scale - ParallaxBackground.scroll_base_scale - ParallaxLayer.motion_scale - Polygon2D.texture_scale - BaseMaterial3D.uv1_scale - BaseMaterial3D.uv2_scale
2022-06-13Merge pull request #61974 from Calinou/project-settings-mark-as-basicRémi Verschelde
2022-06-13Merge pull request #61809 from groud/terrain_center_bitRémi Verschelde
2022-06-13Merge pull request #61772 from bruvzg/ft_ot_collectRémi Verschelde
2022-06-12Merge pull request #61961 from jtnicholl/anim_lib_type_hintsRémi Verschelde
Fix type hints for AnimationLibrary's signals' arguments
2022-06-12Mark some common project settings as basicHugo Locurcio
2022-06-12Fix type hints for AnimationLibrary's signalsJonathan Nicholl