Commit Graph

16849 Commits

Author SHA1 Message Date
Thaddeus Crews d76fbb7a40 Merge pull request #97356 from reduz/pck-file-removal
Add ability for PCK patches to remove files
2024-11-11 14:18:27 -06:00
Thaddeus Crews 2430b7f9b4 Merge pull request #97352 from reduz/uids-everywhere
Universalize UID support in all resource types
2024-11-11 14:18:25 -06:00
Thaddeus Crews 93815e7e97 Merge pull request #99013 from TokageItLab/fps-compat-toggle
Add FPS compatible option in second mode of the animation editor snapping
2024-11-11 14:18:24 -06:00
Thaddeus Crews 9be806aef1 Merge pull request #92986 from Repiteo/core/ref-instantiate-integration
Core: Integrate Ref `instantiate` where possible
2024-11-11 14:18:15 -06:00
Thaddeus Crews 563355637e Merge pull request #97722 from dustdfg/fix_wrong_groups_tooltip
Fix tooltip message of button that opens groups/signals dock
2024-11-11 14:18:13 -06:00
Thaddeus Crews 489d4933ab Merge pull request #97081 from aXu-AP/uv-editor-without-polygon
Open UV editor in point editing mode if no points
2024-11-11 14:18:12 -06:00
Thaddeus Crews 360f42c281 Merge pull request #98859 from ydeltastar/method-selector
Make the method selector dialog available via `EditorInterface`
2024-11-11 14:18:08 -06:00
Thaddeus Crews 869e059f07 Merge pull request #98074 from YeldhamDev/stop_moving_will_ya
Add a pin toggle to prevent involuntary bottom editor switching
2024-11-11 14:18:02 -06:00
Thaddeus Crews 204f589213 Merge pull request #97551 from lalitshankarchowdhury/resize-audio-waveform
AudioStreamImport: Allow waveform resize
2024-11-11 14:18:00 -06:00
Thaddeus Crews ed3de25a9a Merge pull request #97415 from YeldhamDev/i_love_all_my_properties_equally
Make possible to favorite properties in the inspector
2024-11-11 14:17:57 -06:00
Silc Lizard (Tokage) Renew 64d04c375c Add FPS compatible option in second mode of animation editor snapping 2024-11-12 04:39:13 +09:00
Juan 2ac562cdf8 Add ability for PCK patches to remove files
Co-authored-by: Mikael Hermansson <mikael@hermansson.io>
2024-11-11 16:34:37 +01:00
Michael Alexsander bb07b2d619 Add a lock toggle to prevent involuntary bottom editor switching 2024-11-11 12:09:57 -03:00
Juan d57846087b Universalize UID support in all resource types
Ensures all resource types support UIDs in a project.

This is required to fix:
* Scripts and many other resource types can't be referenced by UID and when refactored the references are lost.
* Path export properties can't use UID for unsupported types.
* Refactoring problems when files are moved outside the editor (this PR effectively fixes it).
* Editor properly refreshing paths if they changed externally while opened (as example, git update).
  This needs to be addressed in a subsequent PR, but this one effectively sets the prerequisites.

