Commit graph

34032 commits

Author SHA1 Message Date
Rémi Verschelde
9a64d6b2b2
Merge pull request #47314 from fire/gltf-names
Always have a name for gltf2 mesh, material and skins.
2021-03-24 16:54:25 +01:00
Rémi Verschelde
e9144d2519
Merge pull request #47320 from KoBeWi/what_time_is_it
Clarify that get_unix_time() returns seconds
2021-03-24 13:49:33 +01:00
kobewi
6e4a8b7f37 Clarify that get_unix_time() returns seconds 2021-03-24 13:21:32 +01:00
Rémi Verschelde
92cdd646bd
Merge pull request #47318 from Faless/js/4.x_miniupnpc_fix
[Net] Fix miniupnpc UWP build.
2021-03-24 13:13:43 +01:00
Fabio Alessandrelli
8d5df826cb [Net] Fix miniupnpc UWP build.
The patch has already been upstreamed, and custom patching won't be
needed during next version update.
2021-03-24 12:53:43 +01:00
Rémi Verschelde
fe566ee2a8
Merge pull request #47317 from Faless/js/4.x_editor_manifest_web
[HTML5] Clarify editor PWA manifest.json
2021-03-24 11:52:50 +01:00
Fabio Alessandrelli
ecb792b1da [HTML5] Clarify editor PWA manifest.json
Update name and description to clarify it's the web version.
2021-03-24 11:35:19 +01:00
Rémi Verschelde
64b4bd4ee0
Merge pull request #47301 from akien-mga/drop-resource-importer-csv
Remove now unnecessary ResourceImporterCSV importer
2021-03-24 09:25:55 +01:00
Rémi Verschelde
0682422b1e
Merge pull request #47311 from RevoluPowered/fix-importer-bug
Fix use of Error its uninitialised and resolves importers being broken
2021-03-24 09:25:09 +01:00
K. S. Ernest (iFire) Lee
60eb3dd6ad Always have a name for gltf2 mesh, material and skins.
Co-authored-by: Lcbx <luc.courbariaux@gmail.com>
2021-03-24 00:30:22 -07:00
Gordon MacPherson
8db565cabd Fix use of Error its uninitialised and resolves importers being broken 2021-03-23 23:46:22 +00:00
Rémi Verschelde
1829eb4608
Merge pull request #47293 from resul4e/vsproj_tests
Enable unit testing in MSVC when tests=yes is supplied
2021-03-23 23:58:18 +01:00
Resul Çelik
12dfdd546f SCons: Pass tests configuration to the MSVC solution
Test sources and build parameter were not supplied to the visual studio project. This resulted in a build that was not able to be test using the --test command. Adding build parameter ensures we can test, and supplying the sources ensures we have all files to write new tests and edit existing ones.
2021-03-23 23:29:14 +01:00
Johannes
c8868fcaab
Fix removal of rect_min_size not triggering resize
fixes #46672
2021-03-23 23:06:50 +01:00
Rémi Verschelde
7ed2220928
Remove now unnecessary ResourceImporterCSV importer
Its only purpose was to prevent importing CSV files as translations, but it
would still import them as *nothing*, leading to workflow issues.

This is now properly fixed with #47268 which allows disabling the import for
specific files.
2021-03-23 15:49:30 +01:00
Rémi Verschelde
538daf6731
Merge pull request #47298 from reduz/remove-keep-files-error
Remove FileSystem dock errors on unimported files
2021-03-23 15:44:40 +01:00
Juan Linietsky
4706297356 Remove FileSystem dock errors on unimported files
* Removes error shown when file is in 'keep' mode
* Display a warning when attempting to open the file
* Closes #47296
2021-03-23 11:33:07 -03:00
Rémi Verschelde
cd05653e30
Merge pull request #47292 from akien-mga/sdl-gamecontrollerdb
Sync controller mappings DB with SDL2 community repo
2021-03-23 13:40:55 +01:00
Rémi Verschelde
22716a1df2
Merge pull request #36004 from nathanfranke/fix-transparent-theme-color
Fix transparent editor theme being brighter
2021-03-23 13:25:38 +01:00
Rémi Verschelde
cdafcc3206
Merge pull request #42974 from skyace65/NavMesh2
Document more NavigationMesh properties
2021-03-23 13:24:01 +01:00
Rémi Verschelde
cde67f0315
Sync controller mappings DB with SDL2 community repo
Synced with gabomdq/SDL_GameControllerDB@807ac1fbf9.
2021-03-23 13:18:43 +01:00
Rémi Verschelde
6610289fdd
Merge pull request #40804 from naithar/fix/json-parse
JSON parser fix
2021-03-23 13:07:04 +01:00
Rémi Verschelde
036a50e8b9
Merge pull request #37755 from KoBeWi/check_down
Add disabled theme icons for CheckBox
2021-03-23 13:06:02 +01:00
Rémi Verschelde
5238f1399d
Merge pull request #38054 from aaronfranke/enums
Rename many global enums relating to input
2021-03-23 13:00:24 +01:00
Rémi Verschelde
ecfa2f8de2
Merge pull request #35320 from Calinou/edited-scene-extension-if-ambiguous
Display scene file extensions in the editor only if there's ambiguity
2021-03-23 12:58:07 +01:00
Tomasz Chabora
eb4082b24a Add option to exclude selected resources on export 2021-03-23 12:49:19 +01:00
Aaron Franke
a5324787c8
Rename some more global enums (Key, Joy, MIDI) 2021-03-23 07:13:23 -04:00
Aaron Franke
10d7fccb54
Rename ButtonList enum and members to MouseButton 2021-03-23 07:13:23 -04:00
Rémi Verschelde
70eff30c5f
Merge pull request #46823 from Calinou/editor-tweak-save-branch-as-scene-messages
Tweak error messages for the Save Branch as Scene editor option
2021-03-23 11:57:08 +01:00
Rémi Verschelde
12f7c1cb25
Merge pull request #47231 from Faless/js/4.x_gamepad_db_dualsense
[HTML5] Logitech Dual Action Gamepad FF/Linux
2021-03-23 11:54:20 +01:00
Rémi Verschelde
300f86351e
Merge pull request #47287 from Shatur95/fix-duplicated-code
Move duplicated code into a function
2021-03-23 11:17:28 +01:00
Rémi Verschelde
939c4bbe3f
Merge pull request #47261 from KoBeWi/filterdropper
Allow to drop files on filtered scene tree
2021-03-23 10:34:13 +01:00
Rémi Verschelde
f7a92eec03
Merge pull request #47284 from DarkKilauea/fix-moment-of-inertia
[Godot Physics]: Correct typo in moment of inertia calculations.
2021-03-23 10:31:08 +01:00
Shatur95
a1cfc1032c Move duplicated code into a function 2021-03-23 09:08:06 +02:00
bruvzg
b202a0dd2a
FileDialog: add Back/Forward buttons, add message for inaccessible folders. 2021-03-23 08:03:41 +02:00
Josh Jones
9aadd0cde7 [Godot Physics]: Correct typo in moment of inertia calculations.
The moment of inertia calculation for BoxShape is:

