Commit graph

22340 commits

Author SHA1 Message Date
Rémi Verschelde
2ca3e47d66
Merge pull request #22642 from YeldhamDev/inspector_metadata
Expose "meta" to the Inspector
2019-07-19 14:39:23 +02:00
Rémi Verschelde
b79303d39a
Merge pull request #30683 from bojidar-bg/30671-triplanar-binormal
Fix binormal sign when using triplanar mapping
2019-07-19 11:22:59 +02:00
Rémi Verschelde
617bbdb174
Merge pull request #29180 from fire/vs_type_hints
Visualscript: Add types for get and set.
2019-07-19 10:28:04 +02:00
K. S. Ernest (iFIre) Lee
bdf54a7f9e Visualscript: Add types for base type get and set. 2019-07-19 00:04:46 -07:00
Rémi Verschelde
40dec55916
Merge pull request #30600 from vortexofdoom/dualshock_joypad
Added DualShock Equivalents to Joypad Button 10 and 11
2019-07-19 09:00:42 +02:00
Rémi Verschelde
36182104e8
Merge pull request #30645 from Meriipu/document_tree_minwidth
Documented the Tree column behaviour of min_width in conjunction with expand
2019-07-19 08:59:02 +02:00
Rémi Verschelde
41500db735
Merge pull request #30686 from Calinou/enable-auto-brace-complete
Enable the script editor's "Auto Brace Complete" by default
2019-07-19 08:54:07 +02:00
Rémi Verschelde
1644c3bb86
Merge pull request #30674 from FlamyAT/patch-1
Added missing InputEvent documentation
2019-07-19 08:44:45 +02:00
Rémi Verschelde
47ab209b55
Merge pull request #30684 from Calinou/improve-assetlib-image-display
Improve preview and screenshot display in the asset library
2019-07-19 07:14:50 +02:00
Hugo Locurcio
755689b0e9
Enable the script editor's "Auto Brace Complete" by default
This also adds a setting hint for the "Code Complete Delay" setting
and cleans up some duplicated default setting values.

This closes #30662.
2019-07-18 21:42:10 +02:00
Hugo Locurcio
ddf83d93b3
Improve preview and screenshot display in the asset library
Images are now resized with Lanczos interpolation for higher quality.
Video thumbnails now display a "pointing hand" cursor when hovered
as they will open in an external browser.
2019-07-18 20:10:30 +02:00
Bojidar Marinov
bdffdd7e38
Fix binormal sign when using triplanar mapping
Fixes #30671
2019-07-18 19:31:45 +03:00
Rémi Verschelde
20a3bb9c48
Merge pull request #30226 from lawnjelly/interpolate
Add access to interpolation fraction for fixed timestep interpolation
2019-07-18 15:44:14 +02:00
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