Commit Graph

13570 Commits

Author SHA1 Message Date
Bernhard Liebl
ec98e0b715 GDScript: always call ResourceLoader::load() in non-completion mode 2018-01-21 09:32:52 +01:00
Todd Ross
b57dcf446e clarify OS.execute usage, add examples 2018-01-20 18:36:00 -06:00
Emmanuel Leblond
9fba9e5465
Hide only PluginScript in dialog box 2018-01-21 00:43:57 +01:00
robfram
d588fe2740 Fix issue 15895, audio streams don't signalling finished after the first one
if the audio player is set to play again due to the order of calls in
_notification. First it emits the signal, and later it disable the internal
processing regardless what the callback did.

Changed to emit the signal at the end to ensure the changes done at callback
remains.
2018-01-20 22:22:00 +01:00
Juan Linietsky
c58891ff4c Allow shadowing class members with local variables in GDScript, closes #15896 2018-01-20 17:45:19 -03:00
Rémi Verschelde
8f8b032eed
Merge pull request #15905 from binbitten/fix-capture-win
Fix horizontal scroll for windows platform
2018-01-20 21:41:21 +01:00
binbitten
017a8521c0 Fix horizontal scroll for windows platform 2018-01-20 21:15:58 +01:00
Gilles Roudiere
30e1e42175 Fixes a bas resizing with SplitContainer 2018-01-20 21:03:20 +01:00
karroffel
ac2a9bb267 add template argument for size in StringBuffer
Until now the pre-allocated array size was defined to be 64 without
a way of adjusting it from the calling side.

This commit adds the size as a template parameter.
2018-01-20 20:03:17 +01:00
Rémi Verschelde
00387cbe1b
Merge pull request #15898 from yurchor/patch-1
Fix minor typo: it's -> its
2018-01-20 19:27:49 +01:00
Yuri Chornoivan
17614f79ea
Fix minor typo: it's -> its 2018-01-20 20:18:43 +02:00
Marc Gilleron
e415fd05bb Added all missing VisualServer bindings
- Added bindings for multimesh, immediate, skeleton, light, reflection probe, gi probe, lightmap, particles, camera, environment, scenario, instance
- Removed draw and sync, were duplicates of force_* equivalents
- Bumped binders max arguments from 11 to 13
- Wrote some wrappers as not all methods were variant-friendly
2018-01-20 16:59:26 +01:00
Leon Krause
f5234e70be
Merge pull request #15887 from x1212/html_change_tc_standard_to_s3tc
HTML export: Make s3tc the standard Texture Format
2018-01-20 15:46:27 +01:00
Thomas Herzog
3cd5b1fec8
Merge pull request #15891 from karroffel/stringbuilder-fix-crash
fixed crash with StringBuilder
2018-01-20 15:28:43 +01:00
karroffel
30822e8ab7 fixed crash with StringBuilder
When using a newly created StringBuilder then the as_string() method
will crash when trying to free an allocated 0-sized chunk of memory.

When 0 bytes get allocated with memnew_arr then a NULL pointer gets
returned. When trying to free that pointer the programm will crash.
2018-01-20 15:26:58 +01:00
x1212
eec2218e7c HTML export: Make s3tc the standard Texture Format 2018-01-20 15:20:26 +01:00
Rémi Verschelde
09732a15a5 i18n: Sync translation templates with current source 2018-01-20 10:10:49 +01:00
Rémi Verschelde
1f70ba5bd9 i18n: Sync translations with Weblate
Adds Romanian translation.
2018-01-20 10:10:00 +01:00
Marcelo Fernandez
d5afcf7ab1 Improved WASAPI driver so that it always uses the default audio device 2018-01-19 18:41:23 -03:00
Guilherme Silva
9974e86904 Fix option run/output/always_open_output_on_play 2018-01-19 11:56:07 -02:00
Rémi Verschelde
eb9fa02fbd
Merge pull request #15850 from Anutrix/master
Added description to dedent in String.xml
2018-01-19 12:13:04 +01:00
Anutrix
6d4c6449f4 Added description to dedent in String.xml 2018-01-19 15:57:38 +05:30
Rémi Verschelde
a15f60d212
Merge pull request #15863 from touilleMan/fix-pluginscript-crash-in-dialog-box
Hide Script nodes in dialog box to prevent crash with pluginscript
2018-01-19 10:19:13 +01:00
Emmanuel Leblond
431ecc2061
Hide Script nodes in dialog box to prevent crash with pluginscript 2018-01-19 09:55:52 +01:00
Rémi Verschelde
fe2932a969
Merge pull request #15861 from poke1024/macos-keybuffer
On macOS, prevent key_event_buffer overflows
2018-01-19 09:12:18 +01:00
Bernhard Liebl
2ae2735a7a Make KEY_ESCAPE close all output/debugger docks on bottom 2018-01-19 09:04:55 +01:00
Rémi Verschelde
76bff3ef6e Bump version to 3.0-rc2
Dr. Freeman, we're coming for you!
2018-01-19 08:51:45 +01:00
Bernhard Liebl
2419ffd428 On macOS, prevent key_event_buffer overflows 2018-01-19 08:47:30 +01:00
Rémi Verschelde
0a469fc8ce
Merge pull request #15858 from willnationsdev/vs-hpp-support
Allow VS to include .hpp files in scons builds
2018-01-19 08:28:38 +01:00
Rémi Verschelde
1f1a38b5ec
Merge pull request #15856 from Noshyaar/indent
SCsub: fix mixed indentation
2018-01-19 08:27:55 +01:00
Will Nations
a025ca5fc6 Include .hpp files in VS scons builds. Fixed Typo. 2018-01-18 22:16:11 -06:00
Poommetee Ketson
d7e07fb25a
Merge pull request #15857 from YeldhamDev/find_last_doc
[DOCS] Fixed incorrect information inside String's "find_last" method