```
Vector3(
    (p_mass / 3.0) * (ly * ly + lz * lz), 
    (p_mass / 3.0) * (lx * lx + lz * lz), 
    (p_mass / 3.0) * (lx * lx + ly * ly));
```

where the final line includes both the x and y extents.

However, for CapsuleShape3D, CylinderShape3D, ConvexPolygonShape3D, ConcavePolygonShape3D, and HeightMapShape3D, the final line read `(p_mass / 3.0) * (extents.y * extents.y + extents.y * extents.y)`.  I believe this is a mistake, considering the comment in each case mentions using an AABB approximation, which should follow the same approach as BoxShape.

This change corrects the final line to include both the x and y components of the shape's extent.
2021-03-22 20:10:11 -07:00
Rémi Verschelde
0339200972
Merge pull request #43366 from Calinou/doc-surfacetool-method-order
Make the expected method calling order in SurfaceTool more explicit
2021-03-23 00:57:26 +01:00
kobewi
5950482b86 Remove the clearing behavior from add_override 2021-03-23 00:55:02 +01:00
kobewi
ecff5bc42f Add methods to remove theme overrides 2021-03-23 00:51:16 +01:00
Rémi Verschelde
eeba8d63f8
Merge pull request #44398 from RevoluPowered/unit-tests-for-export-templates
Add unit tests for export templates
2021-03-23 00:42:29 +01:00
Rémi Verschelde
7acd62886d
Merge pull request #47263 from nekomatata/fix-physical-bone-gizmo
Fix PhysicalBone gizmo not showing
2021-03-23 00:13:09 +01:00
Rémi Verschelde
6a84ade316
Merge pull request #45234 from madmiraal/rename-phashtranslation
Rename PHashTranslation to OptimizedTranslation
2021-03-23 00:12:12 +01:00
Rémi Verschelde
6fa24729ae
Merge pull request #45571 from aaronfranke/node2d-real_t
Use real_t in 2D nodes
2021-03-23 00:10:53 +01:00
Rémi Verschelde
11718dbef9 Merge pull request #45562 from aaronfranke/core-modules-real_t
Use real_t in GridMap and VariantParser
2021-03-23 00:10:04 +01:00
Rémi Verschelde
32aea7b40f
Merge pull request #47277 from nekomatata/kinematic-safe-margin-doc
More detailed documentation for KinematicBody safe collision margin
2021-03-23 00:08:35 +01:00
Rémi Verschelde
4bacb86f56
Merge pull request #46735 from fabriceci/fix-dialog-translation
Fix translations update in window & Dialogs (AcceptDialog/ConfirmationDialog/FileDialog) (Fix 39320, 39258 &  45887)
2021-03-23 00:03:31 +01:00
Rémi Verschelde
725552af69
Merge pull request #47255 from Calinou/fix-windows-tablet-setting-name
Fix feature tag casing in the Windows pen tablet project setting name
2021-03-23 00:00:36 +01:00
Rémi Verschelde
e0f19287f7
Merge pull request #47226 from fabriceci/improve-rayshape-2D
Bring the Raycast2D improvements to Rayshape2D
2021-03-22 23:56:18 +01:00
Rémi Verschelde
bb8340302c
Merge pull request #47180 from YeldhamDev/popupmenu_width_fix
Fix wrong width with PopupMenus on first opening in the editor
2021-03-22 23:51:57 +01:00
Rémi Verschelde
89d3c787d4
Merge pull request #47271 from Shatur95/remove-hardcoded-names
Remove hardcoded names in generated objects
2021-03-22 23:41:36 +01:00