Resource types that do not support UID will get a .uid file appended to them (this includes .gd, .gdshader, .gdextension, etc. files).
2024-11-11 15:59:56 +01:00
yds 9db8b0e333 Make the method selector dialog available via EditorInterface 2024-11-11 08:36:02 -03:00
Thaddeus Crews 925b690c98 Core: Integrate Ref::instantiate where possible 2024-11-10 12:41:26 -06:00
Thaddeus Crews 0f5f3bc954 Merge pull request #98558 from jasonmorgado/add-track-filter
Add type filters to AnimationPlayer's "Add Track"
2024-11-10 12:13:10 -06:00
Thaddeus Crews c4a52e1ade Merge pull request #98809 from bruvzg/mac_gde_libs_non_uni
[GDExtension] Improve macOS library loading/export.
2024-11-10 12:13:06 -06:00
Thaddeus Crews 297ceda96d Merge pull request #98794 from KoBeWi/programming_a_toaster_aka_internet_of_things
Improve EditorToaster code
2024-11-10 12:13:00 -06:00
Thaddeus Crews 63838c936c Merge pull request #98278 from a-johnston/fuzzy-search-rebase
Add fuzzy string matching to quick open search
2024-11-10 12:12:56 -06:00
Thaddeus Crews f3294e59e1 Merge pull request #98891 from Faless/debugger/game_view_settings
[Debugger] Better settings configuration for RuntimeNodeSelect and Window quit
2024-11-10 12:12:46 -06:00
Thaddeus Crews 68c35f498a Merge pull request #98232 from dbnicholson/editor-dock-select-root
Fix selecting root node before button released
2024-11-10 12:12:39 -06:00
Thaddeus Crews 5d7a7c01b4 Merge pull request #98988 from AThousandShips/fix_game_feature
[Editor] Fix order of editor features
2024-11-10 12:12:35 -06:00
Thaddeus Crews 90ce26a27b Merge pull request #94889 from rune-scape/no-const-list-erase
Remove const_cast in `List::erase`
2024-11-10 12:12:34 -06:00
Thaddeus Crews 560dfc738d Merge pull request #98980 from Logharaa/remove-unnecessary-condition
Remove unnecessary condition in WAV importer
2024-11-10 12:12:33 -06:00
Thaddeus Crews fbded4e0d7 Merge pull request #98716 from Calinou/editor-improve-mesh-uv-preview
Improve Mesh UV1/UV2 preview in the editor
2024-11-10 12:12:29 -06:00
Thaddeus Crews a3efd2b498 Merge pull request #98710 from YeldhamDev/runtime_reimport_reload
Reload cached resources in runtime on file reimport
2024-11-10 12:12:27 -06:00
Jason Morgado d5176757c0 Add type filters to AnimationPlayer's "Add Track"
Co-Authored-By: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
Co-Authored-By: Tomek <kobewi4e@gmail.com>
2024-11-09 10:14:06 -05:00
A Thousand Ships 2d8eb290f1 [Editor] Fix order of editor features
Order was broken after adding `Game View`
2024-11-09 10:51:55 +01:00
Felix Yuan f491d2fe24 Don't try to move selection if there are no visible elements 2024-11-09 01:29:44 -08:00
Logharaa b40e04d94f Remove unnecessary condition 2024-11-09 10:42:22 +09:00
rune-scape a47daa0a44 Avoid const_cast in List::erase by requiring mutable elements 2024-11-08 00:10:08 -08:00
Thaddeus Crews 36e6207bb4 Merge pull request #98911 from KoBeWi/😵‍💫
Fix wrong checked menu item in 3D editor
2024-11-07 12:36:36 -06:00
Thaddeus Crews 3a7efc9edf Merge pull request #98874 from aaronfranke/gltf-preserve-visibility
GLTF: Preserve node visibility on import
2024-11-07 12:36:35 -06:00
Thaddeus Crews 671d6e3230 Merge pull request #98150 from hunterloftis/fix-default-import-threaded
Fix freeze on non-thread-safe custom importers
2024-11-07 12:36:20 -06:00
Fabio Alessandrelli c3e2e46855 [Debugger] Add configuration to the GameView debugger plugin 2024-11-07 15:03:17 +01:00
Fabio Alessandrelli 7cd850b909 [Debugger] Move quit shortcut configuration to the SceneDebugger 2024-11-07 15:03:17 +01:00
kobewi 4cbf15608c Fix wrong checked menu item in 3D editor 2024-11-07 00:15:38 +01:00
Aaron Franke 924732772b GLTF: Preserve node visibility on import 2024-11-05 19:06:08 -08:00
Thaddeus Crews 88a48d52f0 Merge pull request #98801 from zeux/my-final-form
Rewrite index optimization code for maximum efficiency
2024-11-05 18:36:13 -06:00
Michael Alexsander 81cb7658f8 Reload cached resources in runtime on file reimport 2024-11-05 10:51:20 -03:00
passivestar a6bcff9cfd Add missing audio bus button styles 2024-11-05 14:58:31 +04:00
Thaddeus Crews 2450dee1bc Merge pull request #93401 from Repiteo/style/clang-tidy-fixes
Style: Apply `clang-tidy` fixes
2024-11-04 21:52:05 -06:00
Thaddeus Crews e38068f768 Merge pull request #96778 from aaronfranke/gltf-dont-fail-import
GLTF: Don't give up loading a texture if importing it fails
2024-11-04 21:51:56 -06:00
Aaron Franke 0b7354dfa9 GLTF: Don't give up loading image if import fails 2024-11-04 19:28:18 -08:00
Thaddeus Crews bb5f390fb9 Style: Apply clang-tidy fixes (superficial)
• `modernize-use-bool-literals`, `modernize-use-nullptr`, and `readability-braces-around-statements`
2024-11-04 12:11:14 -06:00
Thaddeus Crews 89a311205f Style: Apply clang-tidy fixes
• `modernize-use-default-member-init` and `readability-redundant-member-init`
• Minor adjustments to `.clang-tidy` to improve syntax & remove redundancies
2024-11-04 12:11:06 -06:00
Arseny Kapoulkine 260287b3a1 Rewrite index optimization code for maximum efficiency
While all the previous fixes to optimizeVertexCache invocation fixed the
vertex transform efficiency, the import code still was missing two
crucial recommendations from meshoptimizer documentation:

- All meshes should be optimized for vertex cache (this reorders
  vertices for maximum fetch efficiency)
- When LODs are used with a shared vertex buffer, the vertex order
  should be generated by doing a vertex fetch optimization on the
  concatenated index buffer from coarse to fine LODs; this maximizes
  fetch efficiency for coarse LODs

The last point is especially crucial for Mali GPUs; unlike other GPUs
where vertex order affects fetch efficiency but not shading, these GPUs
have various shading quirks (depending on the GPU generation) that
really require consecutive index ranges for each LOD, which requires the
second optimization mentioned above. However all of these also help
desktop GPUs and other mobile GPUs as well.

Because this optimization is "global" in the sense that it affects all
LODs and all vertex arrays in concert, I've taken this opportunity to
isolate all optimization code in this function and pull it out of
generate_lods and create_shadow_mesh; this doesn't change the vertex
cache efficiency, but makes the code cleaner. Consequently,
optimize_indices should be called after other functions like
create_shadow_mesh / generate_lods.

This required exposing meshopt_optimizeVertexFetchRemap; as a drive-by,
meshopt_simplifySloppy was never used so it's not exposed anymore - this
will simplify future meshopt upgrades if they end up changing the
function's interface.
2024-11-04 06:58:06 -08:00
bruvzg 2d66988f99 [GDExtension] Improve macOS library loading/export. 2024-11-04 09:28:30 +02:00
kobewi 025976dc45 Improve EditorToaster code 2024-11-03 14:16:22 +01:00