Rémi Verschelde
5c0dccace9
Merge pull request #59413 from ellenhp/preinstance-audio-streams
2022-03-31 18:49:05 +02:00
Ellen Poe
027546ee8a
[3.x] instance audio streams before AudioServer::lock call
2022-03-31 08:48:36 -07:00
Haoyu Qiu
b89befe173
Fix crash when using Camera2D::set_custom_viewport()
2022-03-31 16:42:14 +08:00
FireForge
7f787857ef
Fix inspector group name capitalization
...
(cherry picked from commit 88b09694e7
)
2022-03-29 00:20:23 +02:00
Jason Knight
09e4672f0d
Bind NOTIFICATION_LOCAL_TRANFORM_CHANGED
2022-03-20 11:34:29 -06:00
Haoyu Qiu
b76147ec16
Fix top level CanvasItem visibility
...
The editor gizmo fix from previously reverted
642591b6a9
is kept here.
2022-03-08 01:29:24 +08:00
Haoyu Qiu
d0901d4d55
Revert backport of "Rework CanvasItem visibility propagation"
...
This reverts part of commit f49ffe4bb0
2022-03-08 01:17:52 +08:00
Haoyu Qiu
ba0a17a458
Revert "Fix CanvasItem visibility propagation"
...
This reverts commit 642591b6a9
.
2022-03-08 01:06:14 +08:00
Haoyu Qiu
7e07d4781a
Fix AnimatedSprite infinite loop
...
(cherry picked from commit 3a439a9c03
)
2022-03-02 11:00:26 +01:00
Ricardo Buring
322e3a9567
Joint2D and Joint: make set_exclude_nodes_from_collision respect signals
2022-02-28 22:51:40 +01:00
Ricardo Buring
f197e5eebb
Joint2D and Joint: update joint on NOTIFICATION_POST_ENTER_TREE
...
This allows reparenting, etc.
2022-02-28 22:48:48 +01:00
kobewi
642591b6a9
Fix CanvasItem visibility propagation
2022-02-21 11:11:03 +01:00
Haoyu Qiu
85be83ebbb
Fix typo in CanvasItem visibility propagation backport
2022-02-18 19:12:29 +08:00
Hugo Locurcio
ac0d37dcef
Add a property hint for the Line2D Round Precision property
...
This prevents choosing extremely high values which cause performance
issues for no visual benefit.
(cherry picked from commit 6b52aa67b8
)
2022-02-17 09:59:28 +01:00
Haoyu Qiu
f49ffe4bb0
Backport CanvasLayer visibility
2022-02-11 01:00:35 +08:00
Haoyu Qiu
74a4795fb1
Fix RayCast{,2D}.clear_exceptions clears parent
2022-02-08 16:22:10 +08:00
lawnjelly
a0c6d16c90
Add editor vital redraws only option
...
When editor continuous redraws is switched off, the editor only redraws when a redraw_request was issued by an element in the scene. This works well in most situations, but when scenes have dynamic content they will continuously issue redraw_requests.
This can be fine on high power desktops but can be an annoyance on lower power machines.
This PR splits redraw requests into high and low priority requests, defaulting to high priority. Requests due to e.g. shaders using TIME are assigned low priority.
An extra editor setting is used to record the user preference and an extra option is added to the editor spinner menu, to allow the user to select between 3 modes:
* Continuous
* Update all changes
* Update vital changes
2022-02-02 11:26:45 +00:00
Rémi Verschelde
9cdd110cc3
Merge pull request #56600 from Scony/fix-navigation-obstacle-errors-3.x
2022-01-28 23:18:57 +01:00
Fitch24
c6890c6d12
Fix "mass" and "weight" properties of the RigidBody (and RigidBody2D) in the Inspector view
2022-01-27 19:58:51 +07:00
Haoyu Qiu
fa96505418
Store ObjectID instead of raw pointer for Shape Owners
2022-01-25 17:16:02 +08:00
Pawel Lampe
67cf622935
Improve `Navigation2D` default settings, fixes #56852
...
This commit reduces `cell_size` and `edge_connection_margin` default
values so that `Navigation2D` behaves more like in Godot <= `3.4` by default.
2022-01-23 14:07:31 +01:00
Rémi Verschelde
40a348bce2
Merge pull request #57013 from Killfrra/3.x
...
[3.x] Backport method `get_rid` for NavigationAgent
2022-01-21 18:35:19 +01:00
Mak Kma
1c3d3af6ef
backported method get_rid for NavigationAgent
2022-01-21 00:15:16 +03:00
lawnjelly
adf14bfdde
Add nodiscard to core math classes to catch c++ errors.
...
A common source of errors is to call functions (such as round()) expecting them to work in place, but them actually being designed only to return the processed value. Not using the return value in this case in indicative of a bug, and can be flagged as a warning by using the [[nodiscard]] attribute.
2022-01-20 17:28:31 +00:00
Rémi Verschelde
e00a6d2b71
Merge pull request #56748 from albinaask/Fix-for-#56324
2022-01-13 17:05:16 +01:00
Rémi Verschelde
a627cdafc5
Update copyright statements to 2022
...
Happy new year to the wonderful Godot community!
2022-01-13 15:54:13 +01:00
Albin
21ca1c9cd7
Fixed a number of ",or_greater" for the bug #56324
...
fix to #56324
Note: CPU_Particles_2d is missing ring emitter
2022-01-13 11:51:24 +01:00
Anilforextra
3fad43acad
Path2D: Check points count before rendering.
...
(cherry picked from commit b770a4d0ac
)
2022-01-12 17:34:21 +01:00
Arnav Vijaywargiya
a51f3f2a58
Fixed incorrect property types
...
(cherry picked from commit 0c46f73b5e
)
2022-01-12 17:28:07 +01:00
Rémi Verschelde
1b0ba42ea1
Merge pull request #55268 from Calinou/gpu-particles-macos-performance-warning
2022-01-12 16:51:31 +01:00
Rémi Verschelde
7249e170f7
Merge pull request #56044 from timothyqiu/position-nodes
...
[3.x] Improve axis awareness and visibility for Position2D and Position3D
2022-01-11 08:54:52 +01:00
Pawel Lampe
6093d59b17
Fix NavigationObstacle errors
...
* Typo in error print leading to false-positive message
* `NavigationObstacle` premature radius estimation (before entering the tree)
* `NavigationObstacle2D` premature radius estimation (before entering the tree)
2022-01-07 20:04:19 +01:00
Rémi Verschelde
02d9ac1071
i18n: Sync template with current 3.x codebase
...
Weblate will now track the state of `3.x` to prepare for the 3.5 release.
2022-01-07 13:30:21 +01:00
fabriceci
10e63b8dd6
backport moving_platform_apply_velocity_on_leave
2022-01-07 12:54:49 +01:00
Haoyu Qiu
e97cae86b8
Add missing break in NavigationObstacle2D
2022-01-06 21:23:53 +08:00
Wilson E. Alvarez
4106f95f30
Expose autotile_coord parameter in TileMap.set_cellv
2022-01-05 21:24:35 -05:00
Hugo Locurcio
299d277c9c
Warn when using GPU-based particles on macOS due to low performance
...
On macOS, Particles rendering is much slower than CPUParticles
due to transform feedback being implemented on the CPU instead
of the GPU.
2022-01-06 00:10:32 +01:00
Jake Young
09bc9eb101
Backport NavigationServer with RVO2 to `3.x`
...
Change the entire navigation system.
Remove editor prefix from nav mesh generator class. It is now used for baking
at runtime as well.
Navigation supports obstacle avoidance now with the RVO2 library.
Nav system will also automatically link all nav meshes together to form one
overall complete nav map.
2022-01-05 16:00:56 +01:00
Haoyu Qiu
2bff705e13
Improve axis awareness and visibility for Position2D and Position3D
...
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2021-12-18 12:53:24 +08:00
Anilforextra
9351bc4b1c
Fixed awkwardly named AnimatedSprite Setters.
...
(cherry picked from commit 0c06ed98fb
)
2021-12-10 17:57:39 +01:00
Raffaele Picca
6dd593d579
Random initial color for all Particle Nodes
2021-12-10 16:35:25 +01:00
Rémi Verschelde
e82091db51
Merge pull request #55782 from RPicster/3.x-gpu-particle-vis-rect
2021-12-10 13:50:45 +01:00
Raffaele Picca
995408b492
GPU Particles (2D + 3D) visibility rect / gizmo optimization for reduced visual clutter
2021-12-10 11:22:44 +01:00
Rémi Verschelde
76ab82526a
Merge pull request #54650 from tinmanjuggernaut/fix_rid
2021-12-09 22:00:24 +01:00
Raffaele Picca
28a6d32971
Fixed texture animation speed when using random lifetime
2021-12-09 19:59:24 +01:00
Cory Petkovsek
3d20218dae
Clears RIDs wherever they are freed by VisualServer or PhysicsServer and possibly reused. Fixes #53374
2021-12-10 02:31:30 +08:00
lawnjelly
3d981b8265
Add option to use handles to RID
...
Adds an option to compile an alternative implementation for RIDs, which allows checks for erroneous usage patterns as well as providing leak tests.
2021-12-06 14:43:34 +00:00
Rémi Verschelde
3be0f85e91
Merge pull request #54377 from lawnjelly/faster_editor_lines
2021-11-30 13:30:02 +01:00
Eric
850ee9d4a2
Fix condition on 'jump to limits' logic
...
This is a fix for: #54856
(cherry picked from commit 7257bb6ad0
)
2021-11-29 16:14:04 +01:00
Rémi Verschelde
86fd7da7a3
Merge pull request #54899 from clayjohn/MultiMesh-update
2021-11-22 08:30:49 +01:00