Commit Graph

7018 Commits

Author SHA1 Message Date
kleonc 4df1a2f7e3 Fix `CPUParticles2D.emission_shape` enum hint
(cherry picked from commit e55ba60da1)
2022-07-07 14:11:17 +02:00
Haoyu Qiu 4a83c2944c Fix LineEdit clear button for asymmetric stylebox
(cherry picked from commit 1e6747d185)
2022-07-07 14:09:50 +02:00
bruvzg d23e6b8f00 Fix incorrect encoding used in _error_handler functions
Co-authored-by: Haoyu Qiu <timothyqiu32@gmail.com>
(cherry picked from commit b5d5515a2b)
2022-07-07 14:07:31 +02:00
Rémi Verschelde afe8492241 Fix typos with codespell
Using codespell 2.2-dev from current git.

Fix a couple incorrect uses of gendered pronouns.
2022-06-19 14:06:55 +02:00
ScottVMariotte 0b60e924d9 Replaced loops_current with end_loop
(cherry picked from commit c526ee6683)
2022-05-05 15:47:01 +02:00
bruvzg 62b3855ce7 Fixed implementation of RTL remove_line()
Co-authored-by: Eric M <itsjusteza@gmail.com>
(cherry picked from commit ff381f6e84)
2022-05-05 15:16:27 +02:00
DESKTOP-893BK8A\howar db5bfa398a Fixed #59985 leading spaces autowrap boundary problem
Bug problem:
No condition for when the first character of the label is a space character

Fix:
Added an IF condition for when the first character is a space character
The autowrap boundary treat this space character as another dummy word in the WordCache linked list and proceed to function normally, by detecting when line width is 0

(cherry picked from commit c0513268bd)
2022-05-05 15:11:49 +02:00
Haoyu Qiu 355c73de32 Fix undo history for function name autocompletion
(cherry picked from commit 19a0145742)
2022-05-05 15:11:26 +02:00
kobewi f0b0a244b0 Fix GraphEdit's valid connections being reversed
(cherry picked from commit b29aff8dac)
2022-04-13 12:18:45 +02:00
Eric McGuirk 3d4af8117d Fix toggling GraphEdit's minimap with `minimap_enabled`
Fixes #53831.

(cherry picked from commit b1441bbcfc)
2022-04-13 12:18:45 +02:00
kobewi 52f6ec2ea7 Fix TouchScreenButton error spam
(cherry picked from commit db19cc60fb)
2022-04-13 12:18:45 +02:00
Pedro J. Estébanez 3680cfde86 Fix crash when passing null to AudioStreamPlayer::set_stream()
(cherry picked from commit 9e2d5120c1)
2022-04-13 12:18:45 +02:00
Haoyu Qiu 8b8bafbd53 Fix crash when using Camera2D::set_custom_viewport()
(cherry picked from commit b89befe173)
2022-04-13 12:18:45 +02:00
Ellen Poe 883c3dc413 [3.x] instance audio streams before AudioServer::lock call
(cherry picked from commit 027546ee8a)
2022-04-13 12:18:45 +02:00
Haoyu Qiu 4ae0adbf2c Fix inversed ADD_GROUP parameters in AnimationNodeOneShot
(cherry picked from commit 6a3bf65657)
2022-03-22 08:57:18 +01:00
Haoyu Qiu 7adead25ea Fix RichTextLabel shadow color when text has transparency
(cherry picked from commit 7d219b6793)
2022-03-13 16:09:29 +01:00
Silc 'Tokage' Renew 5e83677408 fix cubic interpolate when looping 3.x
Co-authored-by: robfram <robfram@gmail.com>
(cherry picked from commit 7b9a912ff6)
2022-03-07 08:30:45 +01:00
lawnjelly 855a079664 Portals - fix duplication of instanced scenes during conversion
During room conversion, if a prefixed Spatial is converted to a Room / RoomGroup etc, when using instanced scenes the owner was incorrectly set, resulting in the instanced scene objects being duplicated.

This PR corrects this.

(cherry picked from commit 4ec4b5a60d)
2022-03-02 12:07:54 +01:00
Ricardo Buring a57dc1881b Joint2D and Joint: make set_exclude_nodes_from_collision respect signals
(cherry picked from commit 322e3a9567)
2022-03-02 12:07:26 +01:00
Ricardo Buring fb6394f58c Joint2D and Joint: update joint on NOTIFICATION_POST_ENTER_TREE
This allows reparenting, etc.

(cherry picked from commit f197e5eebb)
2022-03-02 12:07:21 +01:00
jfons 5b5b52ce1e Add sanity checks to lightmap unwrap texel size
(cherry picked from commit d0fd5fd3c7)
2022-02-24 13:31:59 +01:00
Rémi Verschelde c82740e101 Revert "use exact match when checking focus next / previous"
This reverts commit 4ef3985dc3.

This wasn't meant to be included in the `3.4` branch, as it's a fix for
a change introduced in `3.x`.

Fixes #58460.
2022-02-23 15:00:56 +01:00
Hugo Locurcio 2c174cbc0a
Clamp environment light sky contribution to the [0.0; 1.0] range
The value is already clamped in the editor, but it wasn't being
clamped when the value was set via code. Values outside the [0.0; 1.0]
range can result in broken rendering.

