Commit graph

42473 commits

Author SHA1 Message Date
Rémi Verschelde
7c37ab53be
Merge pull request #59503 from V-Sekai/basis-universal-update 2022-03-25 11:00:57 +01:00
bruvzg
78051f93a3
Convert the editor and default theme fonts to WOFF2 format to save space. 2022-03-25 11:45:55 +02:00
nevarek
cc196393e3 Fix shader undefined variable 2022-03-25 01:40:04 -07:00
Daniel Kříž
0535ef549a Fix persistent favorites after rename
Signed-off-by: Daniel Kříž <Daniel.kriz@protonmail.com>
2022-03-25 09:32:10 +01:00
Rémi Verschelde
3990152f6b
Merge pull request #59466 from BastiaanOlij/cleanup_openxr_on_failure
Cleanup OpenXR on initialisation failure
2022-03-25 09:31:33 +01:00
Rémi Verschelde
2066e8e8d7
Merge pull request #59497 from Bitlytic/fix_group_selected
Add _group_selected to callable methods
2022-03-25 09:30:34 +01:00
Rémi Verschelde
277333bd24
Merge pull request #59472 from KoBeWi/data_migration
Make resource unique when pasting to another scene
2022-03-25 09:15:45 +01:00
Rémi Verschelde
819dad19f6
Merge pull request #59486 from fire-forge/meshlibrary-button
Remove space in MeshLibrary toolbar button
2022-03-25 09:13:14 +01:00
Daniel Kříž
2a6cb29a0f Add better alert dialogs if directory already exists
Signed-off-by: Daniel Kříž <Daniel.kriz@protonmail.com>
2022-03-25 09:07:24 +01:00
Bastiaan Olij
c78876f977 Cleanup OpenXR on initialisation failure 2022-03-25 18:30:47 +11:00
K. S. Ernest (iFire) Lee
3529141b4b Update basis universal to version 1.16.3.
Enable basis universal uastc internal storage instead of etc1s for better quality.
2022-03-24 22:41:23 -07:00
Fabio Alessandrelli
d250f12243
Merge pull request #59445 from Calinou/dns-increase-resolver-max-queries
Increase the maximum number of concurrent DNS queries from 32 to 256
2022-03-25 05:43:35 +01:00
Fabio Alessandrelli
1ed6ad939b
Merge pull request #59255 from winterpixelgames/fix-js-websocket-close
Use 3001 instead of 1001 when destroying a Javascript websocket
2022-03-25 05:20:13 +01:00
Bitlytic
8ae5c75bf7 Add _group_selected to callable methods 2022-03-24 19:23:55 -05:00
kobewi
6b3c964080 Switch scene when editing foreign resource 2022-03-25 01:17:30 +01:00
Adam Scott
5e6d4baa48 Add GLTF, DAE and FBX importers enforcement for blend shape mask array 2022-03-24 17:15:23 -04:00
FireForge
c0f2825f8b Remove space in MeshLibrary editor button 2022-03-24 15:28:19 -05:00
bruvzg
3999897e30
[Editor build] Use smaller .mo files instead of .po, if gettext is available. 2022-03-24 21:17:32 +02:00
kobewi
ab21ab80ba Make resource unique when pasting to another scene 2022-03-24 18:52:59 +01:00
reduz
09b951b99b Refactor Object metadata
* API kept the same (Although functions could be renamed to set_metadata/get_metadata in a later PR), so not much should change.
* Metadata now exposed as individual properties.
* Properties are editable in inspector (unless metadata name begins with _) under the metadata/ namespace.
* Added the ability to Add/Remove metadata properties to the inspector.

This is a functionality that was requested very often, that makes metadata work a bit more similar to custom properties in Blender.
2022-03-24 14:21:52 +01:00
Eric M
f9e1c094a2 Improve sorting of Code Completion options.
Done by ordering options by their location in the code - e.g. local, parent class, global, etc.
2022-03-24 22:24:14 +10:00
Rémi Verschelde
391633760b
Merge pull request #59465 from fountainment/fix_popupmenu 2022-03-24 12:52:42 +01:00
C.Even
6866eee641 Fix PopupMenu behavior on MacOS when multiple monitors are used
* DisplayServerOSX::mouse_get_position returns wrong x axis data in
  multi-monitor case, which makes mouse_process_popups send
  WINDOW_EVENT_CLOSE_REQUEST, then eventually make PopupMenu close on
  mouse down without activating item.
