Commit graph

30808 commits

Author SHA1 Message Date
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
Rémi Verschelde 2965d519cb
Merge pull request #42748 from qarmin/dont_clear_twice
Don't try to compare freed object to nullptr
2020-10-13 10:50:19 +02:00
Rémi Verschelde 5782b3355a
Merge pull request #41576 from FIF15/remove-redundant-property-enabled-focus-mode
Remove redundant property "enabled_focus_mode"
2020-10-13 10:50:00 +02:00
Rémi Verschelde 3941d30fda
Merge pull request #42632 from merriam/projectxmlsettings
Fix Typo ProjectSettings.xml, in Editor/Script Templates description
2020-10-13 10:30:50 +02:00
Rafał Mikrut 2ad5b7100b Don't try to compare freed object to nullptr 2020-10-13 10:27:49 +02:00
FIF15 0e7e25d488 Remove redundant property "enabled_focus_mode"
Fixes #41529.
2020-10-13 10:04:37 +02:00
Rémi Verschelde 1aa8f356e1
Merge pull request #42489 from auderer/tilemapeditor-refocus
Reset TileMapEditor painting state on application refocus
2020-10-13 10:00:04 +02:00
Rémi Verschelde 36e51a8d7e
Merge pull request #42737 from volzhs/android-run-tooltip
Show android device name when connected only one device
2020-10-13 09:57:48 +02:00
Rémi Verschelde f2002afae7
Merge pull request #42731 from opl-/fix/csharpscript-load-code-duplication
Fix code duplication in CSharpScript
2020-10-13 09:57:38 +02:00
Charles Merriam 5160a9f650 Fix typo in the ProjectSettings class documentation 2020-10-13 09:55:31 +02:00
Rémi Verschelde 4efcb4c442
Merge pull request #42592 from madmiraal/fix-42567
Initialise Bullet RigidBody friction to the expected value of 1.0
2020-10-13 09:51:53 +02:00
Rémi Verschelde 0df7793693
Merge pull request #42696 from arthurpaulino/update-kinematicbody2d-is-on-descriptions
Updating KinematicBody2D "is_on" functions' descriptions
2020-10-13 08:53:01 +02:00
Rémi Verschelde 7b11e8a8a2
Merge pull request #42758 from volzhs/tree-selection-box
Respect Tree.set_icon_max_width size for drawing selection box
2020-10-13 08:35:21 +02:00