Commit Graph
51458 Commits
Author SHA1 Message Date
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
Hugo Locurcio 739c870900 Add Git blame ignore revisions file (used by GitHub's blame view) 2022-03-24 21:50:47 +01:00
FireForge c0f2825f8b Remove space in MeshLibrary editor button 2022-03-24 15:28:19 -05:00
Kurt Lachmann bbb07ff8cb Use insertText from the internal autocompletion
* GDScriptLanguage::complete_code already adds parentheses to function calls, and does this a lot smarter than the language server right now.
* Instead of the previous naive approach we now reuse the same logic as the internal editor.
* For this to have any effect we also have to send the `insertText` field already during the completionRequest and not only during resolve.
2022-03-24 20:24:47 +01:00
bruvzg 3999897e30 [Editor build] Use smaller .mo files instead of .po, if gettext is available. 2022-03-24 21:17:32 +02:00
Markus Sauermann 8d60e8b5d4 Update root order on layer change
When the layer of a CanvasLayer changes, the order of roots needs to be recalculated.
2022-03-24 19:25:38 +01: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 VerscheldeandGitHub 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 VerscheldeandGitHub 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 VerscheldeandGitHub 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 VerscheldeandGitHub 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 VerscheldeandGitHub 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]andGitHub 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
Hugo Locurcio 25434531cd Document the Environment class 2022-03-23 16:46:53 +01:00
Rémi VerscheldeandGitHub d7d528c15f Merge pull request #59065 from fabriceci/script-template-condition-too-wide 2022-03-23 12:13:07 +01:00
Rémi VerscheldeandGitHub c7bee09bbd Merge pull request #59424 from fire-forge/icon-theme-color 2022-03-23 11:53:38 +01:00
Rémi VerscheldeandGitHub 6b131b7d4b Merge pull request #59437 from lawnjelly/bvh_check_invalid_handles 2022-03-23 11:37:53 +01:00
Rémi VerscheldeandGitHub 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
fabriceci e2812fcb0f When only a recovery occurs, don't report a collision on move_and_collide 2022-03-23 10:24:35 +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 VerscheldeandGitHub 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 VerscheldeandGitHub 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 VerscheldeandGitHub 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 VerscheldeandGitHub 9162f27836 Merge pull request #59314 from reduz/add-static-methods-to-classdb 2022-03-22 19:22:46 +01:00
Hugo Locurcio 1a5cfcd335 Improve documentation related to detail mapping in BaseMaterial3D 2022-03-22 19:09:03 +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 VerscheldeandGitHub 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
bruvzg 803e1ae920 [Help] Add simulated slanted font support to the editor help. 2022-03-22 16:16:04 +02:00
Rémi VerscheldeandGitHub 9433c1d70c Merge pull request #59394 from aaronfranke/linux-export-x86_32 2022-03-22 13:31:28 +01:00
Rémi VerscheldeandGitHub 99139e17e4 Merge pull request #59170 from akien-mga/import-wav-configure-loop-mode 2022-03-22 13:26:31 +01:00
Rémi VerscheldeandGitHub 4c55a6529a Merge pull request #59354 from Chaosus/astar3d 2022-03-22 13:15:21 +01:00
Rémi VerscheldeandGitHub 7538ad81ac Merge pull request #59410 from bruvzg/mac_menu_features 2022-03-22 12:58:29 +01:00
Rémi VerscheldeandGitHub 44267327a9 Merge pull request #59276 from bruvzg/mo_trans 2022-03-22 12:48:14 +01:00
Rémi VerscheldeandGitHub 2a116f601b Merge pull request #59275 from bruvzg/ft_brotli 2022-03-22 12:47:00 +01:00
Hugo Locurcio 003e1e6217 Improve documentation for tonemapping operators 2022-03-22 12:14:51 +01:00