PouleyKetchoupp
0dacc681b6
Fixed unnecessary bvh tree updates when calling set_pairable
...
Dynamic BVH doesn't update the tree anymore when calling set_pairable
with no parameter change.
Also modified Godot Physics broadphase to create objects directly with
pairable (static) set correctly to make use of this optimization for the
BVH broadphase.
Note: Octree broadphase doesn't use this optimization because it forces
an update on move, so passing the proper AABB and static parameters on
creation would cause the tree to update twice.
2021-05-04 12:24:31 -07:00
JFonS
73e2ccd603
Switch to embree-aarch64
2021-05-04 18:59:00 +02:00
Rémi Verschelde
de3168ffa3
Merge pull request #48457 from briansemrau/fix-polygon-rotation-batched
...
Fix polygon rotation with batching
2021-05-04 18:12:03 +02:00
Rémi Verschelde
0bf06c25a3
Merge pull request #48450 from Calinou/version-click-to-copy-3.x
...
Make it possible to copy the Godot version identifier by clicking it (3.x)
2021-05-04 17:55:43 +02:00
Rémi Verschelde
60eb2d8cf7
Merge pull request #48454 from akien-mga/3.x-style-changes
2021-05-04 17:55:17 +02:00
Brian Semrau
57e3f357dc
Batching fix polygon basis polarity
...
Changes based on fix in #46898
2021-05-04 10:48:58 -04:00
Rémi Verschelde
0c8b5b5c4d
Style: Remove redundant void argument lists
...
Using clang-tidy's `modernize-redundant-void-arg`.
https://clang.llvm.org/extra/clang-tidy/checks/modernize-redundant-void-arg.html
2021-05-04 16:40:33 +02:00
Rémi Verschelde
b4af1eba0a
Style: Enforce use of bool literals instead of integers
...
Using clang-tidy's `modernize-use-bool-literals`.
https://clang.llvm.org/extra/clang-tidy/checks/modernize-use-bool-literals.html
2021-05-04 16:39:13 +02:00
Hugo Locurcio
1ceb603de8
Make it possible to copy the Godot version identifier by clicking it
...
This closes #24317 .
2021-05-04 16:38:17 +02:00
Rémi Verschelde
a828398655
Style: Replaces uses of 0/NULL by nullptr (C++11)
...
Using clang-tidy's `modernize-use-nullptr`.
https://clang.llvm.org/extra/clang-tidy/checks/modernize-use-nullptr.html
2021-05-04 16:30:23 +02:00
Rémi Verschelde
2b429b24b5
Merge pull request #48447 from akien-mga/3.x-style-changes
2021-05-04 16:30:15 +02:00
Rémi Verschelde
b5e1e05ef2
Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks
2021-05-04 14:45:16 +02:00
Rémi Verschelde
64a63e0861
Style: clang-format: Disable AllowShortCaseLabelsOnASingleLine
2021-05-04 14:45:15 +02:00
Rémi Verschelde
3d15f04668
Style: clang-format: Disable AllowShortIfStatementsOnASingleLine
2021-05-04 14:45:15 +02:00
Rémi Verschelde
6e600cb3f0
Style: Set clang-format Standard to c++14
2021-05-04 14:45:15 +02:00
Rémi Verschelde
7e61be3cb0
Style: Remove executable bit from non-runnable files
2021-05-04 14:45:07 +02:00
Koala
d08666f999
Fix indent left line selection
...
(cherry picked from commit 2c64008718
)
2021-05-04 12:47:36 +02:00
PouleyKetchoupp
cc83557716
Allow values > 1 for friction and bounce in PhysicsMaterial
...
(cherry picked from commit 67987be644
)
2021-05-04 12:46:35 +02:00
Rémi Verschelde
2660f24160
Merge pull request #48429 from kleonc/posmod-change-int-to-int64
...
[3.x] Make posmod use int64_t instead of int
2021-05-04 12:31:01 +02:00
Rémi Verschelde
9052d56c92
Merge pull request #48217 from nekomatata/fix-mesh-instance-skinning-init
...
Fix skinning initialization in MeshInstance when loaded from thread
2021-05-04 12:28:04 +02:00
Rémi Verschelde
32cc022267
Merge pull request #48314 from nekomatata/physics-2d-dynamic-bvh
...
[3.x] Support for Dynamic BVH as 2D Physics broadphase
2021-05-04 09:23:04 +02:00
Rémi Verschelde
0481a9a6c0
Merge pull request #48426 from akien-mga/3.x-ci-doctool-check
...
[3.x] CI: Add `--doctool` check to find missing classref updates
2021-05-03 23:09:40 +02:00
Rémi Verschelde
b388412270
CI: Add --doctool
check to find missing classref updates
...
This will enforce that PRs properly sync the class reference templates to match
their changes to the public API, and help notice binding bugs in the process
(e.g. missing enum bindings, unexpected API changes or missing argument names).
This should also serve as a reminder to contributors that their changes impact
the scripting API and might warrant actually filling the descriptions for the
new methods/properties/etc.
2021-05-03 22:45:14 +02:00
Rémi Verschelde
62bea72601
doc: Sync classref with Mono build
2021-05-03 22:34:11 +02:00
kleonc
f04a964627
Make posmod use int64_t instead of int
2021-05-03 22:03:16 +02:00
Rémi Verschelde
136c3b1a16
doc: Sync classref with current source
2021-05-03 21:39:44 +02:00
Michael Alexsander
ae99339e9f
Add comment highlighting to script thumbnails
...
(cherry picked from commit 46e0161737
)
2021-05-03 21:39:44 +02:00
Mateo Kuruk Miccino
71a9932f38
FileSystem: Force update when we delete a folder from the editor and searching changes only if we change the directory successfully in the scan_fs_changes
...
(cherry picked from commit dc76938679
)
2021-05-03 21:39:44 +02:00
kleonc
93cb416423
TileMapEditor Modulate autotile previews
...
(cherry picked from commit 3f1b95cfb1
)
2021-05-03 21:39:44 +02:00
kleonc
bf63878141
TileMapEditor::_bucket_fill Check autotile coordinates only if autotile is selected
...
(cherry picked from commit a1b903066e
)
2021-05-03 21:39:44 +02:00
MaxStgs
1fc0fb7a5e
Add WebSocketMultiplayerPeer _incoming_packets check bound
...
(cherry picked from commit 05ad08941b
)
2021-05-03 21:39:43 +02:00
Fabio Alessandrelli
77e3514315
[Net] Implement String::parse_url for parsing URLs.
...
Splits the URL into (scheme, host, port, path).
Supports both literal IPv4 and IPv6.
Strip credentials when present (e.g. http://user:pass@example.com/ ).
Use that function in both HTTPRequest and WebSocketClient.
(cherry picked from commit 3bb40669d5
)
2021-05-03 21:39:43 +02:00
Rémi Verschelde
3b60911857
Merge pull request #48382 from MaxStgs/fix_phash_translation
...
Check PHashTranslation generate p_from is valid
2021-05-03 17:15:41 +02:00
Rémi Verschelde
6abf571d79
Merge pull request #48324 from MaxStgs/fix_comparsion
...
[3.x] Fix BakedLightmap bias bound check
2021-05-03 17:06:15 +02:00
MaxStgs
0bb40df4bb
Check PHashTranslation generate p_from is valid
2021-05-03 19:58:40 +05:00
Rémi Verschelde
2d1aeac6fd
Merge pull request #48402 from lawnjelly/ewok_skin_basexform
...
Fix 2d software skinning relative transforms
2021-05-03 16:14:03 +02:00
lawnjelly
f33e22001f
Fix 2d software skinning relative transforms
...
All my earlier test cases for software skinning had the polys parent transform to be identity. This works fine until you had cases where the user had moved the transform of the parent nodes of skinned polys.
This PR fixes this situation by taking into account the final (concatenated) transform of the polys RELATIVE to the skeleton base transform. It does this by applying the inverse skeleton base transform to the poly final transform.
2021-05-03 14:11:41 +01:00
MaxStgs
94d0c4182b
Add PackedDataContainer data pointer check for non nullable
2021-05-02 15:56:36 +05:00
Rémi Verschelde
c37464bd12
Merge pull request #48362 from Calinou/project-manager-add-about-dialog-3.x
...
Add the About dialog to the project manager (3.x)
2021-05-02 10:05:37 +02:00
Hugo Locurcio
81ca8e4e7e
Add the About dialog to the project manager
...
The About button is located in the bottom-right corner of the
project manager.
This allows removing the copyright notice from the window title
(which looked a bit ugly in comparison to other applications).
2021-05-02 00:01:23 +02:00
Rémi Verschelde
48cc756f88
Merge pull request #37067 from zaksnet/multiple-editor-instances
...
Automatic remote debugger port assignment.
2021-05-01 12:57:35 +02:00
Zak
c3cfb87548
Allow multiple editor instances to use different ports
...
Previously if more than one Godot editor was running then the debugger of one editor would not work because both editors were trying to connect on the same port.
This commit attempts to fix this by allowing the debugger to change the port at runtime in such cases.
2021-05-01 11:32:10 +02:00
PouleyKetchoupp
d8f681029f
Support for Dynamic BVH as 2D Physics broadphase
...
List of changes:
- Modified bvh class to handle 2D and 3D as a template
- Changes in Rect2, Vector2, Vector3 interface to uniformize template
calls
- New option in Project Settings to enable BVH for 2D Physics (enabled
by default like in 3D)
2021-04-30 15:53:15 -07:00
MaxStgs
b4cc8ed6f2
Fix BakedLightmap bias bound check
2021-04-30 15:16:51 +05:00
Hugo Locurcio
1f0e570216
Document that SceneTree.call_group()
is deferred
...
(cherry picked from commit 7516ff3805
)
2021-04-30 12:15:24 +02:00
Sergey Minakov
f9535554fa
[iOS] Nonnegative start index for virtual keyboard range
...
(cherry picked from commit 275772818d
)
2021-04-30 12:15:24 +02:00
Rémi Verschelde
5a20cef857
Merge pull request #48308 from bruvzg/fix_fontdata_race
...
Duplicate DynamicFontData resources in the editor preview generation thread to avoid race condition.
2021-04-30 12:12:20 +02:00
Rémi Verschelde
859946d27a
Merge pull request #48320 from Faless/js/3.x_modern_emcc
...
[3.x] [HTML5] Fix build for recent emscripten versions.
2021-04-30 09:38:21 +02:00
Fabio Alessandrelli
b0f6dec02e
[HTML5] Fix build for recent emscripten versions.
...
Library suffix should be `.a`, the `EXTRA_` in
`EXTRA_EXPORTED_RUNTIME_METHODS` is deprecated.
2021-04-30 08:02:21 +02:00
PouleyKetchoupp
0ba5001fb6
Expose get_debug_mesh in Shape to scripting API
...
Can be useful for custom drawing of physics shapes without having to add
a collision object node to the tree.
2021-04-29 18:20:29 -07:00