Commit graph

27945 commits

Author SHA1 Message Date
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
Rémi Verschelde
f989a43135
Merge pull request #38086 from volzhs/seek-animation-finished
Emit signal when animation ends by seek
2020-04-22 10:07:29 +02:00
Rémi Verschelde
02200e2865
Merge pull request #38101 from dankan1890/quick_fix
Fixed output prints " Signal 'node_removed' is already connected "
2020-04-22 10:04:49 +02:00
dankan1890
ef08e64afb Fixed output prints " Signal 'node_removed' is already connected " when the editor settings window is closed.
Close #38012
2020-04-22 04:26:44 +02:00
Rémi Verschelde
f914276951
Merge pull request #37537 from ThakeeNathees/const-parsing-datatype-bug-fix
GDScript: Fix type inference for const reference to global class
2020-04-21 23:04:46 +02:00
Rémi Verschelde
9716204555
Merge pull request #37712 from stoofin/pattern-bind-warning
Fix unassigned variable warnings for match bindings
2020-04-21 23:04:16 +02:00
Rémi Verschelde
9a283f7e71
Merge pull request #37202 from JFonS/update_joint_gizmos
Update Joint gizmos automatically
2020-04-21 23:04:04 +02:00
Rémi Verschelde
0912bf110f
Merge pull request #38096 from muiroc/ds_singleton
Register the DisplayServer Singleton
2020-04-21 23:03:06 +02:00
Rémi Verschelde
acfca3b77b
Merge pull request #38091 from RandomShaper/fix_jpgd_msvc2017
Fix compilation of jpgd.cpp on MSVC 2017
2020-04-21 23:00:53 +02:00
muiroc
66ab577eb8 Register the DisplayServer Singleton 2020-04-21 22:04:12 +02:00
jfons
3e77b6d49d Update Joint gizmos automatically 2020-04-21 21:51:33 +02:00
Rémi Verschelde
bb9d89d78c
Merge pull request #38089 from YeldhamDev/scenedock_local_fix
Fix "Local" button not being pressed in the Scene dock on first run
2020-04-21 21:17:35 +02:00
Pedro J. Estébanez
1e5a93a416 Fix compilation of jpgd.cpp on MSVC 2017 2020-04-21 21:12:09 +02:00
Aaron Franke
23a349c427
Improve the Vector2 rotated code 2020-04-21 14:06:41 -04:00
Michael Alexsander
f1244ce944 Fix "Local" button not being pressed in the Scene dock on first run 2020-04-21 15:03:42 -03:00
Rémi Verschelde
cb1ae08c14
Merge pull request #38083 from reduz/use-typed-arrays
Add proper type to most public API uses of Array
2020-04-21 18:47:34 +02:00
volzhs
bf1cc116e1 Emit signal when animation ends by seek 2020-04-22 00:45:44 +09:00
Juan Linietsky
f8ef38efed Add proper type to most public API uses of Array 2020-04-21 12:16:45 -03:00
Rémi Verschelde
4f03e302a7
Merge pull request #38041 from ThakeeNathees/class-name-check-enhance
GDScript class name existance check enhanced
2020-04-21 16:19:53 +02:00
Rémi Verschelde
a5a9bf6a19
Merge pull request #37955 from ThakeeNathees/lin-unsafe-base-know-index-unkonwn
Line marked unsafe when base known and index unkonwn
2020-04-21 16:19:34 +02:00