mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-20 07:34:25 +01:00
stupid
This commit is contained in:
parent
eb784dddf0
commit
67a35b9abb
1 changed files with 2 additions and 6 deletions
|
|
@ -233,8 +233,6 @@ public class MigrationManager(Configuration config) : IService
|
||||||
/// <summary> Writes or migrates a .mdl file during extraction from a regular archive. </summary>
|
/// <summary> Writes or migrates a .mdl file during extraction from a regular archive. </summary>
|
||||||
public void MigrateMdlDuringExtraction(IReader reader, string directory, ExtractionOptions options)
|
public void MigrateMdlDuringExtraction(IReader reader, string directory, ExtractionOptions options)
|
||||||
{
|
{
|
||||||
// TODO reactivate when this works.
|
|
||||||
return;
|
|
||||||
if (!config.MigrateImportedModelsToV6)
|
if (!config.MigrateImportedModelsToV6)
|
||||||
{
|
{
|
||||||
reader.WriteEntryToDirectory(directory, options);
|
reader.WriteEntryToDirectory(directory, options);
|
||||||
|
|
@ -267,9 +265,7 @@ public class MigrationManager(Configuration config) : IService
|
||||||
|
|
||||||
public void MigrateMtrlDuringExtraction(IReader reader, string directory, ExtractionOptions options)
|
public void MigrateMtrlDuringExtraction(IReader reader, string directory, ExtractionOptions options)
|
||||||
{
|
{
|
||||||
// TODO reactivate when this works.
|
if (!config.MigrateImportedMaterialsToLegacy || true) // TODO change when this is working
|
||||||
return;
|
|
||||||
if (!config.MigrateImportedMaterialsToLegacy)
|
|
||||||
{
|
{
|
||||||
reader.WriteEntryToDirectory(directory, options);
|
reader.WriteEntryToDirectory(directory, options);
|
||||||
return;
|
return;
|
||||||
|
|
@ -327,7 +323,7 @@ public class MigrationManager(Configuration config) : IService
|
||||||
/// <summary> Update the data of a .mtrl file during TTMP extraction. Returns either the existing array or a new one. </summary>
|
/// <summary> Update the data of a .mtrl file during TTMP extraction. Returns either the existing array or a new one. </summary>
|
||||||
public byte[] MigrateTtmpMaterial(string path, byte[] data)
|
public byte[] MigrateTtmpMaterial(string path, byte[] data)
|
||||||
{
|
{
|
||||||
if (!config.MigrateImportedMaterialsToLegacy)
|
if (!config.MigrateImportedMaterialsToLegacy || true) // TODO fix when this is working
|
||||||
return data;
|
return data;
|
||||||
|
|
||||||
try
|
try
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue