Commit graph

30822 commits

Author SHA1 Message Date
clayjohn 8c21c26fb5 Add aerial perspective to fixed fog 2020-10-17 10:53:07 -07:00
Rémi Verschelde 5b6a22e275
Merge pull request #42867 from aaronfranke/cs_get_str_bytes
Add GetStringFromUTF8 and GetStringFromASCII to C#
2020-10-17 15:42:47 +02:00
Aaron Franke 029de52001
Add GetStringFromUTF8 and GetStringFromASCII 2020-10-17 04:17:29 -04:00
Rémi Verschelde 94e5f66cbb
Merge pull request #42679 from Xrayez/ci-sconsflags
CI: Refactor build workflows to use `SCONSFLAGS`
2020-10-16 15:36:24 +02:00
Andrii Doroshenko (Xrayez) 2946535a6f CI: Refactor build workflows to use SCONSFLAGS 2020-10-16 14:41:30 +02:00
Rémi Verschelde eb3d7f29be
Merge pull request #42845 from umarcor/ci/no-set-env
ci: do not use set-env
2020-10-16 14:29:38 +02:00
umarcor 935170c6d1 ci: do not use set-env 2020-10-16 05:11:28 +02:00
Rémi Verschelde 88a3db5bff
Merge pull request #42315 from lyuma/command_queue_fix
core/command_queue_mt.h: Fix crash/hang when buffer fills up
2020-10-15 22:35:44 +02:00
Rémi Verschelde 1b443da182
Merge pull request #42837 from Calinou/fix-fog-volumetric-sky
Fix "fixed" fog drawing in front of volumetric fog with a sky background
2020-10-15 22:34:40 +02:00
Hugo Locurcio 4357506e64
Fix "fixed" fog drawing in front of volumetric fog with a sky background
This closes #42820.

Co-authored-by: Clay John <claynjohn@gmail.com>
2020-10-15 21:59:08 +02:00
Rémi Verschelde 4dce52e4cb
Merge pull request #42422 from umarcor/upload-artifacts
CI: upload artifacts
2020-10-15 20:54:25 +02:00
umarcor b8855ed732 CI: upload artifacts
Set retention-days of all artifacts to 14.
2020-10-15 20:32:16 +02:00
Rémi Verschelde f55468ae95
Merge pull request #42831 from akien-mga/ci-ls-artifacts
CI: List contents of bin/ after build
2020-10-15 20:07:59 +02:00
Rémi Verschelde 69e958b48d
CI: List contents of bin/ after build
This can be used to compare impacts on the generated files
and especially their size in PRs.
2020-10-15 19:50:49 +02:00
Rémi Verschelde ea21b8ff83
Merge pull request #42823 from madmiraal/update-intersect_point-doc
Update intersect_point documentation to mention solid shapes.
2020-10-15 18:40:36 +02:00
Rémi Verschelde 14e3d68dd9
Merge pull request #42778 from madmiraal/remove-get_layers
Remove old RigidBody get_layers() methods.
2020-10-15 18:40:21 +02:00
Marcel Admiraal e496db79d8 Update intersect_point documentation to mention solid shapes. 2020-10-15 16:44:57 +01:00
Rémi Verschelde 5971a97a0c
Merge pull request #42649 from madmiraal/reapply-41806
Reapply -Avoid adding margin twice along capsule Y axis
2020-10-15 17:20:22 +02:00
Yuri Roubinsky e273f83be3
Merge pull request #42818 from Chaosus/vs_expressions
Fix visual shader node expression undo/redo for set_size and expression
2020-10-15 16:27:22 +03:00
Yuri Roubinsky 8351266117 Fix visual shader node expression undo/redo for set_size and expression 2020-10-15 16:11:38 +03:00
Rémi Verschelde e927f54170
Merge pull request #42804 from RandomShaper/fix_fft_window
Fix application of window in FFT
2020-10-15 13:21:33 +02:00
Rémi Verschelde d76eb0b491
Merge pull request #42814 from Calinou/fix-soft-shadow-hint
Fix typo in soft shadow quality project settings hints
2020-10-15 11:39:16 +02:00
Yuri Roubinsky 17fc3bed5f
Merge pull request #42813 from Chaosus/vs_fix_ops
Fix copy/paste/duplicate for particle mode in visual shaders
2020-10-15 12:01:06 +03:00
Rémi Verschelde 24670c5a6f
Merge pull request #42812 from Calinou/doc-multimesh-set-instance-color
Clarify that `MultiMesh.set_instance_color()` multiplies vertex colors
2020-10-15 10:55:26 +02:00
Yuri Roubinsky 1fee310a9a Fix copy/paste/duplicate for particle mode in visual shaders 2020-10-15 11:33:06 +03:00
Hugo Locurcio b44de3c6b1
Fix typo in soft shadow quality project settings hints 2020-10-15 10:31:35 +02:00
Rémi Verschelde b84f9b0068
Merge pull request #42791 from Faless/editor/drag_drop_copy_all
EditorNode now copies all drag and dropped files.
2020-10-15 10:29:12 +02:00
Rémi Verschelde cb3d5b6dda
Merge pull request #42789 from Faless/js/4.0_html_editor_first_iteration
[HTML5] Editor prototype
2020-10-15 10:28:59 +02:00
Hugo Locurcio 6975bd106a
Clarify that MultiMesh.set_instance_color() multiplies vertex colors
This closes https://github.com/godotengine/godot-docs/issues/4273.
2020-10-15 10:19:20 +02:00
Yuri Roubinsky 075a8baa36
Merge pull request #42808 from Chaosus/vs_delete_refactor
Refactor delete nodes functions in visual shader editor
2020-10-15 10:38:03 +03:00
Yuri Roubinsky 9b5d6f785b Refactor delete nodes functions in visual shader editor 2020-10-15 10:24:27 +03:00
Pedro J. Estébanez 257ba4a7fb Fix application of window in FFT 2020-10-15 01:57:17 +02:00
Rémi Verschelde 0dd111673d
Merge pull request #42798 from Calinou/doc-rng-tutorial
Link the Random number generation tutorial in the class reference
2020-10-14 22:26:47 +02:00
Hugo Locurcio 802c1e4df1
Link the Random number generation tutorial in the class reference 2020-10-14 18:03:29 +02:00
Rémi Verschelde 60531111e7
Merge pull request #42780 from reduz/refactor-core-type-bindings
Refactored binding system for core types
2020-10-14 15:41:22 +02:00
reduz b8c64184c6 Refactored binding system for core types
Moved to a system using variadic templates, shared with CallableBind.

