Commit Graph

3728 Commits

Author SHA1 Message Date
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
Olly Rybak
9099197a88 Added ability to change sample method 2022-12-27 22:26:01 +11:00
Olly Rybak
a2f52edd47 Updated description & comments 2022-12-26 20:44:53 +11:00
Olly Rybak
bba136c9fe Added comment to denote which node it is 2022-12-26 20:35:22 +11: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
Olly Rybak
5022e05c25 Added Stochastic Sampling material node 2022-12-23 21:04:13 +11:00
Wojtek Figat
8918c71312 Update old header usage 2022-12-22 19:31:01 +01:00
Wojtek Figat
01612f1b47 Add tag native serialization 2022-12-22 19:23:30 +01:00
2e502ce82a Cache managed type MonoTypeEnum values 2022-12-22 20:17:06 +02:00
3c79be2910 Cleanup 2022-12-22 20:16:02 +02:00
e03a819176 Replace usage of Utils.ExtractArrayFromList with Span 2022-12-22 19:54:59 +02:00
6a41ab0b6d Fix unnecessary allocations when creating managed arrays 2022-12-22 19:54:58 +02:00
22b4e25c02 Improve array allocations when marshalling method parameters 2022-12-22 19:54:58 +02:00
e71e6835de Optimize allocations in return values from invoked managed methods 2022-12-22 18:13:23 +02:00
b449353d2f Fix incorrect field reference for reference types 2022-12-22 18:13:23 +02:00
Wojciech Figat
94c5211ee6 Rename gchandle to MGCHandle 2022-12-22 13:02:00 +01:00
Wojtek Figat
dc81147681 Convert C# tags checks utilities into extension methods for better usability 2022-12-21 18:18:17 +01:00
Wojciech Figat
04799c89dc Merge branch 'dotnet7' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-dotnet7 2022-12-21 12:28:55 +01:00
Wojciech Figat
9a5c105db9 Merge branch '1.5' into dotnet7 2022-12-21 10:35:58 +01:00
c8cc899128 Optimize allocations in method parameter marshalling and invocation 2022-12-21 00:40:38 +02:00
55747edaae Cleanup 2022-12-21 00:40:38 +02:00
8c4771a738 Fix SEH exceptions not handled properly when debugger is attached 2022-12-21 00:40:37 +02:00
Wojtek Figat
cbef100a17 Add FindActor/FindActors with Tag to Level 2022-12-20 23:01:53 +01:00
Wojtek Figat
e6900d9a17 Minor adjustments to tags 2022-12-20 22:39:20 +01:00
Wojtek Figat
2f6e793df4 Add utility api for Tags usage 2022-12-20 22:39:11 +01:00
Wojtek Figat
84f2e652e4 Fix comparison operator on Array and BitArray 2022-12-20 21:11:40 +01:00
Wojtek Figat
a570d6d178 Refactor **Actor tags into hierarchical reusable Tags** system for better gameplay scripting 2022-12-20 21:11:38 +01:00
Wojciech Figat
f874a0ad57 Update csprojects to the latest NetCore7 2022-12-19 17:39:39 +01:00
b9f11298e8 Avoid pre-allocating custom attributes for managed types 2022-12-17 15:39:04 +02:00
ff438a6219 Set default culture to InvariantCulture
Fixes issues such as wrong decimal separator in floating point strings when used with parameterless .ToString()
2022-12-17 15:38:52 +02:00
Wojciech Figat
84a68c5977 Update Newtonsoft.Json to 13.0.2 and .Net 7 2022-12-17 13:38:30 +01:00
Wojciech Figat
889eb7d846 Revert "Implement JSON difference serialization"
This reverts commit 6bfb0205fd.
2022-12-17 13:06:16 +01:00
Chandler Cox
a468053f46 Added hover begin and end event to button 2022-12-15 21:09:34 -06:00
Wojciech Figat
1cf6c5233e Refactor DDGI probes to use variable ray count depending on the probe location relative to the view frustum 2022-12-15 17:33:44 +01:00
Wojciech Figat
3fcbcacd43 Fix empty draw call submitting 2022-12-15 17:33:14 +01:00
Chandler Cox
6677177534 Removed variable MClass 2022-12-15 08:52:37 -06:00
Chandler Cox
c3f23d1390 Added abstract check to spawning actor 2022-12-15 08:49:52 -06:00
Chandler Cox
af5f3cbd95 Return null if type is abstract but trying to be added as an actor or script 2022-12-15 08:18:09 -06:00
Wojciech Figat
b9244df8f7 Fix temporal anti-aliasing to provide better quality output 2022-12-15 12:40:21 +01:00