Commit graph

31133 commits

Author SHA1 Message Date
Rémi Verschelde ee770b02fc
Merge pull request #43084 from DavidSichma/toggle0
fix toggle mask bit 0
2020-10-26 08:26:19 +01:00
Rémi Verschelde d92d16926e
Merge pull request #42723 from Devination/linenumber-select
ScriptEditor: Fix line number gutter drag select
2020-10-26 08:13:51 +01:00
Rémi Verschelde 33ff670d30
Merge pull request #43050 from Pleto/enhance_tileset_sorting
Enhancement for tileset sorting
2020-10-26 08:10:53 +01:00
Ignacio Etcheverry 34960cb936 C#: Fix custom event signals crash on hot-reload
Cleanup and re-initialization of event signals before
and after hot-reload should be working correctly now.
2020-10-26 07:00:51 +01:00
Pleto 0e392bd177 Enhancement for tileset sorting 2020-10-26 06:34:14 +02:00
David Sichma 6acd450328 fix toggle mask bit 0 2020-10-26 02:08:39 +01:00
Rémi Verschelde e16729a8c3
Merge pull request #43083 from DavidSichma/gizmoalpha
Gizmo handles are transparent
2020-10-26 00:08:59 +01:00
Rémi Verschelde 958021b4dd
Merge pull request #43066 from rsjtdrjgfuzkfg/master
Fix vulkan crash in RenderingDeviceVulkan::shader_create
2020-10-25 23:31:24 +01:00
David Sichma 5b1ddcbf40 Gizmo handles transparent again 2020-10-25 23:01:22 +01:00
rsjtdrjgfuzkfg b1f95e150e Fix crash in RenderingDeviceVulkan::shader_create
This commit moves the declaration of a local variable to ensure its
scope survives long enough; at least in some versions of GCC and LLVM
the associated memory was freed too early and thus caused issues ranging
from black screens to crashes.
2020-10-25 22:32:10 +01:00
Devin Curry b9c35af15d ScriptEditor: Fix line number gutter drag select
Fixes issue #42722
2020-10-25 12:13:54 -07:00
Andrii Doroshenko (Xrayez) 8ce2f401dd Fixup ColorRamp to Gradient renames 2020-10-25 18:32:44 +02:00
Hugo Locurcio a1d9c67f43
Optimize SVG using svgcleaner --multipass
This decreases the editor binary size by about 8 KB.
2020-10-25 10:02:37 +01:00
Rémi Verschelde 6c173e2f7f
Merge pull request #43058 from clayjohn/VULKAN-FXAA-bug
[4.0]Remove extra exposure multiply in FXAA
2020-10-25 00:35:12 +02:00
Rémi Verschelde d3dd8fb0f3
Merge pull request #42848 from Tadaboody/bugfix/gridmap_visibility
Setting visibility on GridMaps parent now works. Closes #41374.
2020-10-25 00:33:55 +02:00
Rémi Verschelde 871810796e
Merge pull request #43059 from Xrayez/gdnative-xr-remove-config
GDNative XR: remove redundant `config.py`
2020-10-24 22:16:55 +02:00
Rémi Verschelde d5bda59649
Merge pull request #43052 from reduz/refactor-2d-lighting
Refactored 2D shader and lighting system
2020-10-24 22:13:57 +02:00
Andrii Doroshenko (Xrayez) 650ae413ce GDNative XR: remove redundant config.py
It's not an engine module. This is handled by GDNative's
`SCsub` instead, as done for other subdirectories already.
2020-10-24 23:04:07 +03:00
clayjohn 8e3e9e3755 Remove extra exposure multiply in FXAA 2020-10-24 13:00:39 -07:00
reduz 84d734da0e Refactored 2D shader and lighting system
-Removed normal/specular properties from nodes
-Create CanvasTexture, which can contain normal/specular channels
-Refactored, optimized and simplified 2D shaders
-Use atlas for light textures.
-Use a shadow atlas for shadow textures.
-Use both items aboves to make light rendering stateless (faster).
-Reorganized uniform sets for more efficiency.
2020-10-24 15:57:25 -03:00
Ev1lbl0w 0d3a168a53
Fix wrong exit code being returned 2020-10-24 19:16:49 +01:00
Ev1lbl0w 525a5be01d
Changed path behaviour for Windows 2020-10-24 14:14:53 +01:00
Rémi Verschelde b67ccf1a6f
Merge pull request #43046 from aaronfranke/button-group
Rename button group property to button_group
2020-10-24 08:31:15 +02:00
Aaron Franke 961ee3a1d7
Rename button group property to button_group 2020-10-24 01:30:18 -04:00
Rémi Verschelde 11f362b510
Merge pull request #35766 from YeldhamDev/poly2d_uv_editor_improvements
Minor improvements to the Polygon 2D UV editor
2020-10-24 01:47:40 +02:00
Rémi Verschelde 64be558443
Merge pull request #43041 from Klowner/fixes/41885-android-export-month-timestamp
Fix android apk contents having mtime 1 month in future
2020-10-23 22:16:27 +02:00
Mark Riedesel 5fe902244a Fix android apk contents having mtime 1 month in future
minizip documentation describes tm_mon as expecting the number of months
since January - [0, 11], but the month returned by OS.get_date() is in
the range of [1, 12].
2020-10-23 15:05:48 -04:00
Yuri Roubinsky b09e60ef1a
Merge pull request #43026 from Chaosus/color_autocompletion
Shows ColorRect in Color constants autocompletion
2020-10-23 19:18:20 +03:00
Yuri Roubinsky 4c65dc975c Shows ColorRect in Color constants autocompletion 2020-10-23 19:03:50 +03:00
Ignacio Etcheverry 64b5ee7010 C#: Make editor create NuGet fallback folder for Godot packages
Main benefits:
- Projects can be built offline. Previously you needed internet
  access the first time building to download the packages.