New code is cleaner, faster and allows for much better optimization of core
type functions from GDScript and GDNative.

Added Variant::InternalMethod function for direct call access.
2020-10-14 15:24:30 +02:00
Fabio Alessandrelli 410b324740 EditorNode now copies all drag and dropped files.
The editor used to only copy drag-dropped files in the File System pane
if the given file was a valid resource, or had a specific file format
(ttf, otf).
With this PR, all drag and dropped files are copied instead, no matter
their extension.
2020-10-14 12:40:18 +02:00
Fabio Alessandrelli c54de7f589 [HTML5] Add JavaScriptToolsEditorPlugin.
A new editor plugin, specific to HTML5, that provide some extra features
needed to make the editor usable on that platform.

For now, it adds a "Download project sources" option in the "Tool" menu,
so the user can download the work done as a zip file (from the browser
storage).
2020-10-14 12:31:20 +02:00
Fabio Alessandrelli 3dfb769115 Add JavaScript editor html file. 2020-10-14 11:20:50 +02:00
Fabio Alessandrelli ec396c7707 [HTML5] Close IDBFS database on exit.
This should be made available in emscripten in a decent way.
Possibly after unmount, to free the database lock and allow performing
operations on it from javascript after the Emscripten Runtime has
exited.
2020-10-14 11:20:37 +02:00
Fabio Alessandrelli 6769dd64fc [HTML5] Expose request_quit via Engine class.
So it can be called when closure compiler is enabled.
2020-10-14 11:15:24 +02:00
Fabio Alessandrelli c3b7c5cc2d Increase HTML5 THREADPOOL size.
This fixes a "random" deadlock when quitting the editor.
I still haven't figure out the root cause, but having a bigger seems to
greatly mitigate the issue.
The new pool size (pre-allocated threads) is now 8.
2020-10-14 11:13:12 +02:00
Rémi Verschelde bc91e088e4
Merge pull request #42776 from Paulb23/code_edit_draw_delay
Fixed main gutter not drawing on item toggle
2020-10-13 19:36:33 +02:00
Paulb23 0d0a856ad5 Fixed main gutter not drawing on item toggle 2020-10-13 18:01:59 +01:00
Marcel Admiraal a17fdaef09 Remove old RigidBody layers property and methods. 2020-10-13 16:59:49 +01:00
Yuri Roubinsky 1dbfd4c3e8
Merge pull request #42763 from Chaosus/shader_emit_autocompletion
Fix autocompletion for emit_particle in shader editor
2020-10-13 16:01:37 +03:00
Yuri Roubinsky 6914597026 FIx autocompletion for emit_particle in shader editor 2020-10-13 14:12:51 +03:00
Fabio Alessandrelli 4294b1f4bb Fix dummy rasterizer with new interface. 2020-10-13 12:58:05 +02:00
Rémi Verschelde 7baefe812a
Merge pull request #42604 from KoBeWi/da100mp
Correct the doc about linear damping
2020-10-13 11:53:01 +02:00
Tomasz Chabora ebca7d4e4e Correct the doc about linear damping 2020-10-13 11:41:18 +02:00