summaryrefslogtreecommitdiff
path: root/editor/import
AgeCommit message (Collapse)Author
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.
2022-03-05Make name of editor file dialog filters translatableHaoyu Qiu
2022-02-25Allow automatic lod when importing 3D scenes with Static LightmapsK. S. Ernest (iFire) Lee
Avoid the normal merge procedure when uv2s are different and makes generating LODs happen after the lightmap generation
2022-02-21Fix typos in editor font preload dialog warning messagesHugo Locurcio
2022-02-19Merge pull request #57163 from ↵Rémi Verschelde
winterpixelgames/feature/allow-disable-atlas-texture-alpha-trim Allow disabling the alpha trim on texture atlas creation.
2022-02-19Allow disabling the alpha trim on texture atlas creation.Jason Knight
Default to true
2022-02-19Fix crash when importing DAE modelHaoyu Qiu
2022-02-17Change 'find_node' to 'find_nodes' and Add 'type' parameterdiddykonga
Changed 'find_node' to 'find_nodes' which now returns an 'TypedArray<Node>', as well as Added a 'type' parameter to match against specific node types, which supports inheritance.
2022-02-16Merge pull request #58182 from akien-mga/style-cleanup-if-semicolons-deadcodeRémi Verschelde
2022-02-16Update if == NOTIFICATION_* to switch statements to match coding stylemegalobyte
2022-02-16Style: Cleanup single-line blocks, semicolons, dead codeRémi Verschelde
Remove currently unused implementation of TextureBasisU, could be re-added later on if needed and ported.
2022-02-15Editor: Cleanup some includes dependenciesRémi Verschelde
Removes some unnecessary includes from `editor_node.h`, and instead add those where they're used. Removes unnecessary `editor_node.h` includes in various editor classes. Renames `dynamicfont` to `dynamic_font` in a couple files. Misc cleanup while jumping through that rabbit hole.
2022-02-12Add sub-pixel glyph positioning support.bruvzg
2022-02-12Merge pull request #57997 from Calinou/texture-import-rename-hdr-as-srgbRémi Verschelde
2022-02-12Improve compilation speed (forward declarations/includes cleanup)Hendrik Brucker
2022-02-12Rename Hdr as Srgb texture import option to be lowercaseHugo Locurcio
Unlike all other import options, Hdr As Srgb was internally spelled out with uppercase characters.
2022-02-08Merge pull request #57627 from JFonS/occluder_improvementsRémi Verschelde
2022-02-08Re-add missing `SNAME` macros in `get_theme_*` callsRémi Verschelde
They were removed in the previous commit reverting the addition of `SNAME` to `add_theme_*` and theme setter methods, which is not wanted.
2022-02-08Revert "Add missing SNAME macro optimization to all theme methods call"Rémi Verschelde
This reverts commit a988fad9a092053434545c32afae91ccbdfbe792. As discussed in #57725 and clarified in #57788, `SNAME` is not meant to be used everywhere but only in critical code paths. For theme methods specifically, it was by design that only getters use `SNAME` and not setters.
2022-02-07Improvements and fixes to occludersjfons
Improvements: * Occluder3D is now an abstract type inherited by: ArrayOccluder3D, QuadOccluder3D, BoxOccluder3D, SphereOccluder3D and PolygonOccluder3D. ArrayOccluder3D serves the same purpose as the old Occluder3D (triangle mesh occluder) while the rest are primitives that can be used to manually place simple occluders. * Occluder baking can now apply simplification. The "bake_simplification_distance" property can be used to set a world-space distance as the desired maximum error, set to 0.1 by default. * Occluders can now be generated on import. Using the "occ" and "occonly" keywords (similar to "col" and "colonly" for colliders) or by enabling on MeshInstance3Ds in the scene's import window. Fixes: * Fixed saving of occluder files after bake. * Fixed a small error where occluders didn't correctly update in the rendering server. Bonus content: * Generalized "CollisionPolygon3DEditor" so it can also be used to edit Resources. Renamed it to "Polygon3DEditor" since it was already being used by other things, not just colliders. * Fixed a small bug in "EditorPropertyArray" where a call to "remove" was left after the "remove_at" rename.
2022-02-07Merge pull request #57725 from jmb462/missing-sname-theme-settersRémi Verschelde
2022-02-07ResourceImporter: Restore default append logic for new importersRémi Verschelde
This was changed in #56943 to allow adding new importers from plugins that take precedence over built-in ones, but this should be opt-in, not the default behavior. Fixes #57730.