Rémi Verschelde
c9cf6b102f
Merge pull request #35454 from Calinou/os-execute-default-blocking
...
Make `OS.execute()` blocking by default if not specified
2020-01-23 08:19:09 +01:00
Rémi Verschelde
05fc26de1c
Merge pull request #35444 from RandomShaper/fix_link_bsd
...
Fix error with linkers other than GNU ld
2020-01-23 07:57:02 +01:00
Hugo Locurcio
90a1f8d8a7
Make OS.execute()
blocking by default if not specified
...
This makes `OS.execute()` calls quicker to set up when calling programs
in a blocking fashion.
2020-01-23 01:26:32 +01:00
Rémi Verschelde
94d3bcbc9b
Merge pull request #35452 from nekomatata/tween-start-fail
...
Fixed Tween::start() with pending updates
2020-01-22 22:56:40 +01:00
Pedro J. Estébanez
35dd36ca35
Fix error with linkers other than GNU ld
2020-01-22 22:38:08 +01:00
PouleyKetchoupp
6c04c824bd
Fixed Tween::start() with pending updates
...
Start was canceled instead of deferred in case of an update in progress.
Fixes #35441
2020-01-22 22:27:37 +01:00
Rémi Verschelde
a8460bffd2
Merge pull request #35414 from Ovnuniarchos/AlsaMidiBadPitchBend
...
ALSA MIDI: Pitch bend and System Common messages
2020-01-22 22:12:57 +01:00
Rémi Verschelde
b255744e0f
Merge pull request #35449 from bojidar-bg/35439-scenetree-settings
...
Add settings from SceneTree in the documentation
2020-01-22 22:02:47 +01:00
Rémi Verschelde
37897dba80
Merge pull request #35406 from lawnjelly/ortho-shadow
...
Replace CameraMatrix::get_viewport_size with get_viewport_half_extents, shadow culling with ortho camera and other affected issues
2020-01-22 22:02:09 +01:00
Ovnuniarchos
9c48eb1c59
ALSA MIDI driver:
...
Pith bend message now has correct size (was 2 bytes instead of 3).
Recognized (but not implemented) 0xF? messages. SysEx messages will be reocognized as such, but their contents will be ignored.
2020-01-22 21:41:48 +01:00
Bojidar Marinov
b4770c0a27
Add settings from SceneTree in the documentation
...
Fixes #35439
2020-01-22 22:37:56 +02:00
Rémi Verschelde
91b0be18dc
Merge pull request #35421 from williamd1k0/improve-top-animation-menu
...
Use an icon in the top Animation Key menu
2020-01-22 21:21:15 +01:00
Rémi Verschelde
41feb410a6
Merge pull request #35338 from rburing/fix_find_focus_neighbor
...
Fix Control::_window_find_focus_neighbour
2020-01-22 21:16:35 +01:00
William Tumeo
cb3fcba99f
Use an icon in the top Animation Key menu
2020-01-22 17:06:40 -03:00
Rémi Verschelde
36e11d1c34
Merge pull request #35412 from DaividFrank/check_overriding_self
...
Disabled re-assigning 'self'
2020-01-22 20:47:52 +01:00
lawnjelly
eaf8e5ce52
Change CameraMatrix::get_viewport_size to get_viewport_half_extents
...
Fixes #26637 .
Fixes #19900 .
The viewport_size returned by get_viewport_size was previously incorrect, being half the correct value. The function is renamed to get_viewport_half_extents, and now returns a Vector2.
Code which called this function has also been modified accordingly.
This PR also fixes shadow culling when using ortho cameras, because the correct input for CameraMatrix::set_orthogonal should be the full HEIGHT from get_viewport_half_extents, and not half the width.
It also fixes state.ubo_data.viewport_size in rasterizer_scene_gles3.cpp to be the width and the height of the viewport in pixels as stated in the documentation, rather than the current value which is half the viewport extents in worldspace, presumed to be a bug.
2020-01-22 18:22:00 +00:00
Rémi Verschelde
2aa866fa70
Merge pull request #35440 from ericrybick/27104-input-buggy-linux
...
Remove buggy check if key was already released for accumulated input on linux
2020-01-22 19:19:02 +01:00
Rémi Verschelde
40e41e2254
Merge pull request #35435 from bojidar-bg/34154-project-setting-properties
...
Get real default values for project settings in documentation
2020-01-22 18:26:32 +01:00
DaividFrank
badabdf8b9
GDScript: Added checks in assign operations to disable re-assigning 'self'
2020-01-22 19:00:54 +02:00
Rémi Verschelde
7ffc3ec6be
Merge pull request #35437 from akien-mga/gles3-texture-mag-filter-wrong-value
...
GLES3: Fix invalid value for GL_TEXTURE_MAG_FILTER parameter
2020-01-22 17:52:24 +01:00
Eric Rybicki
67261b1e87
Remove buggy check if key was already released for accumulated input
...
Fixes #27104
2020-01-22 17:03:33 +01:00
Rémi Verschelde
00284a75e8
GLES3: Fix invalid value for GL_TEXTURE_MAG_FILTER parameter
...
`GL_LINEAR_MIPMAP_LINEAR` can be used for `GL_TEXTURE_MIN_FILTER`,
but not for `GL_TEXTURE_MAG_FILTER`.
Cf. https://www.khronos.org/opengl/wiki/GLAPI/glTexParameter
Fixes #35436 .
2020-01-22 15:18:56 +01:00
Bojidar Marinov
387ee7d763
Get real default values for project settings in documentation
...
Also, ignore custom project settings and values for input/ entries
Fixes #34154
2020-01-22 15:57:10 +02:00
Rémi Verschelde
409de53e72
Merge pull request #35423 from Faless/fix/object_emit_free
...
Make sure we know when deleting an emitting object
2020-01-22 14:52:54 +01:00
Fabio Alessandrelli
41f59ecfca
Make sure we know when deleting an emitting object
...
We used a lock signals in the signal_map while emitting, because it was
not allowed to disconnect them while being emitted.
We used that lock to check if we where deleting an object during signal
emission.
Now that we allow to disconnect signals while they are being emitted, if
an object first disconnects, then gets deleted we can't know that a
signal was being emitted during the destructor.
This commit adds a new `_emitting` boolean member to Object to be set
while emitting and checked in the destructor, while removing the old
signal lock which is now unused.
2020-01-22 14:08:16 +01:00
Rémi Verschelde
829d21f1c2
Merge pull request #35352 from Feniks-Gaming/BetterDictionary
...
Improve dictionary description
2020-01-22 13:20:41 +01:00
Rémi Verschelde
ff7e7bd260
Thread: Fix typo in destructor error message
2020-01-22 11:17:20 +01:00
Rémi Verschelde
7e76a67d1e
Merge pull request #35430 from BastiaanOlij/fix_vr_joystick_id
...
Incorrect joystick id was returned on an inactive ARVR controller
2020-01-22 08:48:28 +01:00
Bastiaan Olij
5cf9f4faeb
Incorrect joystick id was returned on an inactive ARVR controller
2020-01-22 18:27:32 +11:00
Rémi Verschelde
eefeff23e9
Merge pull request #35404 from Calinou/update-changelog-3.2
...
Update CHANGELOG.md for Godot 3.2
2020-01-22 08:26:10 +01:00
Rémi Verschelde
de543d18e8
Merge pull request #35389 from clayjohn/DOCS-materials
...
Finish up docs for materials
2020-01-22 07:41:33 +01:00
Rémi Verschelde
2ee15f650e
Merge pull request #35425 from timothyqiu/assetlib-import-leak
...
Fixes leak when importing zip in AssetLib
2020-01-22 07:40:50 +01:00
Rémi Verschelde
7c632968b2
Merge pull request #35419 from Calinou/project-manager-loading-placeholder
...
Use a loading placeholder for project icons in the project manager
2020-01-22 07:29:21 +01:00
clayjohn
f2ece82480
Finish up docs for materials
2020-01-21 19:28:32 -08:00
Haoyu Qiu
a7368a519e
Fixes leak when importing zip in AssetLib
2020-01-22 09:34:18 +08:00
Hugo Locurcio
56aae0e8bc
Use a loading placeholder for project icons in the project manager
...
Now that projects are loaded asynchronously, some projects in the
list may be displayed before their icon is done loading. This is
especially common on slower hardware.
In such cases, this makes the project manager display a loading
placeholder instead of the default project icon.
2020-01-21 22:56:19 +01:00
Rémi Verschelde
5127afa812
Merge pull request #35413 from akien-mga/if-0-means-couperet
...
Remove unused #if 0'ed code
2020-01-21 22:27:50 +01:00
Rémi Verschelde
6190690757
Merge pull request #35411 from akien-mga/greater-font-sizes-for-everyone
...
Allow greater values for DynamicFont size property
2020-01-21 21:45:52 +01:00
Rémi Verschelde
4faaf6089a
Remove unused #if 0'ed code
2020-01-21 21:41:54 +01:00
Rémi Verschelde
79aaafc686
Merge pull request #35408 from Faless/ws/fix_packet_count
...
Fix MultiplayerAPI crash when peer implementation misbehave.
2020-01-21 21:06:11 +01:00
Rémi Verschelde
0be64da008
Allow greater values for DynamicFont size property
...
See https://github.com/godotengine/godot/issues/22581#issuecomment-576836691 .
Not using `or_greater` as there *is* a max size value that the current
implementation can accept. If using e.g. size 6000 with
FiraSans-Regular.ttf, errors are printed due to failing asserts on a
glyph size that should be within 4096x4096 px.
2020-01-21 20:59:16 +01:00
Fabio Alessandrelli
50f1b035b8
Fix MultiplayerAPI crash when peer impl misbehave.
...
Also fix WebSocketMultiplayer::get_available_packet_count() return value
when peer is not configured to use the multiplayer API.
2020-01-21 20:46:32 +01:00
Ignacio Roldán Etcheverry
24960e2254
Merge pull request #35407 from neikeq/issue-27285
...
Add dummy preprocessor for the C# script class parser
2020-01-21 20:39:23 +01:00
Ignacio Etcheverry
d53c15b12c
Make script class parser errors to not abort the build
...
As our script class parser is error prone, we should not impede the build from continuing because of a parsing error.
This should be reverted in the future once we switch to Roslyn.
2020-01-21 20:07:26 +01:00
Ignacio Etcheverry
378fc592b1
Add dummy preprocessor for the C# script class parser
...
No attempts are made at conditional compilation. The main if branch is always assumed to be true.
2020-01-21 19:57:38 +01:00
Hugo Locurcio
a60d70bc9d
Update CHANGELOG.md for Godot 3.2
2020-01-21 19:17:01 +01:00
Rémi Verschelde
d4ac0ca153
Merge pull request #35393 from YeldhamDev/plugin_script_syntax
...
Make script made via plugin creation obey syntax settings
2020-01-21 13:21:01 +01:00
Rémi Verschelde
423f15262f
Merge pull request #35399 from ericrybick/35367-signals-dock-size-jumps-when-selecting-nodes
...
Clip text in NodeDock toolbuttons to prevent dock size changes
2020-01-21 11:18:35 +01:00
Eric Rybicki
371b5a450a
Clip text in NodeDock toolbuttons to prevent dock size changes
...
Fixes #35367
2020-01-21 10:23:09 +01:00
Rémi Verschelde
4bc98c105d
Merge pull request #35394 from ericrybick/fix-assetlib-thumbnail-overlay-
...
Fix asset library video play overlay not being centered on the thumbnail
2020-01-21 08:20:35 +01:00