Commit graph

28220 commits

Author SHA1 Message Date
Tobias Mansfield-Williams
982efb1864 Add const to InputEventMouseButton::get_factor 2020-04-25 13:25:00 +02:00
Rémi Verschelde
7899b3e734
Merge pull request #38150 from neikeq/fix-load-hook-for-reused-assembly
Mono/C#: Fix load hook not called for some assemblies on domain reload
2020-04-25 13:01:11 +02:00
Rémi Verschelde
cacedac8b7
Merge pull request #38155 from Calinou/tweak-ssao-property-hints
Tweak SSAO property hints to allow setting more precise values
2020-04-25 12:55:25 +02:00
Rémi Verschelde
115ea6e1eb
Merge pull request #38193 from YeldhamDev/decal_icon_fix
Tweak Decal icon slightly
2020-04-25 10:21:28 +02:00
Michael Alexsander
d239196fc7 Tweak Decal icon slightly 2020-04-24 22:40:06 -03:00
Rémi Verschelde
a09e035695
Merge pull request #37107 from RandomShaper/imvu/export_vmem
Add ability to export debugger's VRAM usage report
2020-04-25 00:32:00 +02:00
Rémi Verschelde
77843bde77
Merge pull request #38178 from akien-mga/doc-typed-arrays
doc: Fix parsing typed arrays in makerst.py
2020-04-25 00:08:40 +02:00
Rémi Verschelde
10e5427cc2
Merge pull request #38165 from YeldhamDev/multitrack_time_fix
Fix crash when changing time value of multiple animation keys at once via inspector
2020-04-25 00:02:29 +02:00
Rémi Verschelde
1cf82f6f90
Merge pull request #38172 from m4gr3d/misc_fixes
Fix detection logic for the Android sdk path
2020-04-25 00:01:12 +02:00
Rémi Verschelde
33fe763259
Merge pull request #38184 from bruvzg/git_hooks_silent
Git Hooks: Suppress "which" error messages.
2020-04-24 20:21:18 +02:00
bruvzg
05f041127d
Git Hooks: Suppress "which" error messages. 2020-04-24 20:11:53 +03:00
Rémi Verschelde
d567c15aed doc: Fix parsing typed arrays in makerst.py
`Type[]` typed arrays will link to `Type`, as it's likely the most
interesting information for the user.

