Rémi Verschelde
217714760b
Merge pull request #34306 from Catchawink/master
...
Fixed an issue with recording audio.
2019-12-12 21:57:10 +01:00
Rafał Mikrut
162a64efcd
Don't allow to use too big or too small shift operators
2019-12-12 20:00:26 +01:00
Muller-Castro
f9db01ec50
Fixed HTTPClient.xml:115 and 121 variant declaration
2019-12-12 15:40:17 -03:00
Catchawink
86096313be
Fixed an issue with recording audio.
...
Prior to this fix, AudioEffectRecordInstance::init() was called before recording_active is set to true in AudioEffectRecord::set_recording_active(). This was setting is_recording to false in AudioEffectRecordInstance, because is_recording updates to the value of recording_active in AudioEffectRecordInstance::_io_thread_process(). To fix this issue, AudioEffectRecordInstance::init() is now called after recording_active is set to true.
2019-12-12 10:28:46 -05:00
Hugo Locurcio
75e82417a6
Don't search in unassigned shortcut labels in the editor shortcuts
...
This also fades out shortcut labels for unassigned shortcuts,
which makes for easier visual grepping.
This closes #33299 .
2019-12-12 14:53:46 +01:00
Rémi Verschelde
f065b34e96
Merge pull request #34286 from bojidar-bg/31818-cast-autocomplete
...
Fix GDScript autocompletion with "as" or typed variables
2019-12-12 14:53:38 +01:00
Rémi Verschelde
234fab949a
Merge pull request #34277 from aaronfranke/mono-format
...
Code formatting for the Mono module
2019-12-12 13:54:10 +01: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
7c580261c7
Merge pull request #34299 from Chaosus/vs_fix_port
...
Added missed enum constant VisualShaderNodeTexture::SOURCE_PORT
2019-12-12 12:25:40 +03: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
Aaron Franke
d09193b08a
Fix string Find methods having reversed case sensitivity
2019-12-12 02:21:16 -05: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
Rémi Verschelde
371de5132c
Merge pull request #34251 from bojidar-bg/32993-lightoccluder-flip
...
Flip cull mode when rendering flipped Light2D and LightOccluder2D
2019-12-12 07:33:19 +01:00
Rémi Verschelde
f676d7509e
Merge pull request #34262 from clayjohn/default_point_size
...
Add a default POINT_SIZE
2019-12-12 06:45:31 +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
Bojidar Marinov
a665b3878b
Fix GDScript autocompletion with as
or typed variables
...
Fixes #31818 , fixes #33434
2019-12-12 01:16:23 +02:00
Aaron Franke
5771f9959c
Mono formatting
...
No space for casting, add spaces inside braces, 4 space indentation, remove trailing indentation, remove BOM.
2019-12-11 16:32:47 -05:00
Bojidar Marinov
eec7702711
Flip cull mode when rendering flipped Light2D and LightOccluder2D
...
Fixes #32993
2019-12-11 23:28:35 +02:00
Rémi Verschelde
9abc0ad8a5
Merge pull request #27792 from Giacom/fix_quat
...
Fixes being unable to use the Quat(Vector3) constructor
2019-12-11 22:04:09 +01:00
Rémi Verschelde
334ed8f0c2
Merge pull request #34282 from YeldhamDev/load_doc_absolute
...
Add note in 'load()' docs that the path must be absolute
2019-12-11 21:59:35 +01:00
Michael Alexsander
6cc3bb2d9b
Add note in 'load()' docs that the path must be absolute
2019-12-11 17:14:58 -03:00
Rémi Verschelde
cca13462f1
Merge pull request #34274 from MissKraya/34186-fix
...
Fix for #34186 : "Center Selection" in 2D editor introduces graphic bias.
2019-12-11 19:41:36 +01:00
Hannah Crawford
4da0d7727f
Fix for #34186 : "Center Selection" in 2D editor introduces graphic bias.
2019-12-11 16:09:55 +00:00
Rémi Verschelde
98c3990f7d
Merge pull request #34271 from vnen/gdscript-unused-class-variable-disable
...
Disable GDScript warning for unused class variable by default
2019-12-11 16:27:42 +01:00
Rémi Verschelde
70a8c37957
Merge pull request #34227 from akien-mga/scons-mingw-split-libmodules
...
SCons: Add 'split_libmodules' option to workaround linker issue
2019-12-11 16:21:16 +01:00
Rémi Verschelde
c320a82213
SCons: Add 'split_libmodules' option to workaround linker issue
...
The new 'split_libmodules=yes' option is useful to work around linker
command line size limitations when linking a huge number of objects.
We're currently over 64k chars when linking libmodules.a on Windows
with MinGW, which triggers issues as seen in #30892 .
Even on Linux, we can also reach linker command line size limitations
by adding more custom modules.
We force this option to True for MinGW on Windows, which fixes #30892 .
Additional changes to lib splitting:
- Fix linking of the split module libs with interdependent symbols,
hacking our way into LINKCOM and SHLINKCOM to set the `--start-group`
and `--end-group` flags.
- Fix Python 3 compatibility in `methods.split_lib()`.
- Drop seemingly obsolete condition for 'msys' on 'posix'.
- Drop the unnecessary 'split_drivers' as the drivers lib is no longer
too big since we moved all thirdparty builds to modules.
Co-authored-by: Hein-Pieter van Braam-Stewart <hp@tmm.cx>
2019-12-11 15:40:28 +01:00
Rémi Verschelde
df2e3e3f7f
Merge pull request #33018 from Xrayez/fix-inst2dict-getters
...
Fix `inst2dict` calling to getters to retrieve value
2019-12-11 15:06:38 +01:00
George Marques
cbf5641a74
Disable GDScript warning for unused class variable by default
2019-12-11 11:02:07 -03: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
cd9d513285
Merge pull request #34181 from van800/rider
...
Support Rider as external editor for Godot mono version
2019-12-11 09:20:31 +01:00
Rémi Verschelde
f965ccee7b
Merge pull request #34261 from timothyqiu/check-34255
...
Fixes infinite loop when switching editor
2019-12-11 08:42:41 +01: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
Ivan Shakhov
8fbc9d33fd
Support Rider as External Editor
2019-12-11 08:39:04 +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
Rémi Verschelde
95eab06471
Merge pull request #34239 from timothyqiu/theme-clear-32702
...
Fixes crash when using Theme::clear
2019-12-11 08:33:23 +01:00
clayjohn
676f647c74
Add a default POINT_SIZE
2019-12-10 23:08:20 -08:00
Rémi Verschelde
61e89dcd4a
Merge pull request #34250 from flyingpimonster/fix-musl
...
Fix build on musl-based systems
2019-12-11 07:41:29 +01:00
Haoyu Qiu
6f178a2061
Fixes infinite loop when switching editor
2019-12-11 13:27:21 +08:00
Haoyu Qiu
5586103a94
Validates texture in set_piece_texture
2019-12-11 11:24:42 +08:00
James Westman
589eb80a90
Fix build on musl-based systems
...
On some systems, including Alpine Linux, musl is used instead of
glibc. This commit patches the third-party V-HACD module to provide
a macro not provided by musl.
Fixes #31555 .
2019-12-10 15:54:32 -06:00
Rémi Verschelde
435cced7d8
Merge pull request #34238 from clayjohn/GLES2-use-renderbuffer-post-process
...
Use renderbuffer depth for post-process buffers when appropriate
2019-12-10 17:16:40 +01:00
Rémi Verschelde
ec30c8bc25
Merge pull request #34237 from clayjohn/GLES2-force-32bit-buffer-webgl
...
Force 32 bit depth buffer for WebGL
2019-12-10 17:15:56 +01:00
Haoyu Qiu
5deb6497a1
Fixes crash when using DynamicFont::set_font_data
2019-12-10 21:26:42 +08:00
Fabio Alessandrelli
ab1bfb9007
NetSocket set_broadcast_enabled returns Error enum
2019-12-10 12:11:52 +01:00
Rémi Verschelde
c868baf658
Merge pull request #34222 from Calinou/doc-collisionshapes
...
Improve the Shape/Shape2D classes documentation
2019-12-10 10:44:36 +01:00