Commit Graph

28137 Commits

Author SHA1 Message Date
Yuri Roubinsky 082542b525 Added uniform qualifiers to visual shaders 2020-05-05 11:25:48 +03:00
Rémi Verschelde 1c23a0cc7f
Merge pull request #38465 from madmiraal/fix-38457
Check for empty vectors before trying to access a pointer to the first element in Octree<T, use_pairs, AL>::cull_convex().
2020-05-05 08:04:04 +02:00
janglee be7a353c70 Improved go-to definition (Ctrl + Click)
Co-Authored-By: Bojidar Marinov <bojidar.marinov.bg@gmail.com>
2020-05-05 10:46:12 +05:30
Max Hilbrunner 2435d4bdb9
Merge pull request #38466 from Calinou/doc-normal-map-coordinates
Document the expected normal map coordinate system where relevant
2020-05-05 01:17:44 +02:00
Hugo Locurcio d8808fba85
Document the expected normal map coordinate system where relevant 2020-05-04 22:46:47 +02:00
Marcel Admiraal 54c36adbec Check for empty vectors before trying to access a pointer to the first
element in Octree<T, use_pairs, AL>::cull_convex().
2020-05-04 21:02:58 +01:00
Rémi Verschelde f7ca1c805b doc: Sync classref with current source 2020-05-04 16:55:01 +02:00
Rémi Verschelde 878adb22b7
Merge pull request #37717 from qarmin/world_fix
Change non-existent World to World3D
2020-05-04 16:37:40 +02:00
Rémi Verschelde 560510b93b
Merge pull request #38446 from qarmin/navigation_polygon_type
Fixes type of array in _set_outlines function
2020-05-04 16:36:16 +02:00
Rémi Verschelde 97c787b84d
Merge pull request #37937 from HaSa1002/fix-pck
Priorize Embedded PCKs on loading
2020-05-04 16:14:39 +02:00
Rémi Verschelde 69f36cea8c Revert "Emit signal when animation ends by seek"
This reverts commit bf1cc116e1.

This needs more discussion to avoid breaking some users' expectations.
See #38086 for arguments.
2020-05-04 16:09:19 +02:00
HaSa1002 fba98950c7 Priorize Embedded PCKs on loading
If existing, embedded PCKs are loaded before the pcks the engine might
find next to it.

