Hein-Pieter van Braam
8230bf0a2f
Remove assignment and declarations in if statements
...
After discussing with @reduz and @akien-mga it was decided that we do
not allow assignments or declarations in if statements. This PR removes
the instances of this I could find by automated means.
2017-09-08 14:59:15 +02:00
Rémi Verschelde
d1cb73b47a
Merge pull request #11064 from Noshyaar/docs
...
ClassRef: fill in the blanks
2017-09-08 11:25:58 +02:00
Poommetee Ketson
11ccf22540
ClassRef: fill in the blanks
2017-09-08 15:15:04 +07:00
Juan Linietsky
5ca3af3371
Ability to use a sky for reflection together with a background color.
2017-09-07 20:45:37 -03:00
Juan Linietsky
c023a132d0
Fixed orthogonal projection in all effects and post processes
2017-09-07 20:16:33 -03:00
Juan Linietsky
eedb39091a
Several fixes to directional shadows, closes #10926
...
Added option to change directional light range mode, between optimized and stable. For Orthogonal, you might need to use optimized.
2017-09-07 18:00:47 -03:00
Juan Linietsky
1eeda0f32f
Restored auto snapping of controls to pixels, fixes #10847 and probably several more issues. Made it optional in the project settings but defaults to true.
2017-09-07 11:22:07 -03:00
Juan Linietsky
895140389a
Removed camera interpolation in orthogonal mode (I have no idea how to fix this due to how orthogonal works), closes #10718
2017-09-07 09:58:38 -03:00
Juan Linietsky
b19b7aebf7
Merge pull request #11027 from hpvb/fix-11022
...
Fix EOF in wav file importer
2017-09-07 07:53:56 -03:00
Juan Linietsky
5f0d367fef
Mono vorbis support fixed, closes #10787
2017-09-06 23:13:57 -03:00
Juan Linietsky
8047127bc6
Force redraw when HDR auto exposure is enable in all frames, fixes #10784
2017-09-06 23:02:06 -03:00
Juan Linietsky
98af411a37
Renamed playing property of audiostreams to play, to make it clearer. Fixes #10730
...
Also disabled the auto shut down of the property when stream ends, to make it easier to animate
2017-09-06 22:03:04 -03:00
Juan Linietsky
dd854768da
-Fix folow surface in subsurface scattering, closes #10696
...
-Fixed filter kernels of subsurface scattering so quality settings make more sense
2017-09-06 21:45:02 -03:00
Hein-Pieter van Braam
cbedb54408
Fix EOF in wav file importer
...
In #10973 I reset the state of the stream in get_pos() assuming that the
ftell failing would cause proper error checking. This is not how this
class was designed, however. This commit fixes the get_8() method to
not return unitialized data on eof, and removes the wrong error resets
added in #10973 .
This fixes #11022
2017-09-07 00:26:17 +02:00
Juan Linietsky
36e91b07d8
Check whether stuff is visible before baking it, closes #10525
2017-09-06 18:24:29 -03:00
Juan Linietsky
c771e03ee2
-Fixed changes to default input actions not working, closes #10502
...
-Added Array.duplicate() method, needed to fix above
2017-09-06 18:14:04 -03:00
Rémi Verschelde
0b8fa1e010
Remove dead ButtonGroup code
2017-09-06 14:41:34 +02:00
Juan Linietsky
ddadc782ba
Fix frame selection in 2D particles, closes #10668
2017-09-06 08:31:11 -03:00
Juan Linietsky
316ba650b2
Merge pull request #11011 from supagu/symlink4
...
Further symlink fixes
2017-09-06 08:24:23 -03:00
Rémi Verschelde
6efd777fae
Merge pull request #10976 from saltares/issue-907
...
Fixes setting visibility on GridMap, issue #907
2017-09-06 11:49:35 +02:00
Rémi Verschelde
7e2d03bd14
doc: Sync classref with current source
...
[ci skip]
2017-09-06 11:35:10 +02:00
supagu
f4994e750d
Further symlink fixes
2017-09-06 18:09:27 +09:30
Ignacio Etcheverry
4d73b778f0
Merge pull request #11009 from neikeq/whateverr
...
Fixes ERR_EXPLAIN being overwritten
2017-09-06 04:45:04 +02:00
Ignacio Etcheverry
96b205d2ed
Fixes ERR_EXPLAIN being overwritten
2017-09-06 04:43:07 +02:00
Juan Linietsky
308a6f4f99
hide next pass for material types that make it pointless, closes #10686
2017-09-05 20:40:50 -03:00
Juan Linietsky
f5c5d07f9c
Added a warning for when a PC compression is not found for the project, closes #10626
2017-09-05 20:17:26 -03:00
David Saltares
f43a0ef327
Setting visibility on GridMap now works. Closes #907 .
...
Basically, `GridMap` wasn't reacting to the
`NOTIFICATION_VISIBILITY_CHANGED` event. This reacts to such events and
walks over the set of `Octants` and all of their `MultiMeshInstances` to
set their visibility on the `VisualServer`.
2017-09-05 22:44:19 +01:00
Juan Linietsky
e192c1a7d3
Fix directional vertex shaded light which was using normal instead of light color, closes #10608
2017-09-05 17:31:09 -03:00
Rémi Verschelde
3dfeb0d97b
Merge pull request #11005 from neikeq/doc-xml-escape
...
Escape special character in classes.xml
[ci skip]
2017-09-05 22:14:22 +02:00
Ignacio Etcheverry
a9f917c649
Escape special character in classes.xml
2017-09-05 22:02:52 +02:00
Juan Linietsky
7eb8760477
Added support for for, break and continue. Closes #10560 , closes #10661
2017-09-05 15:25:34 -03:00
Rémi Verschelde
54e81c7955
Merge pull request #10990 from MednauN/unshaded-fix
...
Fix unshaded materials render
2017-09-05 15:51:35 +02:00
Thomas Herzog
dcdde2f5a9
Merge pull request #10993 from endragor/nativescript-property-order
...
Provide NativeScript properties in definition order
2017-09-05 11:47:51 +02:00
Rémi Verschelde
9b9344cab1
Merge pull request #10844 from MednauN/master
...
Optimize memory allocations in VariantParser::get_token
2017-09-05 07:59:25 +02:00
Rémi Verschelde
286b0da037
Merge pull request #10985 from toger5/log_color_fix
...
fixed log colors
2017-09-05 07:53:48 +02:00
Ruslan Mustakov
269203a022
Provide NativeScript properties in definition order
2017-09-05 12:45:23 +07:00
Evgeny Zuev
094237eca0
Fix unshaded materials render
2017-09-05 12:19:15 +07:00
Evgeny Zuev
a0bdb6e2f6
Optimize memory allocations in VariantParser::get_token
2017-09-05 11:04:33 +07:00
Evgeny Zuev
cae0059d5f
Add StringBuffer class
2017-09-05 11:04:11 +07:00
Juan Linietsky
2802dced84
Automatically redraw when shaders using TIME are visible, fixes #10554
2017-09-05 00:30:39 -03:00
Juan Linietsky
e611ff5f01
Fix opaque pre pass, closes #10472
2017-09-04 20:27:45 -03:00
Rémi Verschelde
44adf75cd5
Merge pull request #10986 from hpvb/fix-unix-file-open
...
Fix UNIX file open
2017-09-05 01:18:53 +02:00
Hein-Pieter van Braam
5fed954a1b
Fix UNIX file open
...
In #10973 I refactored FileAccessUnix::_open() but I accidentally made
it impossible to create new files.
This fixes that and fixes #10984
2017-09-05 01:14:14 +02:00
toger5
18917ad1d6
fixed log colors
2017-09-05 01:10:04 +02:00
Rémi Verschelde
27feafbe12
Merge pull request #10973 from hpvb/fix-file-access-unix
...
Make UNIX file access more correct
2017-09-05 00:33:20 +02:00
Rémi Verschelde
45800413d8
Merge pull request #10978 from Noshyaar/pr-meshlib
...
MeshLibrary: remove duplicated line
[ci skip]
2017-09-05 00:33:00 +02:00
Rémi Verschelde
efa50fbdfd
Merge pull request #10975 from hpvb/remove-null-check-from-cast-to
...
Remove NULL check from Object::cast_to()
2017-09-05 00:14:35 +02:00
Rémi Verschelde
0f63b68336
Merge pull request #10822 from hoelzl/toggle-button
...
Fix inconsistent toggle button behavior
2017-09-05 00:14:05 +02:00
Rémi Verschelde
77d5013f94
Merge pull request #10974 from henkz1/gles-10963
...
Don't compare float to int
2017-09-05 00:12:43 +02:00
Juan Linietsky
89e090edef
Fix ETC2 import for luminance/lumalpha textures, fixes #10421
2017-09-04 18:45:41 -03:00