fixed struct read & write

This commit is contained in:
Perfare 2018-06-10 05:03:39 +08:00
parent f65514b320
commit 3457d4d22c
3 changed files with 8 additions and 2 deletions

View File

@ -75,6 +75,8 @@ namespace AssetStudio
i += 3;
break;
case "vector":
case "staticvector":
case "set":
{
if ((members[i + 1].Flag & 0x4000) != 0)
align = true;
@ -217,6 +219,8 @@ namespace AssetStudio
i += 3;
break;
case "vector":
case "staticvector":
case "set":
{
if ((members[i + 1].Flag & 0x4000) != 0)
align = true;
@ -367,6 +371,8 @@ namespace AssetStudio
i += 3;
break;
case "vector":
case "staticvector":
case "set":
{
if ((members[i + 1].Flag & 0x4000) != 0)
align = true;

View File

@ -16,7 +16,7 @@
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<Keyword>ManagedCProj</Keyword>
<RootNamespace>AssetStudioFBX</RootNamespace>
<WindowsTargetPlatformVersion>10.0.16299.0</WindowsTargetPlatformVersion>
<WindowsTargetPlatformVersion>10.0.17134.0</WindowsTargetPlatformVersion>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">

View File

@ -16,7 +16,7 @@
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<Keyword>ManagedCProj</Keyword>
<RootNamespace>AssetStudioFBX</RootNamespace>
<WindowsTargetPlatformVersion>10.0.16299.0</WindowsTargetPlatformVersion>
<WindowsTargetPlatformVersion>10.0.17134.0</WindowsTargetPlatformVersion>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">