Commit Graph

22632 Commits

Author SHA1 Message Date
FlamyAT
2046d7b87a
Added missing InputEvent documentation 2019-07-18 12:03:28 +02:00
Rémi Verschelde
708092f037
Merge pull request #30656 from Calinou/lower-directional-shadow-max-distance
Lower the default directional shadow maximum distance to 100
2019-07-18 09:35:45 +02:00
Rémi Verschelde
950153757b
Merge pull request #30648 from NilsIrl/useless_casts
Remove useless casts to String
2019-07-18 09:34:55 +02:00
Rémi Verschelde
aa8c4ed712
Merge pull request #30641 from YeldhamDev/assetlib_minor_improvements
Minor improvements to the AssetLib
2019-07-18 09:34:29 +02:00
Rémi Verschelde
41968a6cb9
Merge pull request #30663 from bojidar-bg/30269-stack-underflow
Fix stack underflows when yielding twice
2019-07-18 08:40:48 +02:00
Bojidar Marinov
8336590154
Fix stack underflows when yielding twice
Also, refactor GDScriptFunctionState::_signal_callback, removing some excessive repetition.
Fixes #30269.
2019-07-17 23:48:49 +03:00
Rémi Verschelde
72b5a9e476
Merge pull request #30655 from Xrayez/bmp-compression-fix
Fix BMP loader to distinguish between compression types
2019-07-17 21:18:10 +02:00
Rémi Verschelde
fa4cb80a1e
Merge pull request #30657 from hadrien-psydk/optimize_dir_access_unix_get_next
Optimize DirAccessUnix::get_next() for some file systems
2019-07-17 21:14:26 +02:00
Hadrien
1898a559a9 Optimize DirAccessUnix::get_next() for some file systems
On some file systems, like ext4 on Linux, readdir() gives enough
information to determine the entry type in order to avoid doing
a stat() system call.

Use this information and call stat() only if necessary.
2019-07-17 20:34:37 +02:00
Hugo Locurcio
ce8a54b634
Lower the default directional shadow maximum distance to 100
With the default camera node settings, this makes directional shadows
look consistent between the editor and the running project.

The original issue occurs because the editor camera defaults to a
Z-far value of 500, whereas the Camera node defaults to a Z-far
value of 100. Since the directional shadow maximum distance is clamped
to the Z-far value, it caused the running project's effective shadow
distance to be lower compared to the editor (100 instead of 200).

This partially addresses #13575.
2019-07-17 20:01:40 +02:00
Andrii Doroshenko (Xrayez)
422a8ffe02 Fix BMP loader to distinguish between compression types
Some of the values in compression enumeration represent uncompressed formats:

https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-wmf/4e588f70-bd92-4a6f-b77f-35d0feaf7a57

This allows the loader to proceed with uncompressed formats.
Note that loading compressed BMP's is still not supported.
2019-07-17 20:28:35 +03:00
Michael Alexsander Silva Dias
19d261336b Minor improvements to the AssetLib 2019-07-17 12:35:57 -03:00
Meriipu
94c5e6a97e Document Tree column behaviour of min_width in conjunction w expand 2019-07-17 13:52:57 +02:00
Nils ANDRÉ-CHANG
074115338e Remove useless casts to String 2019-07-17 11:31:42 +01:00
Rémi Verschelde
d087a9e328
Merge pull request #30647 from Calinou/add-scons-platform-list
Add a `platform=list` SCons argument to list platforms
2019-07-17 12:12:39 +02:00
Hugo Locurcio
b07e46c59f
Add a platform=list SCons argument to list platforms
This also improves the message display and makes an invalid selection
exit with a non-zero status code.
2019-07-17 11:28:07 +02:00
Rémi Verschelde
4d99e73967
Merge pull request #30646 from Meriipu/document_TreeItem_disable_button
documented TreeItem.set_button_disabled
2019-07-17 11:20:07 +02:00
Rémi Verschelde
96cbbffac7
Merge pull request #30608 from sparkart/fix-script-not-clearing-when-renamed
Fix losing scene modifications when renaming file
2019-07-17 11:09:34 +02:00
Rémi Verschelde
c59c2871a2
Merge pull request #30634 from Xrayez/fix-bmp-table-assertion
Fix BMP loader incorrectly interpreting color table size
2019-07-17 10:44:24 +02:00
Meriipu
e5f4a85a7e documented set_button_disabled 2019-07-17 10:22:02 +02:00
Rémi Verschelde
e30a137548
Merge pull request #30633 from creikey/fix-headless-export-crash
Fix headless export crash
2019-07-17 09:58:24 +02:00
Rémi Verschelde
1d13567345
Merge pull request #30570 from SonerSound/gles2_inconsistent_fix
Fix inconsistent lighting in GLES2
2019-07-17 09:56:44 +02:00
Rémi Verschelde
8abc59b83c
Merge pull request #30626 from creikey/fix-anchor-helpers
Lower priority of anchor helper input
2019-07-17 09:55:22 +02:00
Rémi Verschelde
fabed73005
Merge pull request #30625 from bojidar-bg/27880-curvetexture-save-to-png
Fix CurveTexture being listed as saveable to .png
2019-07-17 09:39:48 +02:00
Rémi Verschelde
5230546d4f
Merge pull request #30624 from bojidar-bg/29955-invalid-write-audiostreamsample
Fix invalid write in AudioStreamSample::save_to_wav
2019-07-17 09:28:28 +02:00
Rémi Verschelde
14e6760d56
Merge pull request #30631 from fire/update_xatlas
Update xatlas to f65a664.
2019-07-17 09:15:29 +02:00
Cameron Reikes
0584911f9f CameraServer is needed for editor node
- Editor asks ClassDB for docs
 - ClassDB asks CameraFeed for default parameters
 - In CameraFeed's constructor, polls CameraServer
