Commit graph

29953 commits

Author SHA1 Message Date
Brian Semrau 69d1c48b73 Fixed shader editor comment highlighting 2020-07-28 15:16:24 -04:00
Yuri Roubinsky af598858c7
Merge pull request #40802 from Chaosus/vs_fix_preview_color
Fix functions name color in visual shader code preview and expressions
2020-07-28 21:39:12 +03:00
Yuri Roubinsky a33171ad23 Fix functions name color in visual shader code preview and expressions 2020-07-28 20:58:23 +03:00
Rémi Verschelde a1ca21f46d
Merge pull request #40792 from briansemrau/fix-next-pass-not-drawing
Fixed Shader Material next_pass not being drawn
2020-07-28 18:31:26 +02:00
Rémi Verschelde 91b21e5fbc
Merge pull request #40676 from Xrayez/test-variant
Add test suite for `Variant`
2020-07-28 18:27:44 +02:00
Andrii Doroshenko (Xrayez) 3f77056dc6 Add test suite for Variant
Added a test case for `VariantWriter` and `VariantParser` overflows.
2020-07-28 18:34:55 +03:00
Brian Semrau 63dfe79fbe Fixed next_pass materials not being drawn 2020-07-28 10:51:41 -04:00
Wilson E. Alvarez e264ae20d2
Check if global class file still exists before registering it 2020-07-28 09:25:34 -04:00
Yuri Roubinsky cf03f90fa8
Merge pull request #40785 from Chaosus/vs_uniform_ref
Added UniformRef visual shader node
2020-07-28 16:17:37 +03:00
Yuri Roubinsky 7ddaff47a3 Added UniformRef visual shader node 2020-07-28 14:44:53 +03:00
Rémi Verschelde eb0a67c6b8
Merge pull request #40754 from Chaosus/vs_default_uniforms
Added default value for uniforms in visual shaders
2020-07-28 13:40:49 +02:00
Rémi Verschelde 12feb9d633 i18n: Sync translations with Weblate
(cherry picked from commit ed20772c09)
2020-07-28 13:08:52 +02:00
Rémi Verschelde 2efba27089
Merge pull request #40783 from aaronfranke/bom
Fix incorrect comments in file formatting script
2020-07-28 10:02:59 +02:00
Aaron Franke 05a418f9e6
Fix incorrect comments in file formatting script 2020-07-28 03:16:36 -04:00
Rémi Verschelde a5f6c24734
Merge pull request #40768 from ConorLPBoyle/skeletonik-reload-goal-fix
Fixed reload_goal not being called when SkeletonIK3D::start is invoke…
2020-07-28 09:12:45 +02:00
Rémi Verschelde a6916d1f17
Merge pull request #40678 from aaronfranke/string-float64
Make all String float conversion methods be 64-bit
2020-07-28 01:27:34 +02:00
Rémi Verschelde 932b75e247 doc: Sync classref with current source 2020-07-28 01:08:44 +02:00
Aaron Franke 56e2c6c704
Make all String float conversion methods be 64-bit 2020-07-27 18:38:53 -04:00
Rémi Verschelde 4e825539e5
Merge pull request #40762 from SkyLucilfer/PackedSceneLeak
Fix EditorTranslationParser leak
2020-07-28 00:31:46 +02:00
Rémi Verschelde 5f28ab6566
Merge pull request #40771 from Xrayez/scons-verbose-builders
SCons: Refactor running commands through builders
2020-07-28 00:30:55 +02:00
Rémi Verschelde 3edcccafd9
Merge pull request #40777 from Nhiqill/fix_mono_nested_class_reload
Pop from front to avoid infinite loop with nested classes
2020-07-28 00:26:14 +02:00
Andrii Doroshenko (Xrayez) d86de6c98e SCons: Refactor running commands through builders
A new `env.Run` method is added which allows to control the verbosity
of builders output automatically depending on whether the "verbose"
option is set. It also allows to optionally run any SCons commands in a
subprocess using the existing `run_in_subprocess` method, unifying
the interface. `Action` objects wrap all builder functions to include a
short build message associated with any action.

