Commit Graph

2660 Commits

Author SHA1 Message Date
Wojciech Figat
d3cdca6b33 Merge remote-tracking branch 'origin/1.5' into dotnet7 2023-01-02 10:37:04 +01:00
Wojciech Figat
e48b642101 Minor code cleanup 2023-01-02 10:36:57 +01:00
Wojciech Figat
00d960d61e Refactor abstract classes handling for scripting types creation (eg. Script or GPUResource) under dotnet7 2023-01-02 10:35:39 +01:00
Wojtek Figat
4afa59a783 Fix missing scripting and serialization extensions for SceneReference usage in scripts 2023-01-01 19:15:59 +01:00
Wojtek Figat
084fe6f063 Add UseAssetImportPathRelative to Editor options and use it by default to store imported asset path relative to the project folder 2023-01-01 18:55:09 +01:00
Wojtek Figat
2df3574cfa Refactor new tags system to use uint for tag index (0 is invalid tag) 2023-01-01 16:39:34 +01:00
Wojtek Figat
c976d190a5 Add Tag to PhysicalMaterial for physical surfaces tagging 2023-01-01 16:38:50 +01:00
Wojtek Figat
a10fb703fc Add unit test for scripting interface to ensure generated bindings code works fine 2022-12-31 13:10:19 +01:00
Wojtek Figat
a253e01dbd Add unit test for scripting event to ensure generated bindings code works fine 2022-12-31 00:21:28 +01:00
Wojciech Figat
6a8483a898 Fix converting managed array back to native if passed via structure argument 2022-12-30 16:05:33 +01:00
Wojciech Figat
71e2cbe856 Minor tweaks to dotnet interop 2022-12-30 15:36:35 +01:00
Wojciech Figat
af7b53814d Merge remote-tracking branch 'origin/1.5' into dotnet7
# Conflicts:
#	Content/Shaders/GI/DDGI.flax
#	Content/Shaders/TAA.flax
2022-12-30 09:24:10 +01:00
77478f9515 Fix managed and native array field marshalling 2022-12-30 01:34:52 +02:00
Wojtek Figat
a5e7ff6fc0 Add unit test for scripting features 2022-12-30 00:08:04 +01:00
Wojtek Figat
0e1da59f0c Fix loading materials when using Null renderer
Regression from dbcb333ba9
2022-12-29 23:35:47 +01:00
Wojciech Figat
1d47374758 Cache managed serializers for networking replication to prevent from being collected by GC 2022-12-29 23:06:06 +01:00
Wojciech Figat
c6bbfdc7f0 Fixes for networking change in 762f460e23 2022-12-29 23:05:52 +01:00
Wojtek Figat
7184566b4b Merge branch 'master' into 1.5 2022-12-29 23:04:18 +01:00
Wojtek Figat
e7cf10aea8 Minor tweaks 2022-12-29 21:51:57 +01:00
Wojciech Figat
6ef49349ff Fix assertion on thread double-free from registry (not harmful) 2022-12-29 18:30:51 +01:00
Wojciech Figat
9083f511b5 Cache managed serializers for networking replication to prevent from being collected by GC 2022-12-29 14:01:01 +01:00
Wojciech Figat
c2bb717a69 Exclude StreamingStats from default value generation 2022-12-29 13:56:52 +01:00
Wojciech Figat
2408aa48c1 Fixes for networking change in 762f460e23 2022-12-29 13:56:25 +01:00
Wojciech Figat
6f8c007a66 Fix assertion on thread double-free from registry (not harmful) 2022-12-29 11:20:39 +01:00
Wojtek Figat
7539504a8c Fix typo 2022-12-28 19:54:27 +01:00
Wojtek Figat
46b65bc546 Format code 2022-12-28 18:51:13 +01:00
Wojtek Figat
c48a81a068 Merge branch '1.5' into dotnet7
# Conflicts:
#	Source/Editor/Managed/ManagedEditor.Internal.cpp
#	Source/Engine/Core/Config/LayersAndTagsSettings.cs
2022-12-28 18:49:14 +01:00
Wojtek Figat
8762e8ad15 Merge branch 'master' into 1.5
# Conflicts:
#	Content/Shaders/GI/DDGI.flax
#	Content/Shaders/GI/GlobalSurfaceAtlas.flax
#	Content/Shaders/TAA.flax
#	Content/Shaders/VolumetricFog.flax
#	Source/Editor/Utilities/Utils.cs
2022-12-28 16:59:11 +01:00
Wojtek Figat
3a393b6825 Fix crash on Clang-platforms when calling base method from overriden scripting method (C# or Visual Script) 2022-12-28 16:56:52 +01:00
Wojtek Figat
7859e64db1 Fix crash on Clang-platforms when calling base method from overriden scripting method (C# or Visual Script) 2022-12-28 16:28:50 +01:00
Wojtek Figat
6b0ead59d2 Fix code style 2022-12-27 20:24:01 +01:00
Wojtek Figat
1d359d9ed2 Merge branch 'add-button-hover-events' of https://github.com/Tryibion/FlaxEngine into Tryibion-add-button-hover-events 2022-12-27 20:23:04 +01:00
Wojtek Figat
025345d99a Merge branch 'add-child-abstract-change' of https://github.com/Tryibion/FlaxEngine into Tryibion-add-child-abstract-change 2022-12-27 19:47:18 +01:00
Wojtek Figat
9050377526 Fix imported shader source last char value to prevent strange diffs in Version Control Systems 2022-12-27 19:04:09 +01:00
Wojtek Figat
cb6590e7ef Format code 2022-12-27 18:50:08 +01:00
Wojtek Figat
2c7a83f8b9 Merge branch 'GoaLitiuM-fix_stringview_dict' 2022-12-27 18:45:05 +01:00
Wojtek Figat
489c7b46ee Merge branch 'fix_stringview_dict' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-fix_stringview_dict 2022-12-27 18:43:52 +01:00
Wojtek Figat
762f460e23 Fix missing NetworkManager::ClientDisconnected call for local host client
#845
2022-12-27 18:41:36 +01:00
d3e02e23e5 Cleanup 2022-12-27 19:40:50 +02:00
f12475ea99 Prefer NativeMemory.AlignedAlloc over Marshal.Alloc* 2022-12-27 19:08:56 +02:00
dfc69c9c8e Fix array return type marshalling 2022-12-27 19:02:40 +02:00
53de6d018b Return container types as return parameters 2022-12-27 19:02:40 +02:00
Wojciech Figat
c53bf2b7e3 Fix crash when catching exception in managed code but native code ignores it in dotnet7 2022-12-27 13:50:38 +01:00
Wojciech Figat
219ad40088 Fix exception when using null version object for marshalling into native data 2022-12-27 13:50:11 +01:00
Wojciech Figat
d9042b3db2 Fix building various plugin projects with new dotnet7 2022-12-27 13:49:47 +01:00
Wojciech Figat
d8805dc801 Tweaks 2022-12-24 15:24:51 +01:00
759a9bd365 Fix native library resolver not working after hot-reload 2022-12-24 03:13:40 +02:00
2c0e9faa32 Remove throwing exceptions from invoked methods with debugger
The same effect can be achieved by enabling all CLR exceptions in VS debugger settings, and it also supports continuation after catching exceptions.
2022-12-23 22:36:19 +02:00
80c3056daf Fix errors when compiling plugins 2022-12-23 22:33:22 +02:00
Wojciech Figat
61bd491969 Fix selection outline when nothing is selected 2022-12-23 11:37:11 +01:00