2019-07-16 15:45:40 -07:00
Andrii Doroshenko (Xrayez)
d5c5aabbf2 Fix BMP loader incorrectly interpreting color table size
Color table should exist for images with bit count <= 8. Importing 16-bit
BMP images could also likely have a color table but they're not currently
supported in Godot.
2019-07-17 01:43:33 +03:00
K. S. Ernest (iFIre) Lee
a04e99ce4d Update xatlas to f65a664.
xatlas is now multicore.
2019-07-16 14:35:56 -07:00
Cameron Reikes
d4bed7586d Lower priority of anchor helper input
- Fixes #30132
2019-07-16 11:33:40 -07:00
Bojidar Marinov
65bb76ab35
Fix CurveTexture being listed as saveable to .png
Fixes #27880
2019-07-16 21:19:53 +03:00
Bojidar Marinov
ea949ab873
Fix invalid write in AudioStreamSample::save_to_wav
Fixes #29955
2019-07-16 20:58:00 +03:00
Rémi Verschelde
22c843b0c4
Merge pull request #30602 from n-k-chilagani/first_time
Fixed Make 3D viewport locked nodes unselectable as in 2D viewport
2019-07-16 11:35:16 +02:00
Nikhil Kumar
600c153076 Fixed Make 3D viewport locked nodes unselectable as in 2D viewport #29903 2019-07-16 14:19:20 +05:30
Rémi Verschelde
df62bfdd49
Merge pull request #30548 from Calinou/tweak-audio-cutoff-property-hints
Tweak audio cutoff property hints to allow reasonable values only
2019-07-16 08:54:25 +02:00
Rémi Verschelde
0ad6a1c66e
Merge pull request #30561 from Calinou/2d-guides-use-resize-cursors
Use resize cursors when hovering or dragging guides in the 2D editor
2019-07-16 08:54:04 +02:00
Rémi Verschelde
7b1ee28a03
Merge pull request #30567 from NilsIrl/static_func_inside_class
Show static functions inside classes in method list
2019-07-16 08:53:02 +02:00
Rémi Verschelde
58d0fb1254
Merge pull request #30579 from NilsIrl/from_if_to_switch
Use switch instead of if statement in editor_node.cpp
2019-07-16 08:48:34 +02:00
Rémi Verschelde
a239727cfd
Merge pull request #30604 from YeldhamDev/line_align_caret_fix
Fix incorrect caret position when clicking a 'LineEdit' with a non-left alignment
2019-07-16 08:20:58 +02:00
Yuri Roubinsky
6b9d502195
Merge pull request #30611 from Chaosus/local_array_init_fix
Allows to use non-constants in the local shader array initializer
2019-07-16 09:11:59 +03:00
Chaosus
cfcc9ee9c1 Allows to use non-constants in the local shader array initializer 2019-07-16 08:04:49 +03:00
Yuri Roubinsky
8202ba2212
Merge pull request #30596 from Chaosus/shader_array_init
Added local shader array initializer
2019-07-16 07:54:49 +03:00
Chaosus
9379cbc774 Added local array initializer 2019-07-16 07:13:37 +03:00
Emmanuel Barroga
2350af5e70 Fix losing scene modifications when renaming file
Closes: #30436

When renaming/moving a file in the filesystem docker, changes on a scene that has dependencies on the file being renamed/moved are lost.

To resolve this, this patch saves the scenes that depend on the file first, to save its current state.
2019-07-15 20:50:03 -07:00
Michael Alexsander Silva Dias
d91346f720 Fix incorrect caret position when clicking a 'LineEdit' with a non-left alignment 2019-07-15 19:32:41 -03:00
Rémi Verschelde
efd55631e2 doc: Sync classref with current source 2019-07-15 20:45:30 +02:00
Rémi Verschelde
7d413f075c
Merge pull request #30590 from clayjohn/particle_life
Added individual particle random lifetime
2019-07-15 20:40:57 +02:00
Rémi Verschelde
cad5834b88
Merge pull request #30563 from NathanWarden/texels_per_unit_doc
Documentation for texels per unit on BakedLightmap.
2019-07-15 20:39:50 +02:00
Daniel Larson
ba6fbe5fa7 Added DualShock Equivalents to Joypad Button 10 and 11 2019-07-15 11:56:41 -05:00
Nils ANDRÉ-CHANG
7a1b399df2 Use switch instead of if statement 2019-07-15 17:21:34 +01:00