And sync classref with current source.
2020-04-24 17:50:20 +02:00
Rémi Verschelde
58cbec8db3
Merge pull request #37873 from bruvzg/git_hook_gui
Git Hooks: Add support for GUI git clients.
2020-04-24 17:30:35 +02:00
Rémi Verschelde
12c36e2761
Merge pull request #37862 from YeldhamDev/decal_icon
Add icon for the Decal node
2020-04-24 17:29:54 +02:00
Rémi Verschelde
a247e1035c
Merge pull request #38025 from Calinou/doc-procedural-geometry
Improve the procedural geometry class documentations
2020-04-24 17:28:20 +02:00
Rémi Verschelde
97f04e42f6
Merge pull request #37172 from theoway/autoCompletionBug
Fixed the auto-completion bug in gdscript_editor
2020-04-24 17:27:04 +02:00
Rémi Verschelde
39f77f95b8
Merge pull request #37265 from BigRed-118/mark_assert_safe
Mark assert lines as safe in gdscript
2020-04-24 17:24:45 +02:00
Rémi Verschelde
514fb5fa8a
Merge pull request #37232 from ThakeeNathees/load()-autocomplete-imlpemented
autocomplete for load() function implemented
2020-04-24 17:24:23 +02:00
Fredia Huya-Kouadio
328354f878 Fix detection logic for the Android sdk path
The previous logic used the 'tools' directory within the Android sdk to validate it. That directory was recently deprecated and removed from the Android sdk folder (https://developer.android.com/studio/releases/sdk-tools)
2020-04-24 04:21:36 -07:00
Pedro J. Estébanez
a037232a67 Add ability to export VRAM usage as CSV 2020-04-24 09:37:42 +02:00
Michael Alexsander
b081e954cc Fix crash when changing time value of multiple animation keys at once via inspector 2020-04-23 21:45:50 -03:00
Hugo Locurcio
ad55749718
Tweak SSAO property hints to allow setting more precise values
This was requested by an user on Twitter who was working on a
game with a very small-scale world.
2020-04-23 21:46:20 +02:00
Ignacio Etcheverry
f5510262bc Mono/C#: Fix load hook not called for some assemblies on domain reload 2020-04-23 18:55:44 +02:00
Ignacio Roldán Etcheverry
85ed2edc06
Merge pull request #38144 from neikeq/regression-csproj-safer-migration
C#: Fix always saving copy of csproj even with no changes
2020-04-23 16:34:45 +02:00
Ignacio Etcheverry
81f13f6171 C#: Fix always saving copy of csproj even with no changes
This was a regression from 93d7ec8836 (#38110).
Mono's old implementation of Microsoft.Build hardcodes HasUnsavedChanges to
always return true.
This workaround can be reverted once we switch to official Microsoft.Build.
2020-04-23 16:18:55 +02:00
bruvzg
2bb119c088
Fix "redefinition of 'ssr' with a different type" shader compile error. 2020-04-23 13:56:04 +03:00
Rémi Verschelde
43f0767390
Merge pull request #38050 from Calinou/doc-cameraeffects
Document the CameraEffects class
2020-04-23 12:42:56 +02:00
Rémi Verschelde
a800048071
Merge pull request #38109 from nekomatata/mesh-instance-active-material
Fix get_active_material when a material is directly set on the mesh
2020-04-23 12:42:11 +02:00
Rémi Verschelde
ffe07d9332
Merge pull request #37888 from Calinou/doc-editor-only-singletons
Document how some editor classes should be accessed as singletons only
2020-04-23 12:06:06 +02:00
Rémi Verschelde
2074b43c6f
Merge pull request #36083 from Calinou/dummy-loader-add-extensions
Add more extensions to the dummy texture loader
2020-04-23 12:05:38 +02:00
Rémi Verschelde
8012be867c
Merge pull request #38123 from neikeq/fix-hotreload-twice
Mono/C#: Fix assemblies being reloaded a second time unnecesarily
2020-04-23 11:34:28 +02:00
Rémi Verschelde
45766f1adc
Merge pull request #38124 from neikeq/fix-collections-marshalling-by-interface
C#: Revert marshalling of IDictionary/IEnumerable implementing types
2020-04-23 11:18:37 +02:00
Rémi Verschelde
17cacb4737
Merge pull request #38127 from m4gr3d/disable_do_not_strip
Fix Android templates size regression
2020-04-23 09:54:35 +02:00
Fredia Huya-Kouadio
2f38cfd9ab Fix Android templates size regression
The issue was caused by PR #36906 which changes prevented the generated shared libraries from being stripped.
Since the change is only needed for development (debugging) purposes, it's commented out by default.
2020-04-23 00:21:39 -07:00
Ignacio Etcheverry
20b9dbb1d5 C#: Revert marshalling of IDictionary/IEnumerable implementing types
Added marshalling for `System.Collections.Generic.List<T>` and
`System.Collections.Generic.Dictionary<TKey, TValue>`.
2020-04-23 02:26:43 +02:00
Ignacio Etcheverry
c9882e61e2 Mono/C#: Fix assemblies being reloaded a second time unnecesarily 2020-04-23 02:23:25 +02:00
Ignacio Roldán Etcheverry
28f0b15c9d
Merge pull request #38117 from neikeq/export-mono-array-godot-object
Mono/C#: Allow exporting System.Array of type Godot.Object
2020-04-22 17:41:34 +02:00
Ignacio Roldán Etcheverry
5d29f42afa
Merge pull request #38116 from neikeq/index_buffer_create-defval
Fix missing DEFVAL for RenderingDevice.index_buffer_create
2020-04-22 17:30:23 +02:00
Ignacio Roldán Etcheverry
3ad9652a5d
Merge pull request #38110 from neikeq/csproj-safer-migration
C#: Save copy of sln and csproj before applying fixes
2020-04-22 17:27:07 +02:00
Ignacio Roldán Etcheverry
90330a04cc
Merge pull request #38115 from neikeq/mono-debug-exported-games
Mono/C#: Allow debugging exported games
2020-04-22 17:26:33 +02:00
Ignacio Etcheverry
0fec3cb5ed Mono/C#: Allow exporting System.Array of type Godot.Object 2020-04-22 17:19:45 +02:00
Ignacio Etcheverry
c5a721f58d Fix missing DEFVAL for RenderingDevice.index_buffer_create 2020-04-22 16:52:04 +02:00
Ignacio Etcheverry
93d7ec8836 C#: Save copy of sln and csproj before applying fixes 2020-04-22 16:50:43 +02:00
Ignacio Etcheverry
71fc87e101 Mono/C#: Allow debugging exported games
- Include PDB files in exported games.
- Release export templates also allow debugging now.

Right now the only way to enable debugging in exported games is with the  environment variables, which may be cumbersome or not even possible on some platforms.
2020-04-22 16:44:03 +02:00
Rémi Verschelde
6aac75afc2
Merge pull request #37318 from ttencate/fix/argument_nulled_37312
Revert "Allow parameters passed to GDScript functions to be nulled"
2020-04-22 16:09:28 +02:00
JFonS
f7dadc4796 Add caching the lightmap unwrapping on import
This commit adds caching to the lightmap mesh unwraps generated on
import. This speeds up re-imports of meshes that haven't changed and
also makes sure that the unwraps are consistent across imports.

The unwrapping process is not deterministic, so one could end up with
a different mapping every time the scene was imported, breaking any
previously baked lightmaps. The changes in this commit prevent that
from happening.
2020-04-22 15:34:00 +02:00
PouleyKetchoupp
72ee09082c Fix get_active_material when a material is directly set on the mesh
Makes MeshInstance3D::get_active_material consistent with the logic
in the rendering system.

Fixes #38108
2020-04-22 14:35:25 +02:00
Hugo Locurcio
a225265b0a Document how some editor classes should be accessed as singletons only
This closes #37687.
2020-04-22 11:39:59 +02:00
Hugo Locurcio
eecce139ea Set the title tag in the HTML5 export immediately
This makes the project title display without having to wait for
the project to finish loading.
2020-04-22 11:31:14 +02:00
Hugo Locurcio
3566fe1e66 Document the CameraEffects class 2020-04-22 11:23:50 +02:00