Commit graph

18778 commits

Author SHA1 Message Date
Juan Linietsky
5b5db08a51 Fix depth prepass in GLES2, closes #23321 2019-01-25 09:41:25 -03:00
Juan Linietsky
c743da100d Avoid crashing in #23302 2019-01-25 09:09:32 -03:00
Rémi Verschelde
00ec3e9d2a
Merge pull request #25308 from supagu/theme-fix
Added copy_theme and fixed bugs in copy theme introduced by #2e0a94e
2019-01-25 10:03:08 +01:00
Rémi Verschelde
a7525b5c13
Merge pull request #25302 from eska014/html5-startupfs
Allow requesting full screen during start-up in HTML5 platform
2019-01-25 09:36:54 +01:00
Fabian
01170c911c Added copy_theme and fixed bugs in copy theme introduced by #2e0a94e 2019-01-25 13:14:06 +10:30
Rémi Verschelde
6ad4f16b1d
Merge pull request #25298 from groud/fix_separation_update
Updates containers minimum size when some constants are modified
2019-01-24 23:39:32 +01:00
Rémi Verschelde
6e65c73f71
Merge pull request #25294 from groud/fix_2D_selection
Fixes Node2D selection not adapting to editor zoom level
2019-01-24 23:38:30 +01:00
Juan Linietsky
b32298a660 Ensure WebGL uses highp by default, and fix some wrong mediump usages. Fixes #22962. 2019-01-24 18:58:42 -03:00
groud
a1f955a1d3 Updates containers minimum size when some constants are modified 2019-01-24 22:31:33 +01:00
Juan Linietsky
a280bd0c85 Removed dangerous and useless function, closes #22884 2019-01-24 17:56:19 -03:00
Juan Linietsky
fb7c526ec4 Fix crash with cube shadows in gles2, closes #22635 2019-01-24 17:51:49 -03:00
Juan Linietsky
cce679584b
Merge pull request #25295 from godotengine/revert-25242-fix_ios_issues
Revert "Fix errors on iOS"
2019-01-24 17:16:04 -03:00
Juan Linietsky
42764ed252
Revert "Fix errors on iOS" 2019-01-24 17:15:52 -03:00
Juan Linietsky
7fa41f17a6 Makes screen texture work in GLES2 (2D for now), fixes #23604 2019-01-24 17:00:33 -03:00
groud
8676370aa5 Fixes Node2D selection not adapting to editor zoom level 2019-01-24 20:43:11 +01:00
Juan Linietsky
8ff00ca52d Make recursive nature of iteration not fail. 2019-01-24 13:09:05 -03:00
Juan Linietsky
99d997e424 Do not fail on recursive iteration. Not ideal but should work for now and not crash. Fixes #25272
Eventually some sort of main even queue should be implemented to do this properly.
2019-01-24 12:42:57 -03:00
Rémi Verschelde
148e62102b
Merge pull request #25257 from karroffel/tex3d-get-data-fix
implemented texture_get_data() for TextureLayered
2019-01-24 16:19:21 +01:00
Juan Linietsky
d0b736f7e5 Ability to get the current canvas item being drawn from stylebox. 2019-01-24 10:22:41 -03:00
Rémi Verschelde
95bd60f71c
Merge pull request #25283 from akien-mga/progress-step-float
ProgressBar: Set default step to 0.01
2019-01-24 13:16:47 +01:00
Rémi Verschelde
a29b10cced ProgressBar: Set default step to 0.01
Fixes #22655.
2019-01-24 12:58:58 +01:00
Rémi Verschelde
fb9c83780d
Merge pull request #25282 from akien-mga/physicsbody-friction-default
Fix PhysicsBody ignoring deprecated set_friction/bounce with default value
2019-01-24 12:43:03 +01:00
Rémi Verschelde
63b487e49c Fix PhysicsBody ignoring set_friction/bounce with default value
The intent was to avoid creating a physics override to set a default value
that doesn't make a difference, but as #22406 shows it can be necessary to
set the default value *back* after an override was created to set a non-default
value.

