Commit Graph

18760 Commits

Author SHA1 Message Date
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
Rémi Verschelde
6f704c338a Revert "Update random_pcg.h"
This reverts commit 64e584a97e.
2019-01-23 10:30:18 +01:00
Bastiaan Olij
cab45f2f26 Fix errors on iOS 2019-01-23 13:38:19 +11:00
Juan Linietsky
4f4e46edd5 Implement unpacking for compressed vertex formats on GLES2 when not supported, fixes #22957 2019-01-22 21:57:09 -03:00
Marcin Zawiejski
62f3611271 Fix GDI objects leak when setting custom cursor
Fixes #19906
2019-01-23 01:11:40 +01:00
Marcin Zawiejski
e53c5d858a
Fix global settings consistency
Fixes #25161
2019-01-23 00:09:22 +01:00
Rémi Verschelde
42ce497e79
Merge pull request #25238 from dragmz/patch-7
Set WINVER and _WIN32_WINNT values in VS project
2019-01-22 23:33:01 +01:00
Rémi Verschelde
f48d4f6655
Merge pull request #25233 from ivanarh/master
Fixed possible crash in pck_packer.cpp due to wrong memory freeing.
2019-01-22 23:14:56 +01:00
Marcin Zawiejski
9ca649c67b
Set WINVER and _WIN32_WINNT values in VS project
While looking into a different issue, I've noticed that Visual Studio Intellisense does not work well for Godot project when using Windows Vista+ APIs (e.g. CreateThreadpool), i.e. it does not recognise the APIs because they are defined in Windows header files for Vista+ only.

This is because the WINVER and _WIN32_WINNT symbols don't have their values set in the generated Godot project file. This fixes the problem by setting the values when generating the project file.
2019-01-22 21:34:37 +01:00
Juan Linietsky
ab843b1698 Raised executable priority on windows to avoid stuter, helps #25162 2019-01-22 16:04:54 -03:00
Ignacio Etcheverry
6a187f6395
Merge pull request #25235 from neikeq/pp
Mono: Fix hot reload build errors and cleanup
2019-01-22 19:01:52 +01:00
Ignacio Etcheverry
bc8b61bb06 Mono: Fix hot reload build errors and cleanup 2019-01-22 18:33:36 +01:00
Ivan Ponomarev
8edfc3b5ac Fixed possible crash in pck_packer.cpp due to wrong memory freeing. 2019-01-22 20:02:19 +03:00
Juan Linietsky
cd45f05f7e Forbid making root on inherited scenes, closes #24484 2019-01-22 13:49:03 -03:00
Juan Linietsky
0c9fd3c4b4 Avoid cyclic iteration check, fixes #24969 2019-01-22 13:17:39 -03:00
Juan Linietsky
c70c43c888 Make inspector gain focus on refresh only if it has it, fixes #24979, closes #25053 2019-01-22 12:29:26 -03:00
Juan Linietsky
4333a68ca0 Do not use shadow cubemaps if depth write is not supported to avoid errors, closes #25219 2019-01-22 11:07:26 -03:00
Juan Linietsky
e081cec69f Fix collision margin being wrongly read by default, fixes #25181 2019-01-22 10:15:18 -03:00