From 3c96fd4c8dba80d2e88248d71ddbada8dff37eea Mon Sep 17 00:00:00 2001 From: miku-666 <74728189+NessieHax@users.noreply.github.com> Date: Tue, 14 May 2024 18:50:46 +0200 Subject: [PATCH] ModelImporter - Rename fileFilters to SupportedModelFormts and changed to getter only property --- PCK-Studio/Internal/ModelImporter.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PCK-Studio/Internal/ModelImporter.cs b/PCK-Studio/Internal/ModelImporter.cs index be6d66e8..95f57d44 100644 --- a/PCK-Studio/Internal/ModelImporter.cs +++ b/PCK-Studio/Internal/ModelImporter.cs @@ -24,14 +24,14 @@ namespace PckStudio.Internal { internal static class ModelImporter { - internal static readonly FileDialogFilter[] fileFilters = + internal static FileDialogFilter[] SupportedModelFormts { get; } = [ new ("Pck skin model(*.psm)", "*.psm"), new ("Block bench model(*.bbmodel)", "*.bbmodel"), new ("Bedrock (Legacy) Model(*.geo.json;*.json)", "*.geo.json;*.json"), ]; - internal static string SupportedModelFileFormatsFilter => string.Join("|", fileFilters); + internal static string SupportedModelFileFormatsFilter { get; } = string.Join("|", SupportedModelFormts); internal static SkinModelInfo Import(string fileName) {