Fix Editor build on Linux

This commit is contained in:
mafiesto4
2021-01-10 09:46:37 +01:00
parent c7547b3a46
commit ee1b7bad56
5 changed files with 32 additions and 9 deletions

View File

@@ -536,6 +536,7 @@ namespace Flax.Build.Bindings
if (apiType.IsStruct && !apiType.IsPod)
{
// Use wrapper structure that represents the memory layout of the managed data
needLocalVariable = true;
if (!CppUsedNonPodTypes.Contains(apiType))
CppUsedNonPodTypes.Add(apiType);
type = apiType.Name + "Managed";