Commit Graph

6992 Commits

Author SHA1 Message Date
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
Rémi Verschelde
2e8fdd0112
Fix typos with codespell
Using codespell 2.1.0.

Method:
```
$ cat > ../godot-word-whitelist.txt << EOF
ang
curvelinear
dof
doubleclick
fave
findn
GIRD
leapyear
lod
merchantibility
nd
numer
ois
ony
que
readded
seeked
statics
synching
te
uint
unselect
webp
EOF

$ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po"
$ git diff // undo unwanted changes
```

(cherry picked from commit b197de6f5f)
2022-01-07 00:17:47 +01:00
PucklaMotzer09
1ef1a84c22
Unfocus Control on NOTIFICATION_EXIT_TREE
(cherry picked from commit be2d59fa0a)
2022-01-06 00:58:33 +01:00
kobewi
0c2e919567
Fix TabContainer not setting layout immediately
(cherry picked from commit a7a41a3431)
2022-01-06 00:58:30 +01:00
Kodi
febc1aa7d2
add missing emit_changed() to set update mode function
(cherry picked from commit 51db86d789)
2022-01-06 00:58:30 +01:00
Nick Swoboda
56e06648ab
Improve error messages related to failing to open files
(cherry picked from commit bf8f763524)
2022-01-06 00:58:22 +01:00
Zae
d55deabae7
[3.x]Fix BaseButton's localization for tooltip text with shortcut
(cherry picked from commit 23aaf78391)
2021-12-21 12:23:20 +01:00
Rémi Verschelde
69585b0516
SceneTree: Document font oversampling, remove warnings
(cherry picked from commit 35b79284cc)
2021-12-14 17:33:21 +01:00
Cory Petkovsek
686780e289
Clears RIDs wherever they are freed by VisualServer or PhysicsServer and possibly reused. Fixes #53374
(cherry picked from commit 3d20218dae)
2021-12-09 22:02:00 +01:00
Univeous
42e3187560
Fix UI navigation with joysticks
(cherry picked from commit cf788ae684)
2021-12-07 12:16:05 +01:00
Raffaele Picca
d5aa00c2cb
Fix for double use of seed in random Particle shader variables.
(cherry picked from commit 20568b9768)
2021-12-07 12:01:52 +01:00
Raffaele Picca
47f9a316ce
Fix Ring-Axis parameter being always visible
(cherry picked from commit 2f69caaff3)
2021-12-07 09:14:31 +01:00
Yuri Sizov
fce6e13034
Make default/project theme wait for modules before initializing
(cherry picked from commit 33fb44223f)
2021-12-02 17:32:36 +01:00
ator-dev
43d23c3926
Prevent hidden tab close buttons from intercepting input [3.x]
(cherry picked from commit a8977006fd)
2021-11-30 10:59:32 +01:00
kobewi
b646852765
Don't show tooltips for paused controls
(cherry picked from commit fe28e823c5)
2021-11-29 17:01:51 +01:00
bruvzg
552feba40b
Fix RTL min/max line width calculation.
(cherry picked from commit 33b26e5cdc)
2021-11-29 16:45:32 +01:00
kobewi
97404dc612
Fix right alignment in RichTextLabel
(cherry picked from commit 820f7c9d15)
2021-11-29 16:45:22 +01:00
Eric
2e1646e484
Fix condition on 'jump to limits' logic
This is a fix for: #54856

(cherry picked from commit 7257bb6ad0)
2021-11-29 16:44:53 +01:00
Yuri Sizov
93fe9ecb97
Add methods to get position from column and line in TextEdit
(cherry picked from commit ba747e2a26)
2021-11-29 16:44:34 +01:00
Red Headphone
d5bd37a1d1
progress_offset now added to reference cross draw function
(cherry picked from commit 8a6c6d5329)
2021-11-29 16:43:57 +01:00
kobewi
f667afc8b2
Show tooltips even when paused or time_scale is 0
(cherry picked from commit 5b55599211)
2021-11-25 23:13:14 +01:00
Haoyu Qiu
58dc743a2c
Allow toggle TextEdit bookmark gutter
(cherry picked from commit eb6f74855f)
2021-11-25 23:13:14 +01:00
clayjohn
5e95d317e6
Update CanvasItem when MultiMesh instance transform changes
(cherry picked from commit b54d4a93be)
2021-11-25 23:13:13 +01:00
Lenny Critchley
0ce0af221a
Add error condition for Control EXIT_TREE notif
(cherry picked from commit 3d1249a520)
2021-11-15 23:36:23 +01:00
robfram
2a3925136e
Only visible TileMaps should add light occluders
(cherry picked from commit cf9220b7d5)
2021-11-15 23:33:26 +01:00
lawnjelly
7de023e192
Portals - Allow user to set roaming expansion margin
Previously a crude metric was used to decide on the roaming expansion margin, but it created unexpected results in some scenarios. Instead this setting is exposed to the user via the RoomManager, allowing them to tailor it to the world size, room sizes, roaming objects sizes and the speeds of movement.

(cherry picked from commit 788f075b44)
2021-11-15 22:45:57 +01:00
Rémi Verschelde
63b5d5de64
Modules: Make sure to include modules_enabled.gen.h where needed
Fixes #51677.

Co-authored-by: Arkadiusz Marcin Kołek <aksoftware91@gmail.com>
(cherry picked from commit 6f4858f184)
2021-11-15 22:36:02 +01:00