Commit graph

19452 commits

Author SHA1 Message Date
Rémi Verschelde
69c0d32b93
Merge pull request #26240 from eska014/html5-preload-noown
Properly preload files, always use stdout/-err in HTML5 platform
2019-02-24 19:44:54 +01:00
Junwei Ng
731b152dc1 Update Windows global mouse position at startup
Fixes issue #8145 for Windows, in the same manner as
issue #21910 fixed it for X11.
2019-02-25 01:10:18 +09:00
Juan Linietsky
61b41d6001 Ensure all properties are refreshed when setting a script, fixes #24845 2019-02-24 10:50:43 -03:00
Juan Linietsky
3ea04c1366 Prevent circular references to scene being saved, fixes #24384 2019-02-24 10:48:38 -03:00
George Marques
755c690252
Merge pull request #25018 from AllanDaemon/#24895
Fix support for optional parameters in setters
2019-02-24 10:45:50 -03:00
Leon Krause
76522624cb Use stdout/-err for all messages in HTML5 platform 2019-02-24 04:56:34 +01:00
Juan Linietsky
ab8f3d7842 Fixed issue with buffers being wrongly cleared, closes #25484 2019-02-24 00:33:22 -03:00
Rémi Verschelde
4ebb544ffa
Merge pull request #26171 from Calinou/fix-wrapi-crash
Fix crash when using `wrapi()` with a range of zero
2019-02-24 02:37:04 +01:00
Ignacio Etcheverry
ef61c14dda
Merge pull request #26214 from neikeq/defval-pls
Fix default value of EditorSpatialGizmo.add_mesh method bind
2019-02-24 01:38:24 +01:00
Juan Linietsky
f436047cf5 Clear canvas item after rendering font, fixes #23774 2019-02-23 21:31:09 -03:00
Ignacio Etcheverry
448d3904a1 Fix default value of EditorSpatialGizmo.add_mesh method bind 2019-02-24 01:15:16 +01:00
Hein-Pieter van Braam
e30ce69cb4
Merge pull request #26154 from hpvb/disable-via-padlock
Disable support for VIA Padlock
2019-02-24 01:12:47 +01:00
Hein-Pieter van Braam
e33e0a5ea7 Disable support for VIA Padlock
This code defines a symbol 'unsupported' which is also in a newer
version of libwebsockets. To fix 32bit linux builds just disable
padlock support. Processors that support this are rare and old.
2019-02-24 00:11:35 +00:00
Juan Linietsky
bfa9be85d3 Remove copy and use instance material override in gizmos, fixes #23783 2019-02-23 20:20:54 -03:00
Juan Linietsky
6cd4006fb3 Do not crash on empty path, closes #23701 2019-02-23 20:07:16 -03:00
Juan Linietsky
d79c8d7655 Fix vertex lighting in GLES2, closes #25365 2019-02-23 19:53:04 -03:00
Ignacio Etcheverry
c2bc458dfe
Merge pull request #26210 from neikeq/issue-26209
C#: Fix Vector2.AngleToPoint
2019-02-23 23:40:25 +01:00
Ignacio Etcheverry
da3776a40a C#: Fix Vector2.AngleToPoint
Fixes #26209
2019-02-23 23:28:31 +01:00
Juan Linietsky
fd68bb2596 -Treat scalar conversions when calling functions as error, closes #24261
-Make shader editor display errors if exist when just opening it
-Make ShaderMaterial not lose parameters if opened in error.
2019-02-23 17:55:09 -03:00
Rémi Verschelde
07fbc34195
Merge pull request #26203 from neikeq/csharp-basis
C#: Basis fixes and cleanup
2019-02-23 20:53:03 +01:00
Rémi Verschelde
112dd91193
Merge pull request #26204 from bruvzg/macos_move_to_fg
[macOS] Change `move_window_to_foreground` to take focus.
2019-02-23 20:26:48 +01:00
Leon Krause
81554dac61 Fix file preloading warning in HTML5 platform 2019-02-23 20:06:22 +01:00
bruvzg
ac3158332b
[macOS] Make move_window_to_foreground to take focus in addition to moving window to front. 2019-02-23 20:06:33 +02:00
Ignacio Etcheverry
2c26e7f174 C#: Basis fixes and cleanup
Fix Basis operator[int]. Now it returns columns instead of rows.
Fix Transform2D.AfficeInverse() mutating rather than returning a new Transform2D.
2019-02-23 18:22:30 +01:00
Hugo Locurcio
18b90508a1
Fix crash when using wrapi() with a range of zero
`wrapi()` and `wrapf()` will now return the value of
the `min` parameter if the range is equal to zero.
2019-02-23 16:16:32 +01:00
Juan Linietsky
9d78274e06 Make allowed pid for window takeover happen immediately, fixes #21431 2019-02-23 12:09:35 -03:00
Rémi Verschelde
b2f8dd0d55
Merge pull request #26189 from AinaSG/master
Enabling ipv6 in libwebsockets
2019-02-23 14:55:03 +01:00
Juan Linietsky
9dfe3b6d9e Ensure move and slide snap respects stop on slope, fixes #26180 2019-02-23 10:24:21 -03:00
Rémi Verschelde
24097811e4 Fix invalid change from CLAMP to MAX in #26099
CLAMP limits the value between the two bounds, so for unsigned ints
it should be replaced by MIN(val, max), not MAX.