Fixes #37568
2020-05-04 15:24:25 +02:00
Rémi Verschelde a6d83f7f3d
Merge pull request #38439 from bruvzg/mouse_pressure
Make non pressure sensitive device behavior consistent.
2020-05-04 12:49:29 +02:00
qarmin 4af274756f Fixes type of array in _set_outlines function 2020-05-04 07:39:40 +02:00
bruvzg 0128947894
[Linux/Windows] Set pressure to 1.0f when primary button is pressed and device is not pressure sensitive. 2020-05-03 20:13:01 +03:00
Rémi Verschelde 2df844d5b3
Merge pull request #38376 from dreamsComeTrue/duplicate-nodes-fix
Proper naming and ordering when Duplicate nodes in SceneTreeDock
2020-05-03 18:18:04 +02:00
Rémi Verschelde cf398b8ee0
Merge pull request #38392 from Enhex/patch-1
fix typo
2020-05-03 18:17:30 +02:00
Rémi Verschelde ec542db782
Merge pull request #38394 from reduz/implement-skew
Implement Skew in Node2D
2020-05-03 18:17:08 +02:00
Rémi Verschelde 5940ca650e
Merge pull request #38406 from clayjohn/VULKAN-sun-diameter
Calculate sun diameter even when not using shadows
2020-05-03 18:14:36 +02:00
Rémi Verschelde 09442638ee
Merge pull request #38420 from zzz-assault/Tilemap_update-bitmask-region
Tilemap: Fix performance issue in fallback of update_bitmask_region
2020-05-03 18:12:54 +02:00
Rémi Verschelde 687f02dd01
Merge pull request #38431 from underdoeg/renderingdevice_gdscript_singleton
register RenderingDevice as gdscript singleton
2020-05-03 18:10:03 +02:00
Rémi Verschelde 78db7824b7
Merge pull request #37756 from madmiraal/fix-x11-pressure-tilt
Fix X11 pressure and tilt values.
2020-05-03 18:09:33 +02:00
Philip Whitfield 1058a57666 register RenderingDevice as gdscript singleton 2020-05-03 12:01:38 +02:00
Rémi Verschelde 3c200b23fb
Merge pull request #32534 from Xrayez/fix-dict2inst-init
Make `dict2inst` to work with arbitrary `_init` parameters
2020-05-03 09:58:07 +02:00
Rémi Verschelde 1309bfa97a
Merge pull request #38275 from DSteve595/indented-block-line
Mark "Indented block expected" error after function declaration
2020-05-03 09:57:29 +02:00
Rémi Verschelde 29c7023798
Merge pull request #38421 from Calinou/remove-cpp11-polyfills
Remove some C++11 polyfill defines that are no longer needed
2020-05-03 09:53:49 +02:00
Rémi Verschelde a928a10e83
Merge pull request #38422 from RandomShaper/fix_stb_vorbis
Fix crash in stb_vorbis.c
2020-05-03 09:52:35 +02:00
Eric M 27ada5c114 Stopped trying to revert to default values when script implementation of property_can_revert exists 2020-05-03 16:54:58 +10:00
Thakee Nathees ce978517e0 parser error for static func access non-static variables
Fix: #38408
2020-05-03 11:45:11 +05:30
Pedro J. Estébanez d259094c3a Fix crash in stb_vorbis.c 2020-05-03 02:22:33 +02:00
Steven Schoen e6e5ba32cd Mention offending function name in "Indented block expected" error 2020-05-02 17:10:34 -07:00
Hugo Locurcio 596d426151
Remove some C++11 polyfill defines that are no longer needed 2020-05-03 00:42:04 +02:00
Thomas Riedmair e0f084b924 Fix performance issue in update_bitmask_region fallback 2020-05-03 00:27:47 +02:00
Marcel Admiraal 4409f3cc68 Fix array slicing. 2020-05-02 14:42:16 +01:00
Rémi Verschelde f5cd33f39d
Merge pull request #38413 from BastiaanOlij/add_missing_6dofjoint_enums
Added missing spring enums for generic_6dof_joint
2020-05-02 14:16:51 +02:00
Bastiaan Olij 45d1f41837 Added missing spring enums for generic_6dof_joint 2020-05-02 21:49:56 +10:00
clayjohn 34ee273e20 Calculate sun diameter even when not using shadows 2020-05-01 22:22:35 -07:00
Rémi Verschelde d2887ea78b
Merge pull request #38395 from Calinou/doc-tween-fix-rst-conversion
Tweak Tween cheatsheet link formatting to avoid rST conversion bug
2020-05-01 21:02:25 +02:00
Hugo Locurcio e8a2fa6b7d
Tweak Tween cheatsheet link formatting to avoid rST conversion bug
reStructuredText doesn't allow embedding links in bold/italic text.
2020-05-01 18:43:55 +02:00
Juan Linietsky efb1f7d76b Implement Skew in Node2D
Skew is x-axis only, because it must be bidirectionally convertible to a 2x3 matrix, but you can subtract it  to the rotation to get the effect on y-axis
2020-05-01 13:38:04 -03:00
PouleyKetchoupp aacf69bad2 Format remote printerr properly in script debugger output 2020-05-01 18:23:51 +02:00
Enhex aaf5a58b44
fix typo 2020-05-01 18:52:08 +03:00
Thakee Nathees b9acf1cedf method bind TextEdit::set_line() added 2020-05-01 18:37:12 +05:30
Rémi Verschelde 316b60aa68
Merge pull request #38380 from dreamsComeTrue/soft-reload-scripts-shortcut
Fix Soft Reload Script shortcut clash with Replace in Files
2020-05-01 15:01:43 +02:00
Rémi Verschelde b77f0e83ca
Merge pull request #38346 from jitspoe/master.fix_uninitialized_particle_param
Fix custom w component being uninitialized on CPU particles.
2020-05-01 14:58:10 +02:00
Hugo Locurcio ccc4f3899c
Increase the default Camera3D field of view to 75
A vertical FOV of 75 degrees is roughly equivalent to a 91 degree
horizontal FOV on a 4:3 display (~107.51 degrees on 16:9),
which is close to the typical default FOV used in PC games.

Note that this doesn't apply to the in-editor camera which keeps its
FOV to 70. This is because it doesn't display in fullscreen;
its viewport only displays in the center of the editor (roughly).
This means the viewport won't cover the viewer's eyes as much. Therefore,
the editor camera FOV should be slightly lower to account for this.

Since this changes the default value, this may break existing projects
slightly.

For the record, this was already done in
https://github.com/godotengine/godot-demo-projects/pull/260
for the official demo projects.
2020-05-01 14:03:27 +02:00
Fabio Alessandrelli d883b90988
Merge pull request #38105 from AndreaCatania/AndreaCatania-patch-2
Removed noisy ERR check from Multiplayer API.
2020-05-01 13:53:55 +02:00
Fabio Alessandrelli c7e662199f
Merge pull request #37414 from Schroedi/fix_html_mouse_input
Move wheel handlers from window to canvas element in HTML
2020-05-01 12:51:35 +02:00
Rémi Verschelde 7cd43c17e9 i18n: Sync translate template for class reference 2020-05-01 12:46:46 +02:00
Rémi Verschelde b0c0d506b6 doc: Sync classref with current source 2020-05-01 12:46:05 +02:00