mirror of
https://github.com/Ottermandias/Glamourer.git
synced 2025-12-12 18:27:24 +01:00
Compare commits
2 commits
654787fa0d
...
889f01a724
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
889f01a724 | ||
|
|
6e62905fa7 |
3 changed files with 9 additions and 9 deletions
|
|
@ -69,9 +69,9 @@ public static unsafe class MaterialService
|
|||
return null;
|
||||
|
||||
var material = (MaterialResourceHandle*) model.AsCharacterBase->MaterialsSpan[index].Value;
|
||||
if (material == null || material->ColorTable == null)
|
||||
if (material == null || material->DataSet == null)
|
||||
return null;
|
||||
|
||||
return (ColorTable.Table*)material->ColorTable;
|
||||
return (ColorTable.Table*)material->DataSet;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -69,13 +69,13 @@ public sealed unsafe class PrepareColorSet
|
|||
public static bool TryGetColorTable(MaterialResourceHandle* material, StainIds stainIds,
|
||||
out ColorTable.Table table)
|
||||
{
|
||||
if (material->ColorTable == null)
|
||||
if (material->DataSet == null)
|
||||
{
|
||||
table = default;
|
||||
return false;
|
||||
}
|
||||
|
||||
var newTable = *(ColorTable.Table*)material->ColorTable;
|
||||
var newTable = *(ColorTable.Table*)material->DataSet;
|
||||
if (GetDyeTable(material, out var dyeTable))
|
||||
{
|
||||
if (stainIds.Stain1.Id != 0)
|
||||
|
|
|
|||
10
repo.json
10
repo.json
|
|
@ -17,8 +17,8 @@
|
|||
"Character"
|
||||
],
|
||||
"InternalName": "Glamourer",
|
||||
"AssemblyVersion": "1.5.1.0",
|
||||
"TestingAssemblyVersion": "1.5.1.0",
|
||||
"AssemblyVersion": "1.5.1.1",
|
||||
"TestingAssemblyVersion": "1.5.1.1",
|
||||
"RepoUrl": "https://github.com/Ottermandias/Glamourer",
|
||||
"ApplicableVersion": "any",
|
||||
"DalamudApiLevel": 13,
|
||||
|
|
@ -27,9 +27,9 @@
|
|||
"IsTestingExclusive": "False",
|
||||
"DownloadCount": 1,
|
||||
"LastUpdate": 1618608322,
|
||||
"DownloadLinkInstall": "https://github.com/Ottermandias/Glamourer/releases/download/1.5.1.0/Glamourer.zip",
|
||||
"DownloadLinkUpdate": "https://github.com/Ottermandias/Glamourer/releases/download/1.5.1.0/Glamourer.zip",
|
||||
"DownloadLinkTesting": "https://github.com/Ottermandias/Glamourer/releases/download/1.5.1.0/Glamourer.zip",
|
||||
"DownloadLinkInstall": "https://github.com/Ottermandias/Glamourer/releases/download/1.5.1.1/Glamourer.zip",
|
||||
"DownloadLinkUpdate": "https://github.com/Ottermandias/Glamourer/releases/download/1.5.1.1/Glamourer.zip",
|
||||
"DownloadLinkTesting": "https://github.com/Ottermandias/Glamourer/releases/download/1.5.1.1/Glamourer.zip",
|
||||
"IconUrl": "https://raw.githubusercontent.com/Ottermandias/Glamourer/main/images/icon.png"
|
||||
}
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue