Commit Graph

1210 Commits

Author SHA1 Message Date
Michael Alexsander 454e4f817c Make build profile project detection also set build options 2025-06-03 11:11:33 -03:00
Dario 5a30a7e7cd Add shader baker to project exporter.
Metal Support contributed by Migeran (https://migeran.com) and Stuart Carnie.

Co-authored-by: Stuart Carnie <stuart.carnie@gmail.com>
Co-authored-by: Gergely Kis <gergely.kis@migeran.com>
2025-05-27 12:45:27 -03:00
Thaddeus Crews 4daad86a86 Merge pull request #106562 from zeux/lod-metrics
Adjust LOD selection metrics to use attribute error
2025-05-22 12:15:03 -05:00
Haoyu Qiu 7010d171b1 Relax the requirements for making EditorImportPlugin 2025-05-21 22:13:09 +08:00
Aaron Franke 19e6bc68aa Explicitly handle Image AlphaMode enum instead of treating as bool
Co-authored-by: K. S. Ernest (iFire) Lee <ernest.lee@chibifire.com>
2025-05-20 05:04:23 -07:00
Thaddeus Crews f1ba8eeae5 Merge pull request #105706 from TokageItLab/fix-fixer
Make silhouette fixer to use arc `Quaternion` constructor instead of `looking_at()`
2025-05-19 08:01:38 -05:00
Arseny Kapoulkine 6190d412d3 Adjust LOD selection metrics to use attribute error
- Revert meshoptimizer patch; the metric used for LOD selection now
incorporates attribute error
- Since LOD selection is now aware of attribute deviation, we don't
need to use a higher normal weight
- To prevent normal creases from creating input triangles with very
large normal deviation, reduce default normal merge threshold
- Since we now use combined metric to select LODs, we never need LODs
with error>1 as these should not be selected if the mesh is visible.
2025-05-18 17:38:54 +03:00
Thaddeus Crews ce2f047112 Merge pull request #106437 from BlueCube3310/ch-remap-grow
Expand the imported texture channel count for remapping if necessary
2025-05-16 10:29:00 -05:00
Thaddeus Crews c3247d87d8 Merge pull request #106423 from YeldhamDev/that_is_a_big_scrollbar_btw
Hide scrollbar in the audio stream importer dialog when unneeded
2025-05-16 07:43:11 -05:00
BlueCube3310 92cfd2b486 Expand the imported texture channel count for remapping if necessary 2025-05-15 19:18:15 +02:00
Thaddeus Crews 97df52c26d Merge pull request #106338 from lalitshankarch/make-buttons-accessible
AudioStreamImport: Make play and stop buttons accessible through keyboard
2025-05-15 10:22:25 -05:00
Michael Alexsander bbe9994bb1 Hide scrollbar in the audio stream importer dialog when unneeded 2025-05-14 20:08:36 -03:00
Raphaël Daubelcour 9511e1137d Check if import_script is subtype of EditorScenePostImport 2025-05-14 12:07:17 -04:00
Lalit Shankar Chowdhury 18eaa97f85 AudioStreamImport: Make play and stop buttons accessible through keyboard 2025-05-14 12:05:50 +05:30
Thaddeus Crews 93140c0f76 Merge pull request #99676 from BlueCube3310/tex-import-vram-specified
Add Channel Remap settings to ResourceImporterTexture
2025-05-13 16:22:22 -05:00
LuoZhihao 237597b01f BasisU: Use KTX2 format and add import options to configure encoder 2025-05-03 01:45:38 +08:00
Silc Lizard (Tokage) Renew d2cf48700e Make silhouette fixer use arc Quaternion constrructor instead look_at 2025-04-28 17:13:17 +09:00
Thaddeus Crews f8a8d6cf04 Merge pull request #105700 from dementive/config-file-get-improvement
Improve ConfigFile get_sections and get_section_keys by returning Vector<String>
2025-04-27 19:21:31 -05:00
Thaddeus Crews 1a2a1b07df Merge pull request #105799 from Repiteo/scons/enum-conversion-warnings
SCons: Add enum conversion warning
2025-04-27 19:21:23 -05:00
Thaddeus Crews 3947cbe3b2 Merge pull request #104386 from Repiteo/core/cpp-math
Core: Replace C math headers with C++ equivalents
2025-04-27 19:21:22 -05:00
Thaddeus Crews dc9c34f0c6 SCons: Add enum conversion warning 2025-04-26 12:06:20 -05:00
Thaddeus Crews 796a08d350 Merge pull request #105655 from bruvzg/svg_tx_import
Add `SVGTexture` importer.
2025-04-25 11:36:05 -05:00
dementive b8e44a0000 Improve ConfigFile get_sections and get_section_keys by returning Vector<String> 2025-04-24 20:10:31 -04:00
Thaddeus Crews 5dc375b2fc Merge pull request #105014 from aaronfranke/no-type-suffixes
Allow completely opting out of name suffix magic in 3D scene import
2025-04-24 17:18:50 -05:00
Pāvels Nadtočajevs 15cecfdac5 Add SVGTexture importer. 2025-04-24 08:15:53 +03:00
Pāvels Nadtočajevs 5b49fd4207 Selectively apply FOCUS_ACCESSIBILITY to the Labels instead of setting it by default. 2025-04-23 12:47:31 +03:00
Thaddeus Crews 09ea7bc6a3 Merge pull request #105400 from bruvzg/ov_cleanup
Remove old oversampling property from font importers.
2025-04-17 09:14:25 -05:00
Thaddeus Crews ad40939b6f Core: Replace C math headers with C++ equivalents
- Minor restructuring to ensure `math_funcs.h` is the central point for math functions
2025-04-16 15:49:02 -05:00
Thaddeus Crews 87f986ae67 Merge pull request #97837 from basicer/fix-update-timer
SceneImportSettings update_timer should be a oneshot.
2025-04-15 12:28:39 -05:00
Pāvels Nadtočajevs 92e7a6ff8f Remove old oversampling property from font importers. 2025-04-15 08:22:17 +03:00
Thaddeus Crews d236bd8633 Merge pull request #99543 from KoBeWi/using_rng_to_destroy_rng
Add `create_id_for_path()` to ResourceUID
2025-04-11 09:51:12 -05:00
kobewi ff1f040893 Add create_id_for_path() to ResourceUID 2025-04-11 00:53:34 +02:00
Thaddeus Crews 94282d88f9 Core: Use Math namespace for constants 2025-04-10 16:29:30 -05:00
A Thousand Ships 889410dcda Add String::replace_char(s) methods for performance and convenience 2025-04-10 13:08:45 +02:00
Aaron Franke e96828673f Allow completely opting out of name suffix magic in 3D scene import 2025-04-10 01:11:54 -07:00
Thaddeus Crews f7b72704db Merge pull request #104804 from etherealxx/fix-advanced-import-inspector-missing-tooltip
Fix missing tooltips on "Advanced Import Settings for Scene" window
2025-04-09 18:12:00 -05:00
Thaddeus Crews 7a6c3b309f Merge pull request #105130 from bruvzg/uri_fix_plus
Add uri_file_decode to handle + in file names.
2025-04-09 18:11:56 -05:00
Thaddeus Crews e6a61b1ecc Merge pull request #76829 from bruvzg/ac_kit_direct
Implement screen reader support using AccessKit library.
2025-04-08 12:32:47 -05:00
Pāvels Nadtočajevs 302fa831cc Initial editor accessibility. 2025-04-08 20:25:48 +03:00
Pāvels Nadtočajevs 9abe2e5294 Add uri_file_decode to handle + in file names. 2025-04-07 23:49:17 +03:00
Yufeng Ying bbc380b07e Do not iterate Dictionary with get_key_at_index. 2025-04-07 21:54:13 +08:00
Yufeng Ying 8ae16699c5 Do not use Dictionary::keys() for Dictionary iteration. 2025-04-05 18:42:13 +08:00
Yufeng Ying 4f4031a675 Replace size() == 0 with is_empty(). 2025-04-02 19:18:43 +08:00
Michael Alexsander 556933306a Allow to compile templates without navigation features 2025-04-01 11:53:35 -03:00
Pāvels Nadtočajevs 19f360d65a Add font import flag to toggle modulation of colored glyphs. 2025-04-01 13:36:10 +03:00
Etherealxx 7e00ea510e Fix missing tooltips on "Advanced Import Settings for Scene" window
In Godot, it's possible to customize how the engine imports 3D resource,
by either clicking "Advanced..." button on Import Dock or double
clicking the resource on FileSystem Dock. Doing so will open the
Advanced Import Settings window, where user could inspect the 3D resource
in a viewport, with the scene tree on the left and an inspector panel
akin to the Import dock on the left. It contains the same settings from
the Import dock, with some advanced additions.

This commit fixes a regression since 4.2 where settings in the inspector
panel on the right part of the window does not contain the same tooltips
as its Import Dock counterpart (which were retrieved from the XML class
reference).
2025-04-01 10:29:40 +07:00
Rémi Verschelde 3b90bb56ad Merge pull request #89782 from KoBeWi/stdArrayList
Use initializer list in Arrays
2025-03-28 17:29:40 +01:00
Rémi Verschelde f63fdc8a9f Merge pull request #104667 from Calinou/editor-no-toast-texture-detect-3d
Don't show toasts for textures detected as used in 3D/normal/roughness
2025-03-28 14:33:41 +01:00
Yyf2333 22b5ec17fb Using iterator pattern instead of List::Element *.
Co-authored-by: Adam Scott <ascott.ca@gmail.com>
2025-03-28 13:29:15 +08:00
Hugo Locurcio c7d855967c Don't show toasts for textures detected as used in 3D/normal/roughness
A message is still printed in the Output panel when a texture is detected
as being used in 3D/normal/roughness.
2025-03-27 14:58:57 +01:00