2022-03-24 18:04:41 +08:00
Rémi Verschelde
ac2a19cf24
Merge pull request #59447 from taigi100/Feature-4244-Add-proper-filters-for-picking-export-template 2022-03-24 10:55:33 +01:00
Rémi Verschelde
476b8a2249
Merge pull request #59416 from aaronfranke/export-file 2022-03-24 09:55:24 +01:00
taigi100
d8d73cdd02 Update properties to properly filter for templates. 2022-03-24 10:25:59 +02:00
Rémi Verschelde
dc85c72144
Merge pull request #59459 from timothyqiu/pagination-text
Add `TTR` context for pagination button texts
2022-03-24 08:23:26 +01:00
Haoyu Qiu
81c21ebf39 Add TTR context for pagination button texts 2022-03-24 13:48:07 +08:00
Rémi Verschelde
bab2ad4d32
Merge pull request #59450 from godotengine/dependabot/npm_and_yarn/platform/javascript/minimist-1.2.6
Bump minimist from 1.2.5 to 1.2.6 in /platform/javascript
2022-03-23 21:18:18 +01:00
dependabot[bot]
505dce7528
Bump minimist from 1.2.5 to 1.2.6 in /platform/javascript
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-23 19:50:11 +00:00
Hugo Locurcio
7d8b344f01
Increase the maximum number of concurrent DNS queries from 32 to 256
This makes the following error message less likely to be printed
when performing many concurrent HTTP requests:

    Condition ' resolving == IP::RESOLVER_INVALID_ID ' is true. returned: ERR_BUG
2022-03-23 18:18:23 +01:00
Rémi Verschelde
d7d528c15f
Merge pull request #59065 from fabriceci/script-template-condition-too-wide 2022-03-23 12:13:07 +01:00
Rémi Verschelde
c7bee09bbd
Merge pull request #59424 from fire-forge/icon-theme-color 2022-03-23 11:53:38 +01:00
Rémi Verschelde
6b131b7d4b
Merge pull request #59437 from lawnjelly/bvh_check_invalid_handles 2022-03-23 11:37:53 +01:00
Rémi Verschelde
293eaa22c8
Merge pull request #59436 from timothyqiu/hint-enum 2022-03-23 11:22:18 +01:00
fabriceci
dae97909bd Restrict the condition when checking if a script is a template 2022-03-23 11:03:44 +01:00
lawnjelly
109d08c84a Add protective checks for invalid handle use in BVH
Adds DEV_ASSERTS that will halt at runtime if the BVH is misused with invalid IDs, and adds ERR_FAIL macros to prevent calling with invalid IDs.

Any such misuse is a bug in the physics, but this should flag any errors quickly.
2022-03-23 09:19:26 +00:00
Haoyu Qiu
405bc96a1e Document how to specify explicit value for PROPERTY_HINT_ENUM names 2022-03-23 17:05:49 +08:00
Rémi Verschelde
c530a9bffb
Merge pull request #59432 from timothyqiu/export-crash 2022-03-23 10:04:39 +01:00
Rémi Verschelde
cd2e7fbc57 CI: Update to actions/cache@v3, increase cache limit to 10 GiB
And force rebuild of Linux cache which got corrupted...
2022-03-23 08:10:43 +01:00
Haoyu Qiu
680bcef825 Fix crash when exporting projects with shared libraries 2022-03-23 13:53:32 +08:00
FireForge
9544c46e3c Use accent color for some editor icons 2022-03-22 18:47:02 -05:00
Rémi Verschelde
3586f559d1
Merge pull request #59403 from fire-forge/textureprogressbar-group
Fix "Stretch Margin" group in TextureProgressBar
2022-03-22 23:03:39 +01:00
Rémi Verschelde
d93f32667e
Merge pull request #59420 from raulsntos/csharp-static-methods
Support static methods in C# bindings generator
2022-03-22 21:51:54 +01:00
Raul Santos
83e0e13f4a
Support static methods in C# bindings generator 2022-03-22 19:36:57 +01:00
Rémi Verschelde
9162f27836
Merge pull request #59314 from reduz/add-static-methods-to-classdb 2022-03-22 19:22:46 +01:00
reduz
2f651277da Add static method support to ClassDB
* Based on the work done for Variant in the past.
* Added `ClassDB::bind_static_method`
* Cleaned up ClassDB::bind_method to use variadic templates.

This adds support for having static methods in Object derived classes.
Note that this does not make it work yet in GDScript or Mono and, while it works for GDExtension, GodotCPP needs to be updated.
2022-03-22 16:27:34 +01:00
Aaron Franke
13392a96e9
Generate export template file names instead of having a fixed set 2022-03-22 10:16:03 -05:00
Rémi Verschelde
a30d17fe23
Merge pull request #59029 from bruvzg/help_slanted 2022-03-22 16:06:53 +01:00
kobewi
3eb7fc4bfd Add optional 'default' argument to get_meta() 2022-03-22 15:50:47 +01:00