Notably, this removes quite verbose output generated by `make_doc_header`
and `make_editor_icons_action` builders.
2020-07-28 00:09:21 +03:00
Rémi Verschelde f93c04d8ef
Merge pull request #40776 from akien-mga/revert-40193
Revert "Allow Area2D and 3D mouse events without a collision layer"
2020-07-27 23:00:54 +02:00
Rémi Verschelde c845e20add Revert "Allow Area2D and 3D mouse events without a collision layer"
This reverts commit 7eebb06b55.
2020-07-27 22:45:01 +02:00
Nhiqill 42d1b4f389 Pop from front to avoid infinite loop with nested classes 2020-07-27 16:36:56 -04:00
George Marques 04f46aea8d
GDScript: Fix crash on 'await' completion 2020-07-27 17:17:39 -03:00
Rémi Verschelde 0500fa1b73
Merge pull request #40769 from amanj120/forward_port_bundle_pr_signing
Refactor APK signing into its own method
2020-07-27 22:16:17 +02:00
Rémi Verschelde e235863bff
Merge pull request #40770 from vnen/fix-input-call
Fix input after removing multilevel calls
2020-07-27 22:04:15 +02:00
Aman Jain e906ac4d3b refactor apk signing into it's own method 2020-07-27 14:24:57 -04:00
George Marques 5cbd032309
Fix input after removing multilevel calls 2020-07-27 15:23:57 -03:00
ConorLPBoyle fa4d9c9446 Fixed reload_goal not being called when SkeletonIK3D::start is invoked with p_one_time = true 2020-07-27 20:18:16 +03:00
SkyJJ 0e54ba0486 Fix EditorTranslationParser leak 2020-07-27 17:02:53 +02:00
Sergey Minakov 2e705fd620 iOS: safe area implementation 2020-07-27 17:58:57 +03:00
Rémi Verschelde 09a2b77b2d
Merge pull request #40759 from pycbouh/fix-scene-preview-no-2d
Fix errors saving a 2D scene preview when the 2D editor was never opened
2020-07-27 16:27:25 +02:00
Rémi Verschelde 94e6fcd2aa
Merge pull request #40756 from akien-mga/no-dominion-outside-borders
Script editor: Fix crash when root script is null
2020-07-27 16:16:20 +02:00
Yuri Sizov e2b85b74a2 Fix errors saving a 2D scene preview when the 2D editor was never opened 2020-07-27 16:49:56 +03:00
Rémi Verschelde e016859c3b Script editor: Fix crash when root script is null
Bug introduced in #40746.
2020-07-27 15:18:31 +02:00
Yuri Roubinsky 8fefdcf113 Added default value for uniforms in visual shaders 2020-07-27 15:44:22 +03:00
Rémi Verschelde 303515981b
Merge pull request #40750 from Calinou/doc-canvasitem-node3d-visible
Improve visibility documentation for CanvasItem and Node3D
2020-07-27 14:38:55 +02:00
Rémi Verschelde 6e577a5b80
Merge pull request #40755 from Faless/js/fix_and_cancel_swap
Cancel/OK swap on HTML5 platform, small fixes.
2020-07-27 14:32:48 +02:00
Hugo Locurcio 27b09dfc44 Improve visibility documentation for CanvasItem and Node3D
This closes https://github.com/godotengine/godot-docs/issues/3840.
2020-07-27 14:26:46 +02:00
Fabio Alessandrelli 0b286a287c Implement HTML5 cancel/ok button swap on Windows.
Platform is detected on init via the `navigator.platform` string.
2020-07-27 14:17:10 +02:00
Fabio Alessandrelli 3e96ba220e Correctly include <stdlib.h> in javascript main.
Already fixed in 3.2, this header is needed since it's where setenv
is declared and we should not assume it to be already included.
2020-07-27 14:17:10 +02:00
Fabio Alessandrelli 757af6a69f Properly set HTML5 DisplayServer init error value.
Checked in main.cpp, would cause the engine to not load.
2020-07-27 14:17:10 +02:00
Rémi Verschelde 3e87022ecc
Merge pull request #40252 from AndreaCatania/flush
Improved Bullet Physics flush algorithm, Lazy collision filter reload, Shape reload regression fix.
2020-07-27 13:57:47 +02:00
Rémi Verschelde bd9fc75768
Merge pull request #40706 from akien-mga/style-fix-file_format-macos
Fix code format scripts compat with non-GNU Unices
2020-07-27 13:27:56 +02:00
Rémi Verschelde c71e189efd Style: Fix code format scripts compat with non-GNU Unices
It's too hard to get compatibility between GNU and BSD sed,
so let's just use perl oneliners.

And improve it to also remove trailing tabs, not just spaces.
2020-07-27 13:11:44 +02:00
Rémi Verschelde 08d3d06ed7
Merge pull request #40749 from madmiraal/fix-9097
Clarify the difference between contacts and collisions.
2020-07-27 12:04:55 +02:00
Marcel Admiraal 6f1c99e5b4 Clarify the difference between contacts and collisions. 2020-07-27 10:35:15 +01:00
Rémi Verschelde 8965ec124d
Merge pull request #40744 from Chaosus/vs_optimize_fresnel
Optimize code generation for fresnel node in visual shaders
2020-07-27 11:23:03 +02:00