summaryrefslogtreecommitdiff
path: root/editor/import
AgeCommit message (Collapse)Author
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-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
2022-04-27Merge pull request #60549 from timothyqiu/import-preset-i18nRémi Verschelde
2022-04-27Merge pull request #59979 from bruvzg/cpp_check2Rémi Verschelde
2022-04-27Merge pull request #58164 from Calinou/import-hdr-add-clamp-exposure-optionRémi Verschelde
Add an option to clamp HDR exposure to reduce environment fireflies
2022-04-27Make more import preset name translatableHaoyu Qiu
2022-04-27Add an option to clamp HDR exposure to reduce environment firefliesHugo Locurcio
HDRI panoramas designed for realistic lighting can have extremely bright suns, causing fireflies to appear in the environment reflection (in addition to making environment lighting too bright when a DirectionalLight3D is used). This uses the Filament tonemapping formula.
2022-04-26Merge pull request #60511 from akien-mga/readd-find_nodeRémi Verschelde
2022-04-25Merge pull request #60261 from fire-forge/theme-prop-renamesRémi Verschelde
2022-04-25Node: Re-add `find_node` as `find_child`, improve docsRémi Verschelde
The new name contrasts it better with `find_parent`, and makes it clear that it only matches child/descendant nodes. Also rename `find_nodes` to `find_children` accordingly.
2022-04-23Rename theme properties to include underscoresFireForge
- check_vadjust -> check_v_adjust - close_h_ofs -> close_h_offset - close_v_ofs -> close_v_offset - commentfocus -> comment_focus - hseparation -> h_separation - ofs -> offset - selectedframe -> selected_frame - state_machine_selectedframe -> state_machine_selected_frame - table_hseparation -> table_h_separation - table_vseparation -> table_v_separation - vseparation -> v_separation
2022-04-22Implement Label3D node.bruvzg
Add "generate_mipmap" font import option. Add some missing features to the Sprite3D. Move BiDi override code from Control to TextServer. Add functions to access TextServer font cache textures. Add MSDF related flags and shader to the standard material. Change standard material cache to use HashMap instead of Vector.
2022-04-20Fix more issues found by cppcheck.bruvzg
2022-04-13Import scenes as AnimationLibraryreduz
Added the ability to import scenes as AnimationLibrary * Completes implementation of https://github.com/godotengine/godot-proposals/issues/4296 * Helps if you want to export animations to a separate file (say a GLTF) to avoid re-importing/exporting them every time the model changes. * Helps if you simply want to have animations using a dummy model, which can be shared across multiple models. Creates a secondary scene importer used only for animations. **NOTE**: A new flag for scene importer: EditorSceneFormatImporter.IMPORT_DISCARD_MESHES_AND_MATERIALS has been added, to hint importers that they should skip meshes and animations (and hence make importing faster). It is not implemented in any importer yet, this should be done in a separate PR.
2022-04-11Merge pull request #59980 from reduz/animation-librariesRémi Verschelde
2022-04-11Implement Animation Librariesreduz
* Instead of containing single animations, AnimationPlayer now contains libraries. * Libraries, in turn, contain the animations. This paves the way for implementing the possibility of importing scenes as animation libraries, finally allowing to import animations separate from the 3D models. Missing (will be done on separate PRs): * Make it possible to import scenes (dae/fbx/gltf) as animation libraries. * Make it possible for AnimationTree to import animation libraries on its own, so it does not rely on AnimationPlayer for everything.
2022-04-11Make FileAccess and DirAccess classes reference counted.bruvzg
2022-04-04Zero initialize all pointer class and struct membersRémi Verschelde
This prevents the pitfall of UB when checking if they have been assigned something valid by comparing to nullptr.
2022-03-28Add property name style toggle to InspectorHaoyu Qiu
2022-03-28Hide "Normal Map" import option when using lossless compression on TextureNicholas Huelin
This pull request resolves an issue where images being imported with lossless compression allowed you to select a normal map, but the normal map only applies if you're using VRAM compression. Thereby making it redundant to appear when using lossless compression. This pull request hides the normal map option when lossless compression is selected. Resolves: #59435
2022-03-24Add GLTF, DAE and FBX importers enforcement for blend shape mask arrayAdam Scott
2022-03-22Merge pull request #59170 from akien-mga/import-wav-configure-loop-modeRémi Verschelde
2022-03-22Merge pull request #59275 from bruvzg/ft_brotliRémi Verschelde
2022-03-20Import settings inspector is cleared when openedFazil Babu
2022-03-18Merge pull request #58233 from bruvzg/gde_tsRémi Verschelde
2022-03-18Add brotli decoder and WOFF2 support.bruvzg
2022-03-18Merge pull request #59273 from V-Sekai/import-scene-no-rollRémi Verschelde
2022-03-18Avoid roll in scene importer camera.K. S. Ernest (iFire) Lee
2022-03-18Merge pull request #59259 from fire-forge/font-import-tab-namesRémi Verschelde
Fix tab names in advanced font importer
2022-03-18Merge pull request #57996 from Calinou/texture-import-remove-stream-optionRémi Verschelde
Remove unused Streamed option for textures in the Import dock
2022-03-17Fix tab names in advanced font importerFireForge
2022-03-17Make `TabBar/Container` default their alignments to the left instead of centerMichael Alexsander
2022-03-17Unify TextServer built-in module and GDExtension code.bruvzg
2022-03-15Remove unused Streamed option for textures in the Import dockHugo Locurcio
Godot does not support texture streaming yet (and is only planned for a future 4.x release), so displaying an option can be misleading.
2022-03-15ResourceImporterWAV: Allow configuring loop mode on importRémi Verschelde
The new `edit/loop_mode` import options lets user choose to either: - Detect loop points from the WAV (default, same behavior as before) - Set the loop mode and loop points manually like in AudioStreamSample Fixes #46164.
2022-03-11Add options to embolden and transform font outlines to simulate bold and ↵bruvzg
italic typefaces.
2022-03-11Merge pull request #58965 from TechnoPorg/remove-stex-occurrencesRémi Verschelde
Remove more occurrences of "stex"
2022-03-10Remove more occurrences of "stex"TechnoPorg
2022-03-07Add missing i18n to various stringsHaoyu Qiu
2022-03-06Merge pull request #58788 from reduz/rename-streamtextureRémi Verschelde
Rename StreamTexture* to CompressedTexture*
2022-03-05Various code and documentation improvementskobewi
2022-03-05Rename StreamTexture* to CompressedTexture*reduz
* Its not and will not be used for streaming. * Streaming will be implemented in 4.1 and it will work different. * It makes more sense to be called CompressedTexture since it imports and compresses texture files.