The issue in voxel_light_baker.cpp was fixed in 4f697f7.

Fixes #26170.
2019-02-23 12:08:21 +01:00
Rémi Verschelde
fa51a98284
Merge pull request #26184 from MarianoGnu/fixes
TileSetEditor: Show Edition Context by demand
2019-02-23 11:59:45 +01:00
Rémi Verschelde
a291c837f0
Merge pull request #26157 from YeldhamDev/splitcont_update_check
Make 'SplitContainer' update drawing only if actually needs to
2019-02-23 10:36:09 +01:00
Hein-Pieter van Braam
76a8d6f15f
Merge pull request #26183 from marcelofg55/wasapi_notsupported_format
Fix WASAPI driver not working when the device doesn't supports the mix format
2019-02-23 10:17:37 +01:00
marxin
0d2a105e6b Come up with use_gcc.
Add new method. Fix wrong version condition for -fpie.
2019-02-23 09:17:11 +01:00
marxin
40cd35489d Add -Wwrite-strings into all and extra warnings. 2019-02-23 09:16:36 +01:00
Aina
9e6aefa3ae Enabling ipv6 in libwebsockets 2019-02-23 08:23:24 +01:00
Mariano Suligoy
5a21847f23 TileSetEditor: Show Edition Context by demand 2019-02-23 00:04:31 -03:00
Marcelo Fernandez
e1e4f96995 Fix WASAPI driver not working when the device doesn't supports the mix format 2019-02-23 00:01:17 -03:00
Juan Linietsky
4f697f73a5 Change MAX for MIN, fixes #26170 2019-02-22 21:19:31 -03:00
Hein-Pieter van Braam
9bfc491384
Merge pull request #25683 from wombatstampede/patch-1
Update CPUParticles.xml
2019-02-23 00:36:04 +01:00
Hein-Pieter van Braam
5a27a456d8
Merge pull request #26158 from marcelofg55/wasapi_init_err
Extended WASAPI Initialize error message
2019-02-23 00:28:34 +01:00
Juan Linietsky
7f63b0e8cd Added a workaround to avoid crashes due to how TileSet editor works, fixes #23672
Also fixed a few uninitialized memory variables.
2019-02-22 17:42:29 -03:00
Juan Linietsky
16e67388a2 Properly update materials when adding surface, fixes #23790 2019-02-22 16:27:00 -03:00
Hein-Pieter van Braam
6761625155
Merge pull request #26165 from hpvb/fix-parse-utf8
Don't crash when parse_utf8 receives a NULL pointer
2019-02-22 19:58:54 +01:00
Hein-Pieter van Braam
4f49d09272 Don't crash when parse_utf8 receives a NULL pointer
This can happen when chaining calls to various string methods when the
string is empty.
2019-02-22 19:28:19 +01:00
Marcelo Fernandez
548a66a621 Extended WASAPI Initialize error message 2019-02-22 14:56:15 -03:00
Juan Linietsky
aef5b36bfa Ensure that no depth test is used (specially in prepass) for objects that dont test or draw depth, fixes #25201 2019-02-22 14:48:10 -03:00
Juan Linietsky
95e34967d8 Fix precision issue with skeletons, closes #26057, closes #26062 2019-02-22 13:27:19 -03:00
Rémi Verschelde
513b7ddab6 Remove unused variable after aab8f44 2019-02-22 16:51:16 +01:00
Juan Linietsky
aab8f443f9 -Support DEPTH_TEXTURE in GLES2, fixes #25106
-Fix use of transparent framebuffers in GLES2
-Fix use of ambient color clearing in GLES2 when no environment exists.
2019-02-22 11:35:39 -03:00
Rémi Verschelde
8b9ec8bc88 Document that ViewportTexture is flipped on Y
Fixes #26141.
2019-02-22 15:11:32 +01:00