v1.36.00
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFrameworks>net6.0;net7.0</TargetFrameworks>
|
||||
<Version>1.00.00</Version>
|
||||
<AssemblyVersion>1.00.00</AssemblyVersion>
|
||||
<FileVersion>1.00.00</FileVersion>
|
||||
<TargetFrameworks>net7.0;net8.0</TargetFrameworks>
|
||||
<Version>1.36.00</Version>
|
||||
<AssemblyVersion>1.36.00</AssemblyVersion>
|
||||
<FileVersion>1.36.00</FileVersion>
|
||||
<Copyright>Copyright © Perfare 2018-2022</Copyright>
|
||||
<DebugType>embedded</DebugType>
|
||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
|
||||
@@ -712,8 +712,9 @@ namespace AssetStudio
|
||||
iMat.Textures.Add(texture);
|
||||
|
||||
int dest = -1;
|
||||
if (options.texs.TryGetValue(texEnv.Key, out var targetDest))
|
||||
dest = targetDest;
|
||||
var entry = options.texs.FirstOrDefault(x => x.Value == texEnv.Key);
|
||||
if (!entry.Equals(default))
|
||||
dest = entry.Key;
|
||||
else if (texEnv.Key == "_MainTex")
|
||||
dest = 0;
|
||||
else if (texEnv.Key == "_BumpMap")
|
||||
@@ -1173,7 +1174,7 @@ namespace AssetStudio
|
||||
public Game game;
|
||||
public bool collectAnimations;
|
||||
public Dictionary<string, (bool, int)> uvs;
|
||||
public Dictionary<string, int> texs;
|
||||
public Dictionary<int, string> texs;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user