mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-13 12:14:17 +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>
|
||||
public void MigrateMdlDuringExtraction(IReader reader, string directory, ExtractionOptions options)
|
||||
{
|
||||
// TODO reactivate when this works.
|
||||
return;
|
||||
if (!config.MigrateImportedModelsToV6)
|
||||
{
|
||||
reader.WriteEntryToDirectory(directory, options);
|
||||
|
|
@ -267,9 +265,7 @@ public class MigrationManager(Configuration config) : IService
|
|||
|
||||
public void MigrateMtrlDuringExtraction(IReader reader, string directory, ExtractionOptions options)
|
||||
{
|
||||
// TODO reactivate when this works.
|
||||
return;
|
||||
if (!config.MigrateImportedMaterialsToLegacy)
|
||||
if (!config.MigrateImportedMaterialsToLegacy || true) // TODO change when this is working
|
||||
{
|
||||
reader.WriteEntryToDirectory(directory, options);
|
||||
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>
|
||||
public byte[] MigrateTtmpMaterial(string path, byte[] data)
|
||||
{
|
||||
if (!config.MigrateImportedMaterialsToLegacy)
|
||||
if (!config.MigrateImportedMaterialsToLegacy || true) // TODO fix when this is working
|
||||
return data;
|
||||
|
||||
try
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue