lawnjelly
690e07b509
Dynamic BVH for rendering and godot physics
...
Complete rewrite of spatial partitioning using a bounding volume hierarchy rather than octree.
Switchable in project settings between using octree or BVH for rendering and physics.
2021-01-12 12:12:10 +00:00
Rémi Verschelde
0a8cc0a565
Merge pull request #44006 from RandomShaper/gds_needless_check_3.2
...
Remove useless check in GDScript (3.2)
2021-01-11 13:53:42 +01:00
Rémi Verschelde
5bbbcd09cc
Merge pull request #45096 from Chaosus/vs_assign_default_value_3.2
...
[3.2] Auto-assign default value for variable in visual script on type changing
2021-01-11 10:39:39 +01:00
Yuri Roubinsky
602fc00e56
[3.2] Auto-assign default value for variable in visual script on type changing
2021-01-11 10:29:12 +03:00
Fabio Alessandrelli
a64ffa3a33
Merge pull request #45073 from Faless/js/3.x_build_fixes
...
[3.2] [HTML5] Reorganize build script.
2021-01-10 14:30:24 +01:00
Fabio Alessandrelli
6988b21d00
[HTML5] Reorganize build script.
...
Simplify helper functions, fix env/sys_env confusion and depends for
externs and pre-js.
2021-01-10 12:34:03 +01:00
Rémi Verschelde
ecf432abc7
Merge pull request #45019 from Xrayez/rng-state-3.2
...
Add ability to restore `RandomNumberGenerator` state
2021-01-08 15:23:52 +01:00
Andrii Doroshenko (Xrayez)
47899e67c5
Add ability to restore `RandomNumberGenerator` state
...
3.2 version of b5107715f1
.
`get_seed()` still returns the previous state and not the initial seed,
because users may rely on this behavior for resetting the state in 3.2.
Documented this is going to be fixed in 4.0.
Co-authored-by: MidZik <matt.idzik1@gmail.com>
2021-01-08 15:02:02 +02:00
Rémi Verschelde
e408a4a76d
Merge pull request #45010 from akien-mga/3.2-ensure_user_data_dir
...
[3.2] Main: Create user data dir in `setup()`
2021-01-08 11:11:09 +01:00
Leleat
5bda8fae38
creater user-dir, if non-existant and pressing 'Open Project Data Folder'
...
(cherry picked from commit 8cf9d09d61
)
2021-01-08 10:26:30 +01:00
Rémi Verschelde
d6fecf7686
Main: Create user data dir in `setup()`
...
Custom backport of #39563 with preliminary change to make
`OS::ensure_user_data_dir()` public as done in f8a79a9
.
Fixes #32488 .
2021-01-08 10:24:48 +01:00
Rémi Verschelde
292bbb870f
Merge pull request #42575 from madmiraal/fix-one-way-collisions-3.2
...
[3.2] Fix multiple issues with one-way collisions
2021-01-07 17:53:54 +01:00
Rémi Verschelde
3d31433229
doc: Remove links to RNG tutorial, not yet in 3.2 branch
2021-01-07 14:33:36 +01:00
Rémi Verschelde
7bfb8446d3
Merge pull request #44970 from Calinou/doc-particles-visibility
...
Document the requirement to update GPU particle visibility
2021-01-07 14:26:18 +01:00
Rémi Verschelde
2a928ea880
Merge pull request #44981 from RandomShaper/fix_res_lifetime_3.2
...
Fix cases of resources destroyed too early (3.2)
2021-01-07 14:20:09 +01:00
Marcel Admiraal
1061bb364e
Fix multiple issues with one-way collisions
...
For RigidBodies, uses the collision normal determined by relative motion
to determine whether or not a one-way collision has occurred.
For KinematicBodies, performs additional checks to ensure a one-way
collision has occurred, and averages the recovery step over all collision
shapes.
Co-authored-by: Sergej Gureev <sergej.gureev@relex.fi>
2021-01-07 09:23:17 +00:00
Pedro J. Estébanez
2997a3aa23
Fix cases of resources destroyed too early
2021-01-06 20:25:05 +01:00
Hugo Locurcio
cec16357ef
Document the requirement to update GPU particle visibility
...
This also updates some option names in the editor for consistency
and accuracy.
See #44955 .
2021-01-06 19:17:57 +01:00
Rémi Verschelde
a18df71789
Merge pull request #44897 from RevoluPowered/add-blender-fbx-support
...
Preliminary Blender FBX support [3.2]
2021-01-06 09:43:26 +01:00
Rémi Verschelde
d242f7ad77
Merge pull request #44947 from akien-mga/3.2-cherrypicks
...
Cherry-picks for the 3.2 branch (future 3.2.4) - 15th batch
2021-01-06 09:33:36 +01:00
Gordon MacPherson
31bc1af82a
Preliminary Blender FBX support
...
limitations:
- always has to use generated normal's.
- some animations won't be compatible (yet)
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2021-01-05 21:56:21 +00:00
Rémi Verschelde
d7102ac78f
doc: Sync classref with current source
2021-01-05 21:33:34 +01:00
Hugo Locurcio
7fb212fdb6
Mention that the `delta` argument is in seconds in Node documentation
...
(cherry picked from commit fcb6ecaf21
)
2021-01-05 21:33:34 +01:00
Rémi Verschelde
9d916b8540
glTF: Fix loading external images as buffer
...
We should first attempt loading as external files, thus creating a dependency.
Loading as a buffer should only be used as fallback to support manually loading
as PNG or JPEG depending on the defined mimeType.
Fixes #44309 , was a regression from #42504 .
(cherry picked from commit e268a8e523
)
2021-01-05 21:33:34 +01:00
LoipesMas
0fc433d046
More explicit wording for str() and print() functions
...
(cherry picked from commit 9c65927aeb
)
2021-01-05 21:33:34 +01:00
Mai Lavelle
43910510e0
Fix xform_inv of Plane, intermediate results were ignored
...
(cherry picked from commit 4cb070e590
)
2021-01-05 21:33:33 +01:00
Rémi Verschelde
08ecc9e5c4
Tooltips: Fix unassigned strip_edges() call on text
...
Fixes #43940 , was a regression from #43280 .
(cherry picked from commit a4af94068a
)
2021-01-05 21:33:33 +01:00
kobewi
c588ba0b6a
Properly edit the instanced node in the inspector
...
(cherry picked from commit f5d51288b8
)
2021-01-05 21:33:33 +01:00
kobewi
3785b091e4
Commit CanvasItem state only if it changed
...
(cherry picked from commit 036f6a3fa8
)
2021-01-05 21:33:33 +01:00
Rémi Verschelde
5c80c94449
Revert "solved ctrl + alt + special character Issue #6851"
...
(cherry picked from commit 8b7f582f22
)
2021-01-05 21:33:33 +01:00
kobewi
f78937a394
Don't emit changed signal on Color Picker close
...
(cherry picked from commit a22b2f86e7
)
2021-01-05 21:33:33 +01:00
Maganty Rushyendra
90d1d580af
Explain A Star pathfinding algorithm cost calcuation
...
(cherry picked from commit f6634648ce
)
2021-01-05 21:33:33 +01:00
Rémi Verschelde
66bfe855a8
Revert "Add a project setting to enable stdout flushing in release builds"
...
This reverts commit 341b9cf15a
.
This makes the logger crash when used during cleanup: #44850 .
2021-01-05 21:33:33 +01:00
Rémi Verschelde
58a1ed63bd
Revert "Fixed EditorPropertyText change signal emission."
...
This reverts commit 9a3cd08122
.
This caused a regression: #44854 .
2021-01-05 21:33:32 +01:00
Maganty Rushyendra
d2241a2b5f
Specify order of drawing of Nodes in raise() description
...
(cherry picked from commit a67ef5999d
)
2021-01-05 21:33:32 +01:00
Joshua Dahl
0239337475
Remove Unnecessary Double List
...
_OS::print_resources_by_type had two of the exact same list, one of which was never used.
(cherry picked from commit 453ef0ba89
)
2021-01-05 21:33:32 +01:00
Danil Alexeev
3002f57e1b
Fix odd newline in `EditorLog::add_message()`
...
(cherry picked from commit a8dce9c377
)
2021-01-05 21:33:32 +01:00
Hugo Locurcio
e35f17d33d
Use `static const int` instead of `#define` for OpenSimplexNoise octaves
...
This closes #44860 .
(cherry picked from commit 7a65375b7a
)
2021-01-05 21:33:32 +01:00
Maganty Rushyendra
bc564cd661
Issue more precise error when disconnecting a nonexistent connection
...
Checks whether the signal exists when issuing an error message when
disconnecting a nonexistent connection. Also prints the callable name.
(cherry picked from commit 6c026a6814
)
2021-01-05 21:33:28 +01:00
Rafał Mikrut
927010e90f
Do not iterate over map when removing its values
...
(cherry picked from commit 29b2882381
)
2021-01-05 20:49:00 +01:00
Hugo Locurcio
58efe5f313
Document the desktop-only file logging setting override
...
This closes https://github.com/godotengine/godot-docs/issues/4505 .
(cherry picked from commit bd0b7003e0
)
2021-01-05 20:49:00 +01:00
volzhs
bd3c2e96c3
Enhance editor file dialog
...
1. show valid directory path when opening editor file dialog
2. keep file name when changing path by entering path
3. add first extension in filter automatically if not given
4. remove directory in recent list if it's not valid anymore
(cherry picked from commit 1f4b1e1488
)
2021-01-05 20:49:00 +01:00
Eoin O'Neill
650f7c6f35
StateMachinePlayback: Added missing bindings to `get_current_play_pos` and `get_current_length`.
...
This allows the user to query the AnimationNodeStateMachinePlayback's current
play position and total length of current animation state. These methods are currently
used in the editor plugin, but can also be useful for querying general playback state
information.
Added documentation for AnimationNodeStateMachinePlayback's `get_current_play_position`
(cherry picked from commit 674fb52f52
)
2021-01-05 20:48:57 +01:00
Rémi Verschelde
3032b38b52
Merge pull request #44690 from lawnjelly/transform_snap2
...
[3.2] Improve 2d snapping
2021-01-05 17:19:44 +01:00
Rémi Verschelde
6a708d6847
Merge pull request #43893 from Chaosus/vs_warnings_3.2
...
[3.2] Added extra warning to texture nodes in visual shader
2021-01-05 12:38:50 +01:00
Rémi Verschelde
3d88ea8468
Merge pull request #42397 from dsnopek/webxr
...
Add WebXR support (for Godot 3.2)
2021-01-05 00:13:10 +01:00
David Snopek
22cfa90ef5
Add support for WebXR
2021-01-04 17:01:42 -06:00
Rémi Verschelde
cc5c56c4df
Merge pull request #44646 from m4gr3d/update_apk_signing_logic_3_2
...
[3.2] Update the logic to sign prebuilt Godot Android apks
2021-01-01 23:09:27 +01:00
Fredia Huya-Kouadio
170752c5a5
Update the logic to sign prebuilt Godot Android apks.
...
The previously used tool, `jarsigner` has been deprecated in favor of `apksigner` which is bundled with the Android SDK.
The logic is refactored accordingly and a few editor settings have been deprecated in the process as they're no longer necessary.
Note: As a side effect, specifying the Android SDK path is now required. The docs will be updated to reflect that change.
2021-01-01 13:27:27 -08:00
Marcel Admiraal
6b3bab6e54
Add signal to inform joint that body has exited tree
2020-12-31 14:51:07 +00:00