summaryrefslogtreecommitdiff
path: root/scene/resources
AgeCommit message (Collapse)Author
2022-07-27Merge pull request #62973 from bruvzg/sysfont_supportRémi Verschelde
2022-07-27Add a check to prevent duplicating connections in visual shaderYuri Rubinsky
2022-07-26Fix unnamed arguments in XML docsRedMser
2022-07-26Merge pull request #63496 from groud/fix_tile_set_not_savingRémi Verschelde
Fix TileSet not loading correctly when embedded in a scene
2022-07-26Fix TileSet not loading correctly when embedded in a sceneGilles Roudière
2022-07-26Implement shader uniform groups/subgroupsYuri Rubinsky
2022-07-26Implement support for loading system fonts on Linux, macOS / iOS and Windows.bruvzg
2022-07-25Code quality: Fix header guards consistencyRémi Verschelde
Adds `header_guards.sh` bash script, used in CI to validate future changes. Can be run locally to fix invalid header guards.
2022-07-25Merge pull request #63270 from aaronfranke/fog-densityRémi Verschelde
Change fog density range hint to be 0 to 1 with or_greater
2022-07-23Merge pull request #63265 from reduz/stream-bpm-supportRémi Verschelde
Implement BPM support in AudioStream files.
2022-07-23Implement BPM supportreduz
Based on #62896, only implements the BPM support part. * Implements BPM support in the AudioStreamOGG/MP3 importers. * Can select BPM/Bar Size and total beats in a song file, as well as edit looping points. * Looping is now BPM aware * Added a special importer UI for configuring this. * Added a special preview showing the audio waveform as well as the playback position in the resource picker. * Renamed `AudioStream::instance` to `instantiate` for correctness.
2022-07-22Clean up Shader Preprocessorreduz
* Moved preprocessor to Shader and ShaderInclude * Clean up RenderingServer side * Preprocessor is separate from parser now, but it emits tokens with include location hints. * Improved ShaderEditor validation code * Added include file code completion * Added notification for all files affected by a broken include.
2022-07-22Adding shader preprocessor supportYuri Roubinsky
Co-authored-by: TheOrangeDay <6472143+TheOrangeDay@users.noreply.github.com>
2022-07-22Merge pull request #62996 from reduz/feature-build-profilesRémi Verschelde
2022-07-22Implement Feature Build Profilesreduz
This PR is a continuation of #50381 (which was implemented exactly a year ago!) * Add a visual interface to select which classes should not be built into Godot (well, they are built if something else uses them, but if not used the optimizer will remove them out). * Add a detection system to scan the project and figure out the actual classes used. * Added the ability for SCons to load build profiles. Obligatory Screen: A simple test with a couple of nodes in the scene resulted in a 25% reduction for the final binary size TODO: * Script languages need to implement used class detection (left for another PR). * Options to disable servers or server functionalities (like 2D or 3D physics, navigation, etc). Are missing, that should also greatly aid in reducing binary size. * Options to disable some modules would be desired. * More options to disable drivers (OpenGL, Vulkan, etc) would be desired. In general this PR is a starting point for more contributors to improve and enhance this functionality.
2022-07-21Fix various typos not caught by codespellluz paz
Revert upstream `core/input/gamecontrollerdb.txt`. Upstream fix: https://github.com/gabomdq/SDL_GameControllerDB/pull/600
2022-07-21Change fog density range hint to be 0 to 1 with or_greaterAaron Franke
2022-07-20Merge pull request #63127 from KoBeWi/raise_from_pictureRémi Verschelde
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-18Clarify create_from_image() usagekobewi
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