Rémi Verschelde
eb89254690
Fix crash when confirming dialogs with Return key
...
Regression from #34040 , apparently making this a const reference
introduces issues (not sure why, but previous code worked fine).
Fixes #34691 .
Co-authored-by: dankan1890 <mewuidev2@gmail.com>
2020-01-17 12:47:23 +01:00
Eric Rybicki
41efc08532
Fix SkeletonIK not playing animation if more than one IK-Bone is active
2020-01-16 20:22:15 +01:00
Rémi Verschelde
1de633205f
Validate input in (CPU)Particles set_emission_shape()
...
Fixes #29777 .
Co-authored-by: Cameron Reikes <cameronreikes@gmail.com>
2020-01-16 11:08:51 +01:00
Rémi Verschelde
dd3779c12e
Merge pull request #35183 from YeldhamDev/scrollbar_regression
...
Fix scrollbar regression on large scales
2020-01-16 07:56:05 +01:00
Michael Alexsander
76e03f9b4d
Fix scrollbar regression on large scales
2020-01-16 00:59:46 -03:00
Haoyu Qiu
574918f344
Updates ScrollContainer min size when toggle scrollbars
2020-01-16 09:42:31 +08:00
Rémi Verschelde
7c624949b5
Merge pull request #35147 from madmiraal/fix-34992
...
Fixes get_floor_normal() returning the user defined floor_normal.
2020-01-15 14:17:15 +01:00
Marcel Admiraal
907adb37ce
Fixes get_floor_normal() returning the user defined floor_normal.
...
When there is no collision with a floor the get_floor_normal() function
should return the zero vector to be consistent with get_floor_velocity().
Renames floor_normal to up_direction in all bindings.
Updates the documentation of get_floor_normal() and get_floor_velocity()
to make it clear when the values are valid. Updates the documentation for
move_and_slide() and move_and_slide_with_snap() to use the new up_direction
parameter name.
2020-01-15 10:13:35 +01:00
Haoyu Qiu
26e3b4a58a
Updates LineEdit's min size when necessary
...
These properties will affect the minimum size of LineEdit:
* The right icon (`set_right_icon`)
* The clear button (`set_editable` and `set_clear_button_enabled`)
* The text, when "expand to text length" is enabled (`set_text`)
2020-01-15 10:15:32 +08:00
Rémi Verschelde
40f0649e5b
Fix typos with codespell
...
Using codespell 1.16.0.
See ab3bccdb78
for procedure.
2020-01-15 00:49:52 +01:00
Michael Alexsander
db8c4c2a22
Fix regression on scrollbar raising in ScrollContainer
2020-01-14 19:55:12 -03:00
Michael Alexsander
34bf81fa7c
Cleanup unnecessary code from before the scrollbar overlapping fixes
2020-01-14 18:19:12 -03:00
Rémi Verschelde
57986208f3
Merge pull request #35130 from qarmin/crash_item_bad_index
...
Don't allow to use too big index in ItemList
2020-01-14 21:03:25 +01:00
Rafał Mikrut
724f5f3178
Don't allow to use too big index in ItemList
2020-01-14 20:17:48 +01:00
Rémi Verschelde
63112b5090
Merge pull request #35106 from YeldhamDev/scrollbar_overlap_fixes
...
Fix more instances of overlapping scrollbars
2020-01-14 08:12:20 +01:00
Michael Alexsander
712cd8a97e
Fix more instances of overlapping scrollbars
2020-01-13 22:49:17 -03:00
Haoyu Qiu
66a54582ee
Updates min size on CenterContainer::set_use_top_left
2020-01-14 08:35:21 +08:00
Rémi Verschelde
04a1ae90df
Merge pull request #35080 from malbach/scrollbars_overlap
...
Fix #33309 Overlapping Scrollbars in ScrollContainer
2020-01-13 16:10:12 +01:00
malbach
bc8ce836e3
Fix overlapping scrollbars in ScrollContainer ( #33309 )
2020-01-13 14:37:55 +01:00
Rémi Verschelde
100f50b7df
Control/Light2D: Preventing setting 0 as scale as for Node2D
...
Triggers errors in `Transform2D::affine_invert()`.
Fixes #26510 .
Fixes https://github.com/godotengine/godot/issues/24997#issuecomment-457951639 .
2020-01-13 12:20:15 +01:00
Rémi Verschelde
478ab8b45b
Merge pull request #34960 from johannesgunnar/spin_box-apply-method
...
Spinbox apply input method
2020-01-12 14:16:14 +01:00
Paulb23
22c15083af
Fix empty LineEdit crash on ctrl+backspace
2020-01-11 17:57:36 +00:00
Jóhannes Gunnar Þorsteinsson
083637a901
Add apply method to SpinBox
2020-01-11 10:47:51 +00:00
Tomasz Chabora
60cd3df337
Add signal for LineEdit overflow event
2020-01-10 21:07:00 +01:00
Andrea Catania
9f1f4620e0
Added function to expose floor normal, useful to correctly calculate player velocity.
...
This work has been kindly sponsored by IMVU.
2020-01-10 14:58:19 +01:00
Rémi Verschelde
59a2fed1e6
Merge pull request #34938 from OverloadedOrama/fix-basebutton-button-press
...
Fixes BaseButton not triggering the pressed signal on "Button Press"…
2020-01-10 10:35:11 +01:00
Haoyu Qiu
fbd937bd30
Update minimum size on Label::set_autowrap
...
If `clip_text` is true, the minimum height is one line if `autowrap` is
true , or one pixel otherwise.
2020-01-10 17:08:27 +08:00
Gilles Roudière
b5251eb00f
Don't compile editor-only function when tools=no
2020-01-09 22:15:48 +01:00
Ben Hickling
fdd7cfa820
fixed camera project_position function that was still using the near parameter in a few calculations
2020-01-09 14:34:31 +00:00
OverloadedOrama
bf4a0242ff
Fixes BaseButton not triggering the "pressed" signal on "Button Press" Action Mode
...
This should fix #34935
2020-01-09 02:17:53 +02:00
Haoyu Qiu
4293f76cf1
Emits meta_hover_ended when mouse exit RichTextLabel
2020-01-08 21:01:08 +08:00
Yuri Roubinsky
ed22a4c454
Merge pull request #33817 from Chaosus/vs_fresnel
...
Make Fresnel node in visual shaders to use default NORMAL/VIEW
2020-01-08 12:15:46 +03:00
Rémi Verschelde
1de54bb388
Merge pull request #34874 from wingedadventurer/bugfix-label-visible-characters
...
Make Label node consider spaces for visible_characters property
2020-01-08 08:18:59 +01:00
Rémi Verschelde
033fb72c03
Merge pull request #34871 from lentsius-bark/textEdit-vertical-horizontal-scroll-expose
...
expose scroll_vertical and scroll_horizontal in TextEdit
2020-01-08 08:18:12 +01:00
Rémi Verschelde
90c487ebf3
Merge pull request #34900 from timothyqiu/rtl-cell-wrap
...
Fixes RichTextLabel click issue when cell text wraps
2020-01-08 07:08:02 +01:00
Michael Alexsander
8b5992f665
Make possible to edit the GraphEdit's selection rect colors
2020-01-07 23:20:48 -03:00
Haoyu Qiu
d17a4efc43
Fixes RichTextLabel click issue when cell text wraps
2020-01-08 09:08:03 +08:00
Rémi Verschelde
83fe471c3b
Merge pull request #34881 from williamd1k0/fix-animationtree-no3d
...
Fix AnimationTree not available when compiled with disable_3d
2020-01-07 23:03:53 +01:00
Tomasz Chabora
bbc36dbc67
Don't show conf warning if script is not tool
2020-01-07 21:28:16 +01:00
Kanabenki
d79f0e7d40
Check if cursor is inside meta when getting cursor shape
2020-01-07 15:46:11 +01:00
Krystof Klestil
c475f11018
expose scroll_vertical and scroll_horizontal in TextEdit + documentation
2020-01-07 15:16:07 +01:00
Haoyu Qiu
3df9d187a3
Fixes crash when using Mesh::create_outline and Mesh::create_convex_shape
...
Adds a size check to the array returned by `surface_get_arrays`.
During debugging, `create_outline` also crashes when the indices size is
one (not a multiple of three). For now, just reports the error and fail
the function.
2020-01-07 16:15:14 +08:00
William Tumeo
c1853eeb59
Fix AnimationTree not available when compiled with disable_3d
2020-01-07 00:04:30 -03:00
Haoyu Qiu
d43ad46e42
Fixes import of models as PackedScene
2020-01-07 07:21:17 +08:00
wingedadventurer
695980a0f2
make Label consider spaces for visible_characters
2020-01-06 23:29:00 +01:00
Rémi Verschelde
e2a6cae0c7
Merge pull request #34867 from volzhs/calculate-label-size-2
...
Calculate label size more accurately
2020-01-06 22:26:14 +01:00
volzhs
e5a0018621
Calculate label size more accurately
2020-01-07 04:21:02 +09:00
Rémi Verschelde
24281cd9c9
Merge pull request #34865 from volzhs/oversampling-emoji
...
Update size and position for colored font with oversampling
2020-01-06 18:32:24 +01:00
volzhs
e03ac8c618
Update size and position for colored font with oversampling
2020-01-07 02:15:23 +09:00
Rémi Verschelde
ce75a2f33d
Merge pull request #33987 from nekomatata/own-world-environment
...
Viewport environment is updated properly when set to own world
2020-01-06 15:26:52 +01:00