Commit Graph

4415 Commits

Author SHA1 Message Date
759a9bd365 Fix native library resolver not working after hot-reload 2022-12-24 03:13:40 +02:00
48214f925b Fix wrong import name in generated plugin bindings 2022-12-24 01:13:56 +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
Wojciech Figat
fd64a33d3e Merge branch 'GoaLitiuM-dotnet7' into dotnet7 2022-12-23 09:39:00 +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
Wojciech Figat
75130fcca3 Fix using Function in scripting api to pass function pointer to native code when running in dotnet7 2022-12-22 11:50:29 +01:00
Wojciech Figat
3f172442be Add DotNetSdk to simplify using it 2022-12-21 14:13:00 +01:00
Wojciech Figat
b049688d31 Merge branch 'GoaLitiuM-dotnet7' into dotnet7 2022-12-21 12:32:35 +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
ac99dc0ac4 Add Platform.BuildTargetArchitecture 2022-12-21 11:33:25 +01:00
Wojciech Figat
8dc5c4e00b Restore assembly config for Flax.Build 2022-12-21 11:07:58 +01:00
Wojciech Figat
edac611444 Fix generated plugin projects that use both C++ and C# scripting 2022-12-21 11:04:41 +01:00
Wojciech Figat
37a8380521 Cleanup code 2022-12-21 11:04:28 +01:00
Wojciech Figat
60a1de42a2 Update shaders 2022-12-21 11:04:21 +01:00
Wojciech Figat
b2beeb653b Remove unused using statement 2022-12-21 11:04:13 +01:00
Wojciech Figat
6ff5dcfa50 Improve build rules assembly cache to include build tool changes 2022-12-21 10:45:24 +01:00
Wojciech Figat
9a5c105db9 Merge branch '1.5' into dotnet7 2022-12-21 10:35:58 +01:00
Wojciech Figat
aea28ce499 Optimize Flax.Build to not use Nuget 2022-12-21 10:23:50 +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
15af6502a0 Log error whenever build tool fails to run 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
Wojciech Figat
2fee75517d Updates for vs2022 2022-12-20 18:23:20 +01:00
Wojciech Figat
580f4120dc Update nunit for Unit Tests running with .net7 2022-12-20 18:21:45 +01:00
Wojciech Figat
f874a0ad57 Update csprojects to the latest NetCore7 2022-12-19 17:39:39 +01:00
Wojciech Figat
a56090e70f Update deprecated WebClient into HttpClient in Flax.Build files download utility 2022-12-19 11:17:09 +01:00
Wojciech Figat
f0d0e0637c Merge branch 'GoaLitiuM-dotnet7' into dotnet7 2022-12-19 10:10:54 +01:00
Wojciech Figat
eae38fa0c6 Merge branch 'dotnet7' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-dotnet7 2022-12-19 10:10:34 +01:00
Wojciech Figat
93f0b0e2e8 Fix type usage 2022-12-19 10:10:26 +01:00
Wojciech Figat
979f8bcfee Remove Flax.Stats project 2022-12-19 10:10:12 +01:00
b9f11298e8 Avoid pre-allocating custom attributes for managed types 2022-12-17 15:39:04 +02:00
84f8e3a4b4 Fix crash when releasing scripting assembly 2022-12-17 15:39:00 +02:00
551c58db4f Fix incorrect array marshalling in few Editor methods 2022-12-17 15:38:55 +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
Wojciech Figat
6eaecc8793 Fix VisualStudioInstance.GetInstances() to be sorted from newest to oldest 2022-12-17 12:58:58 +01:00
Wojciech Figat
df6bf1e04d Disable UWP platform from build 2022-12-16 15:19:03 +01:00
Wojciech Figat
ff1ccdb7ee Improvements for Flax.Build setup 2022-12-16 15:18:45 +01:00
Wojciech Figat
d7fc221a6b Merge branch 'GoaLitiuM-dotnet7' into dotnet7 2022-12-16 13:12:27 +01: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