[ci skip]
2018-01-19 10:22:21 +07:00
Michael Alexsander Silva Dias
d8f6acee4b [DOCS] Fixed incorrect information inside String's "find_last" method. 2018-01-19 00:10:33 -02:00
Poommetee Ketson
225dbe9289 SCsub: fix mixed indentation 2018-01-19 07:35:02 +07:00
Ariel Manzur
9d98e6d2e4 adding option to split modules library 2018-01-18 21:27:57 -03:00
Gilles Roudiere
d1f32708b7 Fixes a Gridcontainer wrong children fitting with expanded+non-zero minisize 2018-01-19 00:56:30 +01:00
MrCdK
9927b70efb The TextureButton's bitmask takes into account the stretch mode selected
When the stretch is tile the mask gets applied to each tile.
2018-01-19 00:01:23 +01:00
Rémi Verschelde
0359fed313
Merge pull request #15849 from poke1024/preload-completion
GDScript: fix autocompletion for preload() (issue 15766)
2018-01-18 23:21:41 +01:00
Ariel Manzur
e2b50e1abb improves portability with some compilers 2018-01-18 19:16:34 -03:00
Juan Linietsky
7369b0075e
Merge pull request #15851 from poke1024/preload-warnings
Suppress errors on autocompletion for preload()
2018-01-18 19:15:05 -03:00
Rémi Verschelde
598724c043 Remove obsolete Viewport _update_rect() code 2018-01-18 22:37:45 +01:00
Bernhard Liebl
67ae443c56 Suppress errors on autocompletion for preload() 2018-01-18 22:29:45 +01:00
Bernhard Liebl
be55171231 Add Color.from_hsv() 2018-01-18 22:13:00 +01:00
Rémi Verschelde
9f479f096c Fix typos in code and docs with codespell
Using v1.11.0 from https://github.com/lucasdemarchi/codespell
2018-01-18 22:01:42 +01:00
Bernhard Liebl
ae4cd5b6da GDScript: fix autocompletion for preload() (issue 15766) 2018-01-18 19:37:21 +01:00
Rémi Verschelde
a1c08b7109
Merge pull request #15848 from binbitten/fix-viewport-bg
Fix wrong viewport transparent-bg
2018-01-18 19:29:24 +01:00
Rémi Verschelde
f2a26fba96
Merge pull request #15845 from Anutrix/master
Added description to get_collision_mask_bit and set_collision_mask_bit in RayCast2D.xml
2018-01-18 19:13:23 +01:00
Abhas Kumar Sinha
1a1303a948 Update MultiMeshInstance and WorldEnvironment documentation
With some edits by @akien-mga.
2018-01-18 19:11:33 +01:00
binbitten
bccb4840c8 Fix wrong viewport transparent-bg 2018-01-18 19:11:07 +01:00
Anutrix
0ec8f4c06b Added description to get_collision_mask_bit and set_collision_mask_bit in RayCast2D.xml 2018-01-18 23:14:31 +05:30