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
bruvzg
801f0a041f
[macOS] Suppress momentum scrolling after key press or modifier change to prevent unexpected change of action.
2020-10-13 18:58:55 +03: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
opl-
e4d20ae373
Fix code duplication in CSharpScript
...
Removes code duplication between `CSharpScript::reload()` and `CSharpScript::initialize_for_managed_type()`.
Removes a redundant `CSharpScript::update_exports()` call in `CSharpLanguage::reload_assemblies()` as `CSharpScript::reload()` already calls it when appropriate.
Fixes missing update of RPC information in `CSharpScript::initialize_for_managed_type()`.
2020-10-13 06:46:34 +02:00
volzhs
cac4fedb2a
Respect Tree.set_icon_max_width size for drawing selection box
2020-10-13 10:38:32 +09:00
Arthur Paulino
0c9a1a1cd4
updating descriptions
2020-10-12 20:24:19 -03:00
Rémi Verschelde
a22c7eff0f
Merge pull request #42749 from KoBeWi/quality_pr
...
Bind missing constant in VisualScriptPropertyGet
2020-10-12 21:46:23 +02:00
Tomasz Chabora
aadc8d54a4
Bind missing constant in VisualScriptPropertyGet
2020-10-12 19:39:15 +02:00
Rémi Verschelde
3f7f4fb6f3
Merge pull request #42744 from qarmin/fix_leaks
...
Fixes leaks with shader and material
2020-10-12 18:20:03 +02:00
Rafał Mikrut
84a1817a75
Fixes leaks with shader and material
2020-10-12 18:06:47 +02:00
Lyuma
9f654b441f
core/command_queue_mt: Fix crash/hang when buffer fills up
...
This patch fixes two related issues. One is the race condition in issue #42107..
The other is a crash which happens when the reader is lapped near the end of the buffer.
2020-10-12 08:41:13 -07:00
Lyuma
48e8da4aac
core/command_queue_mt: Customizable size and tests
...
Adds unit tests for command_queue_mt.h/cpp
In this revision, some unit tests will fail due to issue #42107 .
2020-10-12 08:24:08 -07:00
volzhs
778e982cff
Show android device name when connected only one device
2020-10-12 21:47:00 +09:00
Fabio Alessandrelli
ab0907c1ba
Merge pull request #42684 from timothyqiu/conn-self-assign
...
Fix HTTPClient::poll crash after connection is self-assigned
2020-10-12 12:40:22 +02:00
Rémi Verschelde
d22791c271
doc: Sync classref with current source
2020-10-12 10:58:02 +02:00
Rémi Verschelde
d18eba4d18
Merge pull request #42733 from madmiraal/fix-41281
...
Ensure grid index is valid before trying to change value.
2020-10-12 10:55:53 +02:00
Rémi Verschelde
b3b5cd021c
Merge pull request #42732 from Anutrix/free-shader
...
Free a SortShader and a ParticlesCopyShader
2020-10-12 10:55:39 +02:00