Rémi Verschelde
3d6f991a17
Revert "Allow tab key to be used for shortcuts"
...
This reverts commit cafb888361
.
Fixes #34405 .
Reopens #8799 , #24064 .
2019-12-18 08:30:39 +01:00
Tomasz Chabora
3a3cab6494
Use global transform when calculating scroll
2019-12-17 00:51:07 +01:00
Juan Linietsky
21dec856f2
Use an internal skin unless one is supplied by user, fixes #32766
...
Even though this fixes the issue, the broken Skin resource in the inherited scene mesh will remain, it needs to be erased manually.
2019-12-16 13:00:30 -03:00
Rémi Verschelde
817165b96c
Merge pull request #34246 from tygree/nan-in-sprite-fix
...
Fixed a bug within sprite.cpp that caused a nan value to appear
2019-12-16 15:03:58 +01:00
Rémi Verschelde
f8ea390b52
Merge pull request #34269 from KoBeWi/scrolling_peeps
...
Scroll ScrollContainer to focused children
2019-12-16 14:03:21 +01:00
Tyler Greenwood
e4a0abdd93
Fixed a bug within sprite.cpp that caused nan values to appear when a texture had zero area
2019-12-16 13:53:35 +01:00
Rémi Verschelde
51ab6a96fd
Merge pull request #34311 from mikkac/34289
...
Fix- using cut in first line of a script file does not remove the line
2019-12-16 08:48:47 +01:00
Tomasz Chabora
32939ccd39
Prevent infinite loop when focus_next is invisible
2019-12-16 01:33:25 +01:00
Rémi Verschelde
389b7939bf
Merge pull request #34356 from Calinou/styleboxflat-lower-max-corner-detail
...
Lower the maximum StyleBoxFlat corner detail to 20
2019-12-15 11:41:00 +01:00
Rémi Verschelde
7045111f45
Merge pull request #34344 from YeldhamDev/slider_unused_cleanup
...
Remove unused theme elements in H/VSlider
2019-12-15 11:29:08 +01:00
Hugo Locurcio
324e02596f
Lower the maximum StyleBoxFlat corner detail to 20
...
This value should be sufficient even for very large corner radii.
This closes #34354 .
2019-12-14 23:35:01 +01:00
Mikolaj Kaczmarek
eced81e359
Fix- using cut in first line of a script file does not remove the line
2019-12-14 19:11:19 +01:00
Rémi Verschelde
abab4c0e25
Merge pull request #34300 from Acvarium/ragdoll-impuls
...
Added apply_impulse methods to PhysicalBone for ragdolls
2019-12-14 17:13:09 +01:00
Michael Alexsander
af67e97445
Remove unused theme elements in H/VSlider
2019-12-13 21:17:51 -03:00
Rémi Verschelde
f18cb89681
Merge pull request #34293 from jitspoe/collision-polygon-export-fix
...
Fix for collision polygon not working at all on exported builds.
2019-12-13 23:28:22 +01:00
Rémi Verschelde
9f68626fb2
doc: Sync classref with current source
...
Also apply clang-format.
2019-12-13 10:41:06 +01:00
Rémi Verschelde
2d69c20d2a
Merge pull request #34287 from Xrayez/tween-trans-ease-default
...
Provide default Tween values for transition and easing types
2019-12-13 09:42:57 +01:00
Rémi Verschelde
fdfe14c583
Merge pull request #34235 from timothyqiu/menu-scroll
...
Fixes long popup menu scroll behavior
2019-12-13 09:31:11 +01:00
Rémi Verschelde
1cd736951a
Merge pull request #34189 from aaronfranke/mesh-aabb
...
Expose Mesh get_aabb
2019-12-13 09:14:16 +01:00
Michael Alexsander
bd7cf87b8e
Make Button and co. take internal margins into account when clipping text
2019-12-12 18:46:04 -03:00
Rémi Verschelde
ee11b0eda7
Merge pull request #34298 from timothyqiu/lines-32736
...
Fixes crash after remove_line in RichTextLabel
2019-12-12 12:15:55 +01:00
Vitalii Shmorhun
d3b162a9d4
Added apply_central_impulse to PhysicalBone class
2019-12-12 13:12:02 +02:00
Yuri Roubinsky
57441ab2c6
Added missed enum constant VisualShaderNodeTexture::SOURCE_PORT
2019-12-12 12:05:54 +03:00
Haoyu Qiu
776ae18d64
Fixes crash after remove_line in RichTextLabel
...
`ItemFrame` always have a line.
2019-12-12 16:35:50 +08:00
Rémi Verschelde
37d164e24e
CharFXTransform: Drop unnecessary get_value_or()
...
See https://github.com/godotengine/godot/pull/23658#issuecomment-562706669
The method was implemented back when Dictionary.get(key, default) did not
exist, but now that it does we do not need a custom method in CharFXTransform.
It's a new feature in 3.2, so does not break compat with 3.1.x.
2019-12-12 07:47:08 +01:00
jitspoe
2c894f3426
Fix for collision polygon not working at all on exported builds.
...
(cherry picked from commit a169e1406de77c3abfe670217f18bcf2c1468bae)
2019-12-12 00:13:44 -05:00
Andrii Doroshenko (Xrayez)
81db0e9274
Provide default Tween values for transition and easing types
...
TRANS_LINEAR and EASE_IN_OUT are chosen as defaults for
interpolation and follow methods.
2019-12-12 02:15:15 +02:00
Tomasz Chabora
77a8657633
Scroll ScrollContainer to focused children
2019-12-11 14:29:36 +01:00
Aaron Franke
a139104646
Expose Mesh get_aabb
2019-12-11 08:25:36 -05:00
Rémi Verschelde
30cf60bb89
Merge pull request #34259 from timothyqiu/validate-texture-32982
...
Fixes crash after set_piece_texture with invalid texture
2019-12-11 08:41:29 +01:00
Rémi Verschelde
ea865d0e7e
Merge pull request #34241 from timothyqiu/sync-fallbacks-size-32701
...
Fixes crash when using DynamicFont::set_font_data
2019-12-11 08:34:21 +01:00
Rémi Verschelde
74381c380b
Merge pull request #34240 from timothyqiu/invalid-shader-io-29985
...
Fixes crash when shader inputs/outputs is invalid string
2019-12-11 08:33:54 +01:00
Haoyu Qiu
5586103a94
Validates texture in set_piece_texture
2019-12-11 11:24:42 +08:00
Haoyu Qiu
5deb6497a1
Fixes crash when using DynamicFont::set_font_data
2019-12-10 21:26:42 +08:00
Haoyu Qiu
024c25426b
Fixes crash when shader inputs/outputs is invalid string
2019-12-10 17:04:18 +08:00
Haoyu Qiu
c29b8cf751
Fixes crash when using Theme::clear
2019-12-10 16:31:40 +08:00
Rémi Verschelde
2845e6a21a
Merge pull request #34040 from qarmin/unused_variable_more_precise_numbers
...
Removed unused variables, add some constants numbers
2019-12-10 08:25:31 +01:00
Rafał Mikrut
ed1c4bc77d
Removed unused variables, add some constants numbers
2019-12-10 05:13:02 +01:00
Haoyu Qiu
5bf8e1e426
Fixes long popup menu scroll behavior
...
Popup menus longer than the viewport have stange behaviors before this
fix:
* They always have one pixel outside the viewport.
* You can scroll down the long menu even if bottom outside screen and
top inside the screen. (Only menus one pixel above the screen is limited
to scroll down.)
2019-12-10 09:49:02 +08:00
Tomasz Chabora
6e1dc7b2fe
Update minimum size of SpinBox on theme change
2019-12-10 02:11:22 +01:00
Rémi Verschelde
d7b2940eb6
Merge pull request #34203 from bruvzg/ime_placeholder
...
Hide LineEdit placeholder if IME composition string is not empty.
2019-12-09 09:09:42 +01:00
allkhor
2c559feb92
Fixed strange behaviour of scroll in the ItemList.
2019-12-09 01:54:10 +06:00
bruvzg
4937b21ce5
Hide LineEdit placeholder if IME composition string is not empty.
2019-12-08 18:24:30 +02:00
Michael Alexsander
d057007541
Add spaces after commas and strip extra ones in *FileDialog filter menu
2019-12-06 22:40:59 -03:00
Michael Alexsander
80dcd4423a
Remove extra spaces from parenthesis in *FileDialog's filter menu
2019-12-06 07:31:42 -03:00
Tomasz Chabora
3b80eb06b7
Don't store index of root nodes
2019-12-05 01:18:48 +01:00
Rémi Verschelde
10bae7c05b
Merge pull request #33857 from nekomatata/polygon-2d-antialiasing
...
Fixed antialiased option for Polygon2D
2019-12-03 07:51:16 +01:00
Marcel Admiraal
750f343e4a
Ensure move_and_slide() is consistent between the 2D and 3D versions.
...
In the 3D version:
- Partially revert #20908 that was reverted in the 2D version as part
of #21653 . This ensures that the Vector returned is always perpendicular
to the surface collided with; and not the floor_normal Vector passed to
the function when on a floor.
- Include an update of the floor velocity before multiplying by the time
delta, which was added to the 2D version as part of commit 13a8014
.
In the 2D version:
- Use the Vector2.slide() function instead of Vector2.tangent() to adjust
the amount of motion the stop_on_slope undoes to ensure that it is in the
right direction. This is a implementation of the 3D approach from #30588 .
- Combine the !found_collision and motion == Vector2() checks for break.
- Other minor formating changes to make the functions look identical.
Also renamed some variables to align with their use.
2019-12-02 08:35:50 +01:00
PouleyKetchoupp
fdd99d4a7c
Properly remove joint when a physical bone is removed from the scene
...
It was triggering a warning in bullet followed with a crash in some cases.
WARNING: assert_no_constraints: A body with a joints is destroyed. Please check the implementation in order to destroy the joint before the body.
At: modules/bullet/rigid_body_bullet.cpp:465
2019-12-01 18:30:59 +01:00
Paulb23
b68703a35c
Fixed caret alignment with placeholder text
2019-12-01 14:27:39 +00:00