summaryrefslogtreecommitdiff
path: root/scene/resources
AgeCommit message (Collapse)Author
2022-07-19Merge pull request #62139 from bruvzg/label_font_setttingsRémi Verschelde
Add LabelSettings resource for quick Label theme property override.
2022-07-18Use integer types in Image and ImageTexture methodsFireForge
- Image.blit_rect() - Image.blit_rect_mask() - Image.blend_rect() - Image.blend_rect_mask() - Image.fill_rect() - Image.get_used_rect() - Image.get_rect() - ImageTexture.set_size_override()
2022-07-18Merge pull request #63062 from Chaosus/vs_fixRémi Verschelde
2022-07-17Merge pull request #63094 from Geometror/fix-gradient-cubic-interpolationRémi Verschelde
2022-07-17Automatically create a Gradient resource when creating a GradientTexture1DHendrik Brucker
2022-07-17Fix cubic interpolation for GradientHendrik Brucker
2022-07-16Fix visual shader graph not correctly updating when multiple tabs openedYuri Rubinsky
2022-07-16add rest fixer to importer retargetSilc Renew
2022-07-15Use BitField hint for the TextServer enums. Add missing parts for BitField ↵bruvzg
support to the GDextension API.
2022-07-14Merge pull request #60458 from KoBeWi/Deprecated-hint,-unused-Rémi Verschelde
2022-07-13SpriteFrames: Sort animations alphabeticallyRémi Verschelde
And finally remove the 'frames' property which was added for compatibility with 2.1 in bed3efb17ede58a2bfc177b47cb3a49091aea30a. Fixes #21765. The 'animations' property on the other hand is needed, contrarily to what its comment said (copy-paste mistake probably). Also removes unused '_get_animation_list'.
2022-07-12Add LabelSettings resource for quick Label theme property override.bruvzg
2022-07-12Remove unused hintskobewi
2022-07-08Add static methods for creating Image and ImageTexturekobewi
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