(cherry picked from commit 08128351a5)
2022-02-17 10:41:37 +01:00
Nathan Franke 4ef3985dc3
use exact match when checking focus next / previous
(cherry picked from commit c27b05febb)
2022-02-17 10:25:46 +01:00
Haoyu Qiu 8093d25827
Fix RayCast{,2D}.clear_exceptions clears parent
(cherry picked from commit 74a4795fb1)
2022-02-17 10:24:46 +01:00
Rémi Verschelde e33a73d66e
EditorProperty: Fix range hint parsing with optional step
This could lead to have a step of 0 when parsing e.g. "1,10,is_greater".

(cherry picked from commit 80306cc88a)
2022-02-17 10:21:54 +01:00
kleonc b2e5e7cd89
TextureButton Fix logic for drawing only the focus texture
(cherry picked from commit 078b8c25ce)
2022-02-04 00:17:09 +01:00
SnailRhymer f4814ab711
Backport improved look_at docs and errors
Take extra constraint info and function description from Node3D.look_at to improve Spatial.look_at docs.
Add an explicit error for up == 0

(cherry picked from commit 83298da9b8)
2022-02-02 23:13:26 +01:00
lawnjelly 48a4741740
Portals - fix DYNAMIC particle systems
A regression had occurred whereby particle systems in DYNAMIC mode weren't added to the room correctly.
This PR recognise the case and bypasses the function to retrieve geometry, as retrieving the geometry is not necessary for DYNAMIC objects as they should not affect the room bound. Their AABB will be retrieved during gameplay rather than once off at level conversion.

(cherry picked from commit d86061d7ae)
2022-02-02 23:13:10 +01:00
Haoyu Qiu b54987760a
Store ObjectID instead of raw pointer for Shape Owners
(cherry picked from commit fa96505418)
2022-01-31 20:38:20 +01:00
kobewi f0cbd12ea8
Fix TextureButton focus texture logic
(cherry picked from commit 11111d997e)
2022-01-29 10:24:58 +01:00
rafallus 9540c18c06
Make sure `MeshLibrary` shape array has correct number of elements
(cherry picked from commit 5f8b292ad3)
2022-01-25 18:56:36 +01:00
Wysocki Patryk db1105d4b3
Expose AnimationNodeOneShot::mix_mode as a property
Fixes #23458.

(cherry picked from commit f16c483c9d)
2022-01-25 18:56:36 +01:00
Mack 2e8334fa00
Fixed accessing a null MeshInstance object in BakedLightmap instead of the GeometryInstance
(cherry picked from commit 36c7110c1b)
2022-01-25 18:50:35 +01:00
floppyhammer 37489bcd0e
Fix nine patch of circular TextureProgressBar
(cherry picked from commit f9b1ce0922)
2022-01-25 18:47:55 +01:00
Haoyu Qiu eb31abaf0c
Replicate load-as-placeholder state on node duplication
(cherry picked from commit 6aecf91e4f)
2022-01-25 18:43:12 +01:00
Haoyu Qiu fa709e7169
Fix LineEdit center and right alignment
(cherry picked from commit 64fcf7ee77)
2022-01-25 18:40:49 +01:00
Albin d3528314b2
Fixed a number of ",or_greater" for the bug #56324
fix to #56324

Note: CPU_Particles_2d is missing ring emitter
(cherry picked from commit 21ca1c9cd7)
2022-01-25 18:38:57 +01:00
Rémi Verschelde 71066cd63b
Update copyright statements to 2022
Happy new year to the wonderful Godot community!

(cherry picked from commit a627cdafc5)
2022-01-13 16:00:37 +01:00
kobewi 63799b2a8e
Set max value of inactive TextEdit scrolls to 0
(cherry picked from commit 892d93759c)
2022-01-12 17:36:53 +01:00
kobewi 90525d5781
Improve FileDialog filters
(cherry picked from commit b403954e41)
2022-01-12 17:34:06 +01:00
LeaoLuciano 92ce352cc2
Fix memory leak in RichTextLabel.remove_line
(cherry picked from commit f21b5e4d2f)
2022-01-12 17:32:23 +01:00
Hugo Locurcio 9a26e95d5c
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.

(cherry picked from commit 299d277c9c)
2022-01-12 16:51:41 +01:00
jmb462 33e5093e02
Fix PopupMenu bad item offset with custom vseparation
(cherry picked from commit 4de860c6d5)
2022-01-12 16:47:26 +01:00
Haoyu Qiu 575999a932
Fix BBCode underline prevents strikethrough from rendering
(cherry picked from commit 09397f10c5)
2022-01-12 16:40:52 +01:00
Haoyu Qiu 73ca0533d0
Fix RichTextLabel underline appearance when inside fill tag
(cherry picked from commit 23c64fc43c)
2022-01-12 16:40:42 +01:00
Paweł Fertyk e0f95f1f63
Issue 56488 fail when image and texture size are different
(cherry picked from commit 5e57b850b6)
2022-01-12 16:34:32 +01:00
Arnav Vijaywargiya 596bf6bdaa
Fixed incorrect property types
(cherry picked from commit 0c46f73b5e)
2022-01-12 16:34:07 +01:00
David Cambré dd9121040e
Update default port_grab_distance_vertical
(cherry picked from commit 38ad72af44)
2022-01-12 16:03:28 +01:00
Wilson E. Alvarez 2106c5175a
Expose autotile_coord parameter in TileMap.set_cellv
(cherry picked from commit 4106f95f30)
2022-01-12 16:03:02 +01:00