Commit graph

22516 commits

Author SHA1 Message Date
unknown
b0e44c9e5d Removed an unused commit 2019-07-20 14:40:09 +05:30
Rémi Verschelde
0142a54a16
Merge pull request #30696 from ivhilaire/fix/pluginscript-unregister-class
Remove added pluginscript resource format loaders and savers on cleanup
2019-07-20 10:16:40 +02:00
qarmin
6cbaf7662f Changed some code showed in LGTM and Coverage 2019-07-20 08:09:57 +02:00
Hanif A
4dc717ea07
Make comparison operator== const
`operator==` of EditorAutoloadSettings is not const for whatever reason...
2019-07-19 21:52:30 -04:00
Rémi Verschelde
e44041ae41
Merge pull request #30695 from YeldhamDev/big_text_focus
Make multiline text edit grab focus when popping up
2019-07-19 23:01:38 +02:00
Rémi Verschelde
0bf930c117
Merge pull request #30692 from qarmin/null_pointer_to_function
Don't allow to pass to _is_node_locked function NULL pointer
2019-07-19 22:04:33 +02:00
Bojidar Marinov
4f72178868
Make custom types more subtle and more useful
Implements #6067 (aaronfranke's idea)
Fixes #26980
2019-07-19 22:33:58 +03:00
unknown
1b4d3f7d56 Changed large const string values to string ref in some assimp functions 2019-07-20 00:53:21 +05:30
Ivan Hilaire
5d88f74677 Remove added pluginscript resource format loaders and savers on cleanup
Properly release added resource loader and save references. Otherwise PluginScript API
may cause "ObjectDB Instances still exist!" warnings and segmentation faults on exit.
2019-07-19 22:13:44 +03:00
Michael Alexsander Silva Dias
df9c890022 Make multiline text edit grab focus when popping up 2019-07-19 14:32:23 -03:00
Rémi Verschelde
c317a3ce16
Merge pull request #30354 from LikeLakers2/multinodeedit-same-type-properties
MultiNodeEdit now only shows properties with the exact same PropertyInfo data
2019-07-19 17:58:17 +02:00
qarmin
ed84c9e506 Don't allow to pass to _is_node_locked function NULL pointer 2019-07-19 17:56:35 +02:00
Rémi Verschelde
e12f3a9bfd
Merge pull request #21833 from StraToN/wrap-in-new-node
Adds contextual item in scene tree dock to wrap selection in a new node
2019-07-19 17:49:48 +02:00
Julian Murgia
249fdd9f80 Adds contextual item in scene tree dock to wrap selection in a new node
Fixes #20187
2019-07-19 16:46:13 +02:00
Rémi Verschelde
9384b6ab0e i18n: Sync translation template with current source
Fix a few typos in new strings.
2019-07-19 16:08:40 +02:00
Rémi Verschelde
0d779e7777 i18n: Sync translations with Weblate 2019-07-19 15:45:00 +02:00
Rémi Verschelde
21a2cd1a04
Merge pull request #23270 from silvanocerza/remote_scene_tree_filter
Implemented remote scene tree filtering
2019-07-19 15:38:07 +02:00
Rémi Verschelde
f796779f7c
Merge pull request #23310 from aaronfranke/posmod-int
Add integer posmod and rename default arg names
2019-07-19 15:07:49 +02:00
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
Aaron Franke
a60f242982 Add integer posmod and rename default arg names
"posmod" is the integer version of "fposmod". We do not need a "mod" because of the % operator.

I changed the default arg names from "x" and "y" to "a" and "b" because they are not coordinates. I also changed pow's arg names to "base" and "exp". Also, I reorganized the code in the VS built-in funcs switch statement.
2019-07-18 16:33:43 -04: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
Jon Ring
4474e01761 Update documentation for new VehicleWheel members 2019-07-18 14:51:41 -04:00
Jon Ring
18103f2b89 Add per-wheel throttle, brake, and steering for vehicles 2019-07-18 14:16:28 -04: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