- Changes to packages like Godot.NET.Sdk can be easily tested
  before publishing. This was already possible but required
  too many manual steps.
- First time builds are a bit faster, as the Sdk package doesn't
  need to be downloaded. In practice, the package is very small
  so it makes little difference.

Bumped Godot.NET.Sdk to 4.0.0-dev3 in order to enable the
recent changes regarding '.mono/' -> '.godot/mono/'.
2020-10-23 10:54:49 +02:00
Rémi Verschelde d5073c6b4c
Merge pull request #43028 from neikeq/rework-csharp-build-panel
C#: Re-work solution build output panel
2020-10-23 08:40:25 +02:00
Ignacio Etcheverry f06f91281c C#: Re-work solution build output panel
- Removed item list that displayed multiple build
  configurations launched. Now we only display
  the last build that was launched.
- Display build output next to the issues list.
  Its visibility can be toggled off/on.
  This build output is obtained from the MSBuild
  process rather than the MSBuild logger. As such
  it displays some MSBuild fatal errors that
  previously couldn't be displayed.
- Added a context menu to the issues list with
  the option to copy the issue text.
- Replaced the 'Build Project' button in the panel
  with a popup menu with the options:
  - Build Solution
  - Rebuild Solution
  - Clean Solution
- The bottom panel button was renamed from 'Mono'
  to 'MSBuild' and now display an error/warning icon
  if the last build had issues.
2020-10-23 07:49:39 +02:00
Rémi Verschelde 32be9299ba
Merge pull request #43013 from qarmin/v_or_not_v
Fix invalid method names
2020-10-22 20:23:04 +02:00
Rafał Mikrut 742251e90a Fix invalid method names 2020-10-22 19:50:25 +02:00
Rémi Verschelde bfc79a2434
Merge pull request #42998 from akien-mga/ci-android-apk
CI: Refactor Android workflow, use pre-installed SDK and NDK
2020-10-22 18:08:01 +02:00
Rémi Verschelde 5f19e1d571
CI: Refactor Android workflow, use pre-installed SDK and NDK
No need to waste time downloading all this when it's readily available :)
Also use the official action to setup Java 8.

Also build both architectures (armv7 and arm64v8) and generate the APK,
so we can upload it.

Remove now unused and outdated `misc/ci/android-tools-linux.sh`.
2020-10-22 17:21:59 +02:00
Rémi Verschelde f0f8864c9c
Merge pull request #42907 from Xrayez/add-ref-rect-border-width
Add `border_width` to `ReferenceRect`
2020-10-22 15:58:12 +02:00
George Marques c8716734eb
Merge pull request #43000 from vnen/variant-internal-method-name
Add name and base type to Variant::InternalMethod (on debug)
2020-10-22 09:55:18 -03:00
Rémi Verschelde 5d2d3787cd
Merge pull request #42999 from Mallos/fix/tilemap-icon2
fix(editor): Create new icon for TileMap Rectangle
2020-10-22 14:42:03 +02:00
Rémi Verschelde 17cd5e845a
Merge pull request #42980 from KoBeWi/(ಥ-͜ʖಥ)
Favor project.binary over project.godot
2020-10-22 14:23:13 +02:00
Rémi Verschelde a04db8eb11
Merge pull request #42905 from volzhs/freetype-2.10.3
Update freetype to 2.10.4
2020-10-22 14:10:22 +02:00
George Marques 8b3271563f
Add name and base type to Variant::InternalMethod (on debug)
This is useful to showing error messages when a pointer to an
InternalMethod is the only information available.
2020-10-22 09:07:25 -03:00
Rémi Verschelde baec2445e1
Merge pull request #42997 from akien-mga/ci-release-no-debug-symbols
CI: Set debug_symbols=no for template builds
2020-10-22 13:32:40 +02:00
Eric Tuvesson 8cf88f8ff4 fix(editor): Create new icon for TileMap Rectangle
ref: #42972
2020-10-22 13:28:34 +02:00
Rémi Verschelde e18a9a2224
CI: Set debug_symbols=no for template builds
This keeps their size small and allows to compare size changes on templates
in PRs, as the template size is what is most relevant to users.

For editor builds we keep debug symbols so they can be used to debug crashes.
2020-10-22 13:03:27 +02:00
Rémi Verschelde 003ee8b7c2
Merge pull request #42906 from Xrayez/doc-xref-color-ref-rects
Cross-reference `ColorRect` and `ReferenceRect` in the class reference
2020-10-22 11:25:35 +02:00
Rémi Verschelde 232e77bc1b
Merge pull request #42989 from godotengine/revert-42972-fix/tilemap-icon
Revert "fix(editor): TileMap Fill Rectangle icon"
2020-10-22 11:24:42 +02:00
Rémi Verschelde eee7c4acc4
Revert "fix(editor): TileMap Fill Rectangle icon" 2020-10-22 10:28:37 +02:00
Rémi Verschelde d05c7da1aa
Merge pull request #42949 from DavidSichma/shaderglobals
Shader globals bugfixes
2020-10-22 09:53:49 +02:00
Rémi Verschelde 3b85f22a6f
Merge pull request #42939 from Chaosus/fix_custom_property_editor2
Fix custom property editor to correctly show Basis
2020-10-22 09:51:49 +02:00