summaryrefslogtreecommitdiffstats
path: root/editor/import
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | Remove unused Optimize Mesh import option from OBJ mesh importHugo Locurcio2024-07-081-4/+3
| | | | | | | | | | | | | | | | | | | | This option was enabled by default, but it did nothing regardless of whether it was enabled or not.
* | | | Merge pull request #93727 from zeux/raycast-optRémi Verschelde2024-08-161-1/+7
|\ \ \ \ | |_|_|/ |/| | | | | | | Disable normal raycaster for LOD generation by default
| * | | Disable normal raycaster for LOD generation by defaultArseny Kapoulkine2024-07-021-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Normal raycaster makes LOD generation process >2x slower and often generates normals that look significantly worse compared to what the simplifier comes up with by default. This was likely different before last meshoptimizer upgrade, as the attribute metric was not functioning properly, but now it looks like it's doing more harm than good. This change makes it disabled by default but keeps an easy option to re-enable it per mesh using LOD parameters for now until we get more confidence and can remove the code outright. Because the long term plan would be to disable this feature entirely, the scripting API isn't changed, and it's just off-by-default there with no way to re-enable.
* | | | Merge pull request #94968 from jsjtxietian/obj-importRémi Verschelde2024-08-121-9/+10
|\ \ \ \ | | | | | | | | | | Fix obj's name set in wrong order when importing
| * | | | Fix obj's name set in wrong order when importingjsjtxietian2024-07-311-9/+10
| | |_|/ | |/| |
* | | | Merge pull request #93284 from rune-scape/missing-import-settings-crashRémi Verschelde2024-07-311-0/+2
|\ \ \ \ | |/ / / |/| | | | | | | Avoid crashing when scene import settings are empty
| * | | avoid crashing when scene import settings are emptyrune-scape2024-06-171-0/+2
| | | |
* | | | Merge pull request #94058 from Hilderin/fix-scene-project-importation-settingsRémi Verschelde2024-07-171-2/+6
|\ \ \ \ | | | | | | | | | | | | | | | Fix missing options in Project Import Defaults
| * | | | Fix missing options in Project Import DefaultsHilderin2024-07-091-2/+6
| | |_|/ | |/| |
* / | | Fix error message being printed when importing an OBJ with no surfacesHugo Locurcio2024-07-081-2/+6
|/ / / | | | | | | | | | | | | An OBJ with no surfaces is valid, and typically happens when you import an OBJ mesh with no associated MTL file.
* | / Fix default collision shape on imported rigidbodyBastiaan Olij2024-06-242-3/+23
| |/ |/|
* | Merge pull request #93337 from bruvzg/rename_img_fnt_impRémi Verschelde2024-06-191-1/+1
|\ \ | | | | | | | | | Remove `monospace/fixed-width` from the `ResourceImporterImageFont` name and description.
| * | Remove `monospace/fixed-width` from the `ResourceImporterImageFont` name and ↵bruvzg2024-06-191-1/+1
| | | | | | | | | | | | description.
* | | Merge pull request #92640 from AThousandShips/text_value_changed_snameRémi Verschelde2024-06-192-6/+6
|\ \ \ | | | | | | | | | | | | [Scene] Add `SceneStringNames::text/value_changed`
| * | | [Scene] Add `SceneStringNames::text/value_changed`A Thousand Ships2024-06-192-6/+6
| | | |
* | | | Merge pull request #92639 from AThousandShips/confirmed_snameRémi Verschelde2024-06-193-4/+4
|\| | | | | | | | | | | | | | | [Scene] Add `SceneStringNames::confirmed`
| * | | [Scene] Add `SceneStringNames::confirmed`A Thousand Ships2024-06-193-4/+4
| | | |
* | | | Merge pull request #92638 from AThousandShips/item_selected_snameRémi Verschelde2024-06-191-2/+2
|\| | | | | | | | | | | | | | | [Scene] Add `SceneStringNames::item_selected`
| * | | [Scene] Add `SceneStringNames::item_selected`A Thousand Ships2024-06-191-2/+2
| |/ /
* / / Retain meta data set on imported nodestamas2024-06-182-0/+23
|/ / | | | | | | | | | | | | | | | | During the import process, many importer nodes are replaced with their engine node counterparts. For example, ImporterMeshInstance3D is replaced with a MeshInstance3D node. Any meta data set on these importer nodes, i.e. through a GLTFDocumentExtension, are lost during the conversion. This change copies over any meta data set on these importer nodes to their engine counterparts.
* / [Scene] Add `SceneStringNames::font(_size/_color)`A Thousand Ships2024-06-182-13/+13
|/
* [Image Font Importer] Adds support for `\uXXXX` in the kerning config strings.bruvzg2024-06-131-3/+22
|
* Merge pull request #93074 from bruvzg/bmp_imp_advRémi Verschelde2024-06-121-0/+2
|\ | | | | | | [Image Font Importer] Fix reading advance after hex/dec range.
| * [Image Font Importer] Fix reading advance after hex/dec range.bruvzg2024-06-121-0/+2
| |
* | Fix incorrect camera transform of animation view in the import windowYuri Rubinsky2024-06-101-1/+1
|/
* Merge pull request #91953 from AThousandShips/use_normal_snameRémi Verschelde2024-05-311-1/+1
|\ | | | | | | Use `CoreStringNames::normal` in more places
| * Use `CoreStringNames::normal` in more placesA Thousand Ships2024-05-301-1/+1
| |
* | [Scene] Add `SceneStringNames::panel`A Thousand Ships2024-05-301-2/+2
| |
* | [Scene] Add `SceneStringNames::id_pressed`A Thousand Ships2024-05-301-1/+1
|/
* Merge pull request #92539 from RandomShaper/no_crash_glsl_headlessRémi Verschelde2024-05-301-0/+1
|\ | | | | | | Avoid crash when importing .glsl in headless
| * Avoid crash when importing .glsl in headlessPedro J. Estébanez2024-05-301-0/+1
| |
* | Replace `.bind(...).call_deferred()` with `.call_deferred(...)`A Thousand Ships2024-05-271-1/+1
|/
* Merge pull request #92196 from lyuma/gltf_anim_library_import_as_bonesRémi Verschelde2024-05-231-1/+1
|\ | | | | | | Support Import As Skeleton Bones on glTF and AnimationLibrary import
| * Support Import As Skeleton Bones on glTF and AnimationLibrary importLyuma2024-05-211-1/+1
| |
* | Merge pull request #92179 from aaronp64/image_import_memoryRémi Verschelde2024-05-221-3/+3
|\ \ | | | | | | | | | Improve memory usage for image import and `PortableCompressedTexture2D`
| * | Improve memory usage for image import and PortableCompressedTexture2Daaronp642024-05-201-3/+3
| |/ | | | | | | | | | | | | | | When importing images, we store a compressed version of the image to a .ctex file with ResourceImporterTexture::save_to_ctex_format. When importing many large images at once, this can use a large amount of memory, especially when the .ctex file uses WebP format. This change is for ResourceImporterTexture::save_to_ctex_format to use the original Image object instead of p_image->get_image_from_mipmap(0), to avoid creating a copy of the full uncompressed image when looping through the base Image and mipmaps. This reduces the import memory usage for large images by around 10% when using WebP, and 35-40% when Project Settings/Rendering/Textures/Lossless Compression/Force PNG is enabled, may vary depending on the image and number of import threads running. Same change applied to PortableCompressedTexture2D::create_from_image, which has similar logic. This helps with #92084, but does not fully resolve the issue on its own, as compressing with WebP on many threads can still use a large amount of memory - this just lowers that amount, and makes it more likely that enabling "Force PNG" will reduce memory usage enough to import the files.
* / fbx: change import option defaultsLyuma2024-05-211-1/+2
|/ | | | | ufbx has special logic to handle animation/trimming, and most users expect trimming to be on. For existing projects, we should upgrade files0 to FBX2glTF to preserve node compatibility.
* Merge pull request #92012 from lyuma/rest_fixer_anim_scaleRémi Verschelde2024-05-171-1/+1
|\ | | | | | | Skeleton rest fixer: Apply orthonormalized scale to anims
| * rest fixer: Apply orthonormalized scale to animsLyuma2024-05-161-1/+1
| | | | | | | | | | Adjust the logic for position and scale animation tracks in the Apply Node Transforms case To match how we adjust bone pose/rest, use basis.orthonormalized() for parentless bones.
* | Merge pull request #90647 from Gaktan/masterRémi Verschelde2024-05-171-12/+20
|\ \ | |/ |/| | | Fix decimal and hex ranges not working with image fonts
| * Fixed decimal and hex ranges not working with image fontsGaktan2024-05-131-12/+20
| |
* | [Scene] Add SceneStringNames::pressedA Thousand Ships2024-05-143-15/+15
| |
* | Use Core/Scene stringnames consistentlykobewi2024-05-133-11/+11
|/
* Editor: Disallow font image rows/columns to be zero or lessAlistair Leslie-Hughes2024-05-121-2/+4
| | | | Fixes #91812
* Merge pull request #91619 from AThousandShips/find_improveRémi Verschelde2024-05-082-5/+5
|\ | | | | | | Replace `find` with `contains/has` where applicable
| * Replace `find` with `contains/has` where applicableA Thousand Ships2024-05-082-5/+5
| | | | | | | | | | | | | | * Replaces `find(...) != -1` with `contains` for `String` * Replaces `find(...) == -1` with `!contains` for `String` * Replaces `find(...) != -1` with `has` for containers * Replaces `find(...) == -1` with `!has` for containers
* | [Core] Add case-insensitive `String::containsn`A Thousand Ships2024-05-081-2/+2
|/
* Keep global rest of unmapped bones if no mapped bone descendantsyds2024-05-071-7/+48
|
* Merge pull request #91641 from TokageItLab/silhouette-visibilityRémi Verschelde2024-05-072-1/+15
|\ | | | | | | Make silhouette fixer option visibility dependent on availability
| * Make silhouette fixer option visibility dependent on availabilitySilc Lizard (Tokage) Renew2024-05-072-1/+15
| |