summaryrefslogtreecommitdiff
path: root/editor/import
AgeCommit message (Collapse)Author
2022-07-26Fix repeatedly opening the Advanced Import Settings dialog for fonts getting ↵Rindbee
an error
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-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-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-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-16add rest fixer to importer retargetSilc Renew
2022-07-13Merge pull request #62827 from fire-forge/ok-cancelRémi Verschelde
Add `ok_button_text` to AcceptDialog and `cancel_button_text` to ConfirmationDialog
2022-07-09Seperate filter and description in FileDialog.add_filter()FireForge
2022-07-09Add ok_button_text to AcceptDialog and cancel_button_text to ConfirmationDialogFireForge
2022-07-08Add static methods for creating Image and ImageTexturekobewi
2022-07-07Merge pull request #62622 from Rindbee/make-blend-import-preview-visibleRémi Verschelde
2022-07-07Merge pull request #62108 from bruvzg/font_config_v3Rémi Verschelde
2022-07-06EditorScenePostImportPlugin: Return requested option valueDave Palais
2022-07-06Refactor Font configuration and import UI, and Font resources.bruvzg
2022-07-03Merge pull request #59834 from trollodel/advanced_import_fixRémi Verschelde
Fix some bugs in the advanced scene import
2022-07-02Merge pull request #61168 from DeeJayLSP/wav_ieeeRémi Verschelde
2022-07-02Make import preview of blend files visibleRindbee
Unlike other scene imports, the import of blend files requires options. Otherwise, the preview may not be visible.
2022-07-01implement bone renamer in importerSilc Renew
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-20Revert "Disable VRAM compression by default for small textures in Detect 3D"Juan Linietsky
2022-06-17Merge pull request #62023 from Calinou/detect-3d-small-textures-no-vram-compressRémi Verschelde
Disable VRAM compression by default for small textures in Detect 3D
2022-06-16Move duplicate AutoWrap, Overrun and VisibleChar behavior enums to the ↵bruvzg
TextServer.
2022-06-14Disable VRAM compression by default for small textures in Detect 3DHugo Locurcio
This is done to prevent reducing texture quality when it doesn't save much video memory, especially for pixel art. The size threshold can be adjusted in the project settings. To get the previous behavior where textures detected to be used in 3D had their compression mode always set to VRAM, set this to the lowest value (16).
2022-06-13Add internationalization for Detect 3D texture import messagesHugo Locurcio
These messages are only printed in the editor and can be seen in the editor Output panel, so these should be localizable.
2022-06-13Merge pull request #61772 from bruvzg/ft_ot_collectRémi Verschelde
2022-06-11restore vehicle+wheel importersJakob Gillich
fixes #61733
2022-06-08i18n: Misc fixes translation stringsRémi Verschelde
Adds some translator comments to solve some questions raised on Weblate.
2022-06-07[TextServer] Adds support for TrueType / OpenType collection files (*.TTC, ↵bruvzg
*.OTC).
2022-06-01Merge pull request #61497 from Calinou/texture-import-detect-3d-printRémi Verschelde
2022-05-28Print messages when textures are detected as used in 3D/normal/roughnessHugo Locurcio
This detection automatically changes some import options, so it's important that users are aware of this.
2022-05-26Use "odd" style for TabContainers on base BG colorFireForge
- Use the "odd" style for TabContainers that are on a background with the same color as the default TabContainer background color to add contrast
2022-05-21Add the button pressed to some signals in Treetrollodel
2022-05-20Add a new HashSet templatereduz
* Intended to replace RBSet in most cases. * Optimized for iteration speed
2022-05-19Use range iterators for RBSet in most casesAaron Record
2022-05-18[4.0] ResourceImporterWAV: Add support for 64-bit IEEE floatDouglas Leão
2022-05-18Merge pull request #60774 from TokageItLab/root-seek-modeRémi Verschelde
Fixed broken root motion calculation in internal process of `AnimationBlendTree` such as `NodeOneShot`
2022-05-16Replace most uses of Map by HashMapreduz
* Map is unnecessary and inefficient in almost every case. * Replaced by the new HashMap. * Renamed Map to RBMap and Set to RBSet for cases that still make sense (order matters) but use is discouraged. There were very few cases where replacing by HashMap was undesired because keeping the key order was intended. I tried to keep those (as RBMap) as much as possible, but might have missed some. Review appreciated!
2022-05-13Fix some bugs in the advanced scene importtrollodel
- Start with the scene item selected, instead of showing an invalid view - Don't crash when selecting unnamed materials.
2022-05-12Add a new HashMap implementationreduz
Adds a new, cleaned up, HashMap implementation. * Uses Robin Hood Hashing (https://en.wikipedia.org/wiki/Hash_table#Robin_Hood_hashing). * Keeps elements in a double linked list for simpler, ordered, iteration. * Allows keeping iterators for later use in removal (Unlike Map<>, it does not do much for performance vs keeping the key, but helps replace old code). * Uses a more modern C++ iterator API, deprecates the old one. * Supports custom allocator (in case there is a wish to use a paged one). This class aims to unify all the associative template usage and replace it by this one: * Map<> (whereas key order does not matter, which is 99% of cases) * HashMap<> * OrderedHashMap<> * OAHashMap<>
2022-05-10Merge pull request #58071 from Calinou/lightmapgi-tweak-default-texel-sizeRémi Verschelde
Increase the default texel size for lightmap baking
2022-05-09Fixed delta & Implement selection of whether or not to seek rootSilc Renew
2022-05-06Cleanup metadata usagekobewi
2022-05-03Merge pull request #60627 from aaronfranke/rename-elementsRémi Verschelde
Rename Transform2D and Basis `elements` to `columns` and `rows` respectively
2022-05-03Remove `RES` and `REF` typedefs in favor of spelled out `Ref<>`Hugo Locurcio
These typedefs don't save much typing compared to the full `Ref<Resource>` and `Ref<RefCounted>`, yet they sometimes introduce confusion among new contributors.
2022-05-02Merge pull request #59895 from akien-mga/clang-tidyRémi Verschelde
2022-05-02Style: Partially apply clang-tidy's `cppcoreguidelines-pro-type-member-init`Rémi Verschelde
Didn't commit all the changes where it wants to initialize a struct with `{}`. Should be reviewed in a separate PR. Option `IgnoreArrays` enabled for now to be conservative, can be disabled to see if it proposes more useful changes. Also fixed manually a handful of other missing initializations / moved some from constructors.
2022-05-02Fix mesh preview cleanup in the Scene import settingsmightygoat
2022-04-29Rename Basis "elements" to "rows"Aaron Franke
2022-04-28Fix cppcheck const parametersMarkus Sauermann
Convert method signature parameters to const where it is possible # Conflicts: # drivers/gles3/rasterizer_canvas_gles3.cpp # drivers/gles3/rasterizer_canvas_gles3.h # editor/plugins/animation_state_machine_editor.cpp # editor/plugins/animation_state_machine_editor.h