Rémi Verschelde
ecbaa6e8a0
Fix potential divisions by 0 reported by MSVC
...
The `TextEdit` one was indeed a potential bug.
The `PCKPacker` one seems to be a false positive, it's already in a
`for` loop that depends on `files.size()`.
(cherry picked from commit ca4e4506db
)
2020-05-25 17:55:07 +02:00
Jóhannes Gunnar Þorsteinsson
6322c783a3
Add apply method to SpinBox
2020-02-28 12:49:01 -05:00
Rémi Verschelde
227a81c119
Range: Properly bind value emitted by 'changed' signal
...
This was fixed in the `master` branch by removing the value in #29831 ,
but for `3.1` we preserve compatibility, even if redundant with
'value_changed'.
Fixes #35395 .
2020-01-21 09:25:08 +01:00
qarmin
6de4c53d26
Fix crash when frames are empty
...
(cherry picked from commit 37c2595526
)
2019-12-09 09:03:47 +01:00
Bojidar Marinov
794bfe8aaa
Fix invalid write in AudioStreamSample::save_to_wav
...
Fixes #29955
(cherry picked from commit ea949ab873
)
2019-11-12 13:09:35 +01:00
Shiqing
c9422b9c23
Fix #29478 multiple modals possibly freeze
...
(cherry picked from commit c16e764bb2
)
2019-11-12 13:09:35 +01:00
Bojidar Marinov
e17a57d88a
Fix some issue with TileMap's and other nodes' boundaries
...
Fixes #30348
Addresses a small part of #30012
(cherry picked from commit ebf2a4d553
)
2019-11-12 13:09:35 +01:00
Gwyneth Lowe
7a9eb587fd
Correct typo that broke custom selected font color
...
Change several font_selected_color to font_color_selected; the actual name of the override
(cherry picked from commit 7142064110
)
2019-11-12 13:09:35 +01:00
Paulb23
8148732bd1
Fix TextEdit cursor.column having a negative value
...
(cherry picked from commit 1d55207fd2
)
2019-11-12 13:09:35 +01:00
qarmin
1d2aaa447e
Fix RichLabelText::_process_line crash
...
(cherry picked from commit 685451967c
)
2019-11-12 13:09:35 +01:00
SamSindt
df2a809aae
Reversed operator in SortLifetime fixing #29440
...
(cherry picked from commit 6a23eff748
)
2019-11-12 13:09:35 +01:00
qarmin
03a1570a74
Fix 2D Line crash
...
(cherry picked from commit 2621131549
)
2019-11-12 13:09:35 +01:00
qarmin
1f5f2d3ce8
Fix ARVRAnchor and ARVRController error spam
...
(cherry picked from commit 3de3f87657
)
2019-11-12 13:09:35 +01:00
qarmin
8423d98e1c
Fix crash with get_keywords_color
...
(cherry picked from commit 8d993f6357
)
2019-11-12 13:09:35 +01:00
bruvzg
dce7311aa5
Fix third and fourth level (AltGr / ⌥ modifier) keys input in LineEdit.
...
(cherry picked from commit 63d8dc0920
)
2019-11-12 13:09:35 +01:00
Bojidar Marinov
22abeff592
Escape node names when saving to .tscn
...
Fixes #29401
(cherry picked from commit cc004485bc
)
2019-11-12 13:09:35 +01:00
Rémi Verschelde
4d6517fad3
Bind missing FLAG_DISABLE_Z enum value in ParticlesMaterial
...
Fixes #29419 .
(cherry picked from commit a3462c97ad
)
2019-11-12 11:51:52 +01:00
Tomasz Chabora
e66122e0bf
Fixed get_item_at_position being weird
...
(cherry picked from commit 59f403de0b
)
2019-11-12 11:47:55 +01:00
Rémi Verschelde
f11588e5a5
Fix wrong property binding for NavigationPolygon::vertices
...
(cherry picked from commit 586539d867
)
2019-11-12 11:45:29 +01:00
Rémi Verschelde
9591e2950a
Node::duplicate: Don't set name if original node is nameless
...
In practice this only happens when duplicating a node which is not in
the scene tree yet, as nameless nodes get assigned a generated name
when added to the scene tree.
Fixes #27319 .
(cherry picked from commit 0823ae7ae4
)
2019-11-12 11:45:10 +01:00
Tomasz Chabora
7431d3c3c0
Don't modulate canvas on invisible color change
...
(cherry picked from commit 5e9400b2e3
)
2019-11-12 11:42:25 +01:00
Pedro J. Estébanez
aacefcb7dc
Fix 2D bones ignored by onion skinning
...
Fixes #27819 .
(cherry picked from commit 88153fbb61
)
2019-11-12 11:41:51 +01:00
Guilherme Felipe
14587802f9
[StateMachine] Fix error message for travel method
...
(cherry picked from commit 4de6c94eb0
)
2019-11-12 11:38:14 +01:00
Paulb23
909a1cced8
Fix text_edit drawing incorrect chars when syntax highlighting enabled
...
(cherry picked from commit a8a0392c12
)
2019-11-12 11:26:14 +01:00
Bojidar Marinov
d79be7ec33
Allow or_greater for most properties of NavMesh
...
Closes #28624
(cherry picked from commit 68bee3d9a2
)
2019-11-12 11:23:47 +01:00
JFonS
49613428f1
Fixes to ClippedCamera
...
This work has been kindly sponsored by IMVU.
(cherry picked from commit 9e97bac0cf
)
2019-11-12 11:22:14 +01:00
James Buck
7577dd804a
Cancel tooltip when hiding the node it belongs to
...
(cherry picked from commit bc7863775c
)
2019-11-12 11:12:33 +01:00
Jared
66c1b8adc4
Light2D height range expanded to -2048 to 2048.
...
(cherry picked from commit 307bc16523
)
2019-11-12 11:07:41 +01:00
Aaron Winter
794341e0b5
added negative X and negative Y offset to TileMap
...
clang-format
added negative X and negative Y offset to TileMap
(cherry picked from commit 63e0fd7675
)
2019-11-12 11:07:19 +01:00
PouleyKetchoupp
9360b23544
Fixed crash when pressing down key on empty Tree
...
Fixes #33554
(cherry picked from commit 47a4ca0022
)
2019-11-12 08:41:00 +01:00
PouleyKetchoupp
8901ff5e58
Update transforms after timers update to make sure changes are made before render
...
Fixes #29952
(cherry picked from commit c6b82f108a
)
2019-11-11 13:29:22 +01:00
Cameron Reikes
15be90bbf3
Same method when redrawing as when theme changed
...
(cherry picked from commit c123a8c4f5
)
2019-11-08 15:48:19 +01:00
PouleyKetchoupp
bbec80ca8a
Fixed AnimationTreeStateMachine transition priority (last transition was always chosen instead of least cost)
...
Fixes #31132
(cherry picked from commit aaad50e4d9
)
2019-11-08 15:48:19 +01:00
PouleyKetchoupp
cdd63b8d12
Fixed error in ParallaxLayer when set_mirroring is called before entering the tree
...
Fixes #31300
(cherry picked from commit 927a7916f6
)
2019-11-08 15:48:19 +01:00
ternvein
82f65f5b92
FIX: Tabs text translation
...
(cherry picked from commit 118940e7c5
)
2019-11-08 15:48:18 +01:00
Michael Alexsander Silva Dias
5d1697b78f
Fix 'TabContainer' not updating its tab titles when locale is changed
...
(cherry picked from commit a242bf464a
)
2019-11-08 15:48:18 +01:00
ternvein
605dbffe93
FIX: WindowDialog title translation
...
(cherry picked from commit efc8314516
)
2019-11-08 15:48:18 +01:00
Michael Alexsander Silva Dias
f915d69e05
Update WindowDialog title when translation changes
...
(cherry picked from commit 06a890f7a3
)
2019-11-08 15:48:18 +01:00
Rémi Verschelde
b70788b4ad
PopupMenu: Fix missing text/xl_text when using add_shortcut
...
Use macros to ensure that `text`, `xl_text` and `id` are always set
using the same logic.
Fixes #25519 .
Also fixes up #26914 when `p_id == -1` handling was only added for a
couple methods instead of all of them.
(cherry picked from commit 58dd5d0c78
)
2019-11-08 15:48:18 +01:00
fjordyo
5cdcf06ec1
Fix the edges of the mesh vertex
...
(cherry picked from commit 4c28053ead
)
2019-11-08 15:48:18 +01:00
Robin Hübner
80752cca50
fix otherwise unitialized variables, found in #31694
...
(cherry picked from commit 4817595c0e
)
2019-11-08 15:48:18 +01:00
clayjohn
61ef8e98ba
toggle CPUParticles2D visibility when redrawing
...
(cherry picked from commit cb4d145c22
)
2019-09-27 12:53:53 +02:00
clayjohn
3689ac6c6b
fix CPU particles bug with local_coords and transform
...
(cherry picked from commit 52696e98b4
)
2019-09-27 12:49:40 +02:00
Colin Redman
abf19bdab2
Fix ParallaxBackground breaking when moving it out the scene tree
...
(cherry picked from commit 359d7f178c
)
2019-09-26 14:49:37 +02:00
Michael Alexsander Silva Dias
cd1bb5d3db
Make 'TabContainer' update when icon/title is changed
...
Fixes #28655 .
(cherry picked from commit 37f4d51a75
)
2019-09-26 14:48:35 +02:00
Hugo Locurcio
759b488b22
Add a property hint for DynamicFont size
...
This caps its size to reasonable values in the Inspector.
This closes #22581 .
(cherry picked from commit 818f756d90
)
2019-09-26 14:46:43 +02:00
Maxime Leroy
123dc78f2b
Fixing Curve2D/3D baked interpolated values
...
If bake interval is a multiple of the curve length, the curve would return NaN for some offset values (when `frac == 0.0`, it matches the start and end of the curve segment so `fmod == 0.0`, `frac` becomes NaN)
```
# Godot 3.1.1
var c = Curve3D.new()
c.add_point(Vector3())
c.add_point(Vector3(0.5,0,0))
c.add_point(Vector3(1,0,0))
c.bake_interval = 0.5
c.interpolate_baked(0.5) == Vector3(NAN, NAN, NAN)
```
(cherry picked from commit 6bd271139d
)
2019-09-26 14:46:25 +02:00
AnthonyYoManz
41f6a800bd
Fix Crash On Close When 3D Is Disabled
...
(cherry picked from commit fc65cc64b9
)
2019-09-26 14:44:20 +02:00
xDGameStudios
6b07e4b535
Fixed optional idx argument in add_item (OptionMeny & PopupMenu)
...
(cherry picked from commit ffc5f360e8
)
2019-09-26 14:32:01 +02:00
Chaosus
9953b2ab43
Disallow loopback connection in visual scripts and visual shaders
...
(cherry picked from commit 21ca9f6c7c
)
2019-09-24 09:00:46 +02:00