Fixes #22406.
2019-01-24 12:15:54 +01:00
Rémi Verschelde
7b4e7d5662
Merge pull request #25274 from vnen/gdscript-fixes
Some GDScript fixes
2019-01-24 09:56:22 +01:00
Rémi Verschelde
6d224e6443
Merge pull request #25270 from groud/fix_texture_update
Fixing textures not triggering _change_notify
2019-01-24 09:52:31 +01:00
groud
0577f93cf6 Fixing textures not triggering _change_notify 2019-01-23 21:48:58 +01:00
George Marques
587c1c90cf GDScript: do second pass of parsing on release
Some construct (like match) actually depends on the second pass. This
adds some extra checks to not perform specific type-checks on release
since not all type information is available.
2019-01-23 18:45:33 -02:00
George Marques
8464cce857 GDScript: fix default value for autoexported typed vars 2019-01-23 18:06:58 -02:00
Juan Linietsky
2d57ec2460 Fix problem with texture2Dlod, closes #25263 2019-01-23 17:06:37 -03:00
George Marques
f439397126 GDScript: read constants from parent scripts
This is needed to create export variables from enums defined in a parent
class.
2019-01-23 17:42:06 -02:00
George Marques
f4546fc0cd GDScript: don't allow calling non-static function from script 2019-01-23 17:42:06 -02:00
George Marques
ba13aae9af GDScript: allow local classes to be used as types 2019-01-23 17:42:06 -02:00
thomas.herzog
dddfe9a2df implemented texture_get_data() for TextureLayered 2019-01-23 16:12:29 +01:00
Rémi Verschelde
2c9536b655
Merge pull request #25259 from marcelofg55/captured_alt_f4
Fix ALT+F4 being ignored with MOUSE_MODE_CAPTURED on Windows
2019-01-23 15:41:31 +01:00
Rémi Verschelde
3551e3478a
Merge pull request #25260 from neikeq/qq
PluginConfigDialog: Add partial support for more script language
2019-01-23 15:41:11 +01:00
Rémi Verschelde
03cc275cc1
Merge pull request #25258 from dragmz/patch-9
Fix warning when setting out of range outline_size
2019-01-23 15:01:48 +01:00
Marcelo Fernandez
daf57bc81f Fix ALT+F4 being ignored with MOUSE_MODE_CAPTURED on Windows 2019-01-23 10:59:54 -03:00
Ignacio Etcheverry
504508e61c PluginConfigDialog: Add partial support for more script language 2019-01-23 14:54:33 +01:00
Marcin Zawiejski
bbc9e91043
Fix warning when setting out of range outline_size
Fixes the warning mentioned in #25046
2019-01-23 14:44:16 +01:00
Rémi Verschelde
1953054fd8
Merge pull request #25255 from marcelofg55/expose_iemidi
Expose InputEventMIDI to scripts
2019-01-23 13:39:22 +01:00
Marcelo Fernandez
fd59732298 Expose InputEventMIDI to scripts 2019-01-23 09:09:03 -03:00
Rémi Verschelde
51c67a386d
Merge pull request #25190 from 99alfie/master
Fix ButtonGroup.get_pressed_button bug
2019-01-23 12:30:23 +01:00
Rémi Verschelde
8af0487a0c
Merge pull request #25212 from danboo/master
Clarify mouse_filter impact on mouse_entered and mouse_exited signals
2019-01-23 12:27:17 +01:00
Rémi Verschelde
bf08c74e77
Merge pull request #25253 from akien-mga/theora-decode-ub
theora: Add upstream patch to fix UB warning
2019-01-23 12:26:29 +01:00
Rémi Verschelde
7ce0e68ec9
Merge pull request #25239 from dragmz/patch-7
Fix global settings consistency
2019-01-23 12:25:58 +01:00
Rémi Verschelde
8c67b43ba1 theora: Add upstream patch to fix UB warning
Patch from https://git.xiph.org/?p=theora.git;a=commit;h=0ae66d565e6bead8604d312bc1a4e9dccf245c88
Fixes #25221.
2019-01-23 12:02:36 +01:00
Rémi Verschelde
f4b747d3e6
Merge pull request #25241 from dragmz/patch-8
Fix GDI objects leak when setting custom cursor
2019-01-23 11:15:10 +01:00
Rémi Verschelde
d747e30140
Merge pull request #25242 from BastiaanOlij/fix_ios_issues
Fix errors on iOS
2019-01-23 11:14:09 +01:00
Rémi Verschelde
a0581cca1f Revert "Revert "Update random_pcg.h""
This reverts commit 6f704c338a.

Sorry about this, this was a test and not meant to be pushed to master. :/
2019-01-23 10:36:36 +01:00
Rémi Verschelde
2a45b298c1 Remove unused method in RasterizerStorageGLES2
Added in 4f4e46edd5 but not used in the end.
2019-01-23 10:31:05 +01:00