mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-12 22:17:22 +01:00
fix some issues in reverse resolving paths I guess
This commit is contained in:
parent
3b5afb9a60
commit
11cc190528
3 changed files with 6 additions and 2 deletions
|
|
@ -104,7 +104,7 @@ public class CharacterDataFactory
|
|||
if (texPath.Contains("/--")) return;
|
||||
|
||||
var texDx11Replacement =
|
||||
CreateFileReplacement(texPath.Insert(texPath.LastIndexOf('/') + 1, "--"), true);
|
||||
CreateFileReplacement(texPath.Insert(texPath.LastIndexOf('/') + 1, "--"), doNotReverseResolve);
|
||||
|
||||
DebugPrint(texDx11Replacement, objectKind, "Texture (DX11)", inheritanceLevel);
|
||||
|
||||
|
|
|
|||
|
|
@ -190,6 +190,10 @@ namespace MareSynchronos.Managers
|
|||
{
|
||||
if (!CheckPenumbraApi()) return new[] { path };
|
||||
var resolvedPaths = _penumbraReverseResolvePath!.InvokeFunc(path, characterName);
|
||||
if (resolvedPaths.Length == 0)
|
||||
{
|
||||
resolvedPaths = new[] { path };
|
||||
}
|
||||
Logger.Verbose("Reverse Resolved " + path + "=>" + string.Join(", ", resolvedPaths));
|
||||
return resolvedPaths;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
<PropertyGroup>
|
||||
<Authors></Authors>
|
||||
<Company></Company>
|
||||
<Version>0.0.7.0</Version>
|
||||
<Version>0.0.8.0</Version>
|
||||
<Description></Description>
|
||||
<Copyright></Copyright>
|
||||
<PackageProjectUrl>https://github.com/Penumbra-Sync/client</PackageProjectUrl>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue