mirror of
https://github.com/4sval/FModel.git
synced 2026-04-25 15:39:01 -05:00
socket format
This commit is contained in:
parent
53d9ca97e6
commit
b4ea36cb68
|
|
@ -1 +1 @@
|
||||||
Subproject commit 90ad492f86c27577686cdbb4ed40eb06ee5f46ac
|
Subproject commit 3ea132c5b9464d3e0c991dadc4302a1b8da7bd06
|
||||||
|
|
@ -607,6 +607,13 @@ namespace FModel.Settings
|
||||||
set => SetProperty(ref _meshExportFormat, value);
|
set => SetProperty(ref _meshExportFormat, value);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private ESocketFormat _socketExportFormat = ESocketFormat.Bone;
|
||||||
|
public ESocketFormat SocketExportFormat
|
||||||
|
{
|
||||||
|
get => _socketExportFormat;
|
||||||
|
set => SetProperty(ref _socketExportFormat, value);
|
||||||
|
}
|
||||||
|
|
||||||
private ELodFormat _lodExportFormat = ELodFormat.FirstLod;
|
private ELodFormat _lodExportFormat = ELodFormat.FirstLod;
|
||||||
public ELodFormat LodExportFormat
|
public ELodFormat LodExportFormat
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -823,6 +823,7 @@ public class CUE4ParseViewModel : ViewModel
|
||||||
TextureFormat = UserSettings.Default.TextureExportFormat,
|
TextureFormat = UserSettings.Default.TextureExportFormat,
|
||||||
LodFormat = UserSettings.Default.LodExportFormat,
|
LodFormat = UserSettings.Default.LodExportFormat,
|
||||||
MeshFormat = UserSettings.Default.MeshExportFormat,
|
MeshFormat = UserSettings.Default.MeshExportFormat,
|
||||||
|
SocketFormat = UserSettings.Default.SocketExportFormat,
|
||||||
Platform = UserSettings.Default.OverridedPlatform,
|
Platform = UserSettings.Default.OverridedPlatform,
|
||||||
ExportMorphTargets = UserSettings.Default.SaveMorphTargets
|
ExportMorphTargets = UserSettings.Default.SaveMorphTargets
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -192,6 +192,7 @@ public class ModelViewerViewModel : ViewModel
|
||||||
TextureFormat = UserSettings.Default.TextureExportFormat,
|
TextureFormat = UserSettings.Default.TextureExportFormat,
|
||||||
LodFormat = UserSettings.Default.LodExportFormat,
|
LodFormat = UserSettings.Default.LodExportFormat,
|
||||||
MeshFormat = UserSettings.Default.MeshExportFormat,
|
MeshFormat = UserSettings.Default.MeshExportFormat,
|
||||||
|
SocketFormat = UserSettings.Default.SocketExportFormat,
|
||||||
Platform = UserSettings.Default.OverridedPlatform,
|
Platform = UserSettings.Default.OverridedPlatform,
|
||||||
ExportMorphTargets = UserSettings.Default.SaveMorphTargets
|
ExportMorphTargets = UserSettings.Default.SaveMorphTargets
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -131,6 +131,13 @@ public class SettingsViewModel : ViewModel
|
||||||
set => SetProperty(ref _selectedMeshExportFormat, value);
|
set => SetProperty(ref _selectedMeshExportFormat, value);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private ESocketFormat _selectedSocketExportFormat;
|
||||||
|
public ESocketFormat SelectedSocketExportFormat
|
||||||
|
{
|
||||||
|
get => _selectedSocketExportFormat;
|
||||||
|
set => SetProperty(ref _selectedSocketExportFormat, value);
|
||||||
|
}
|
||||||
|
|
||||||
private ELodFormat _selectedLodExportFormat;
|
private ELodFormat _selectedLodExportFormat;
|
||||||
public ELodFormat SelectedLodExportFormat
|
public ELodFormat SelectedLodExportFormat
|
||||||
{
|
{
|
||||||
|
|
@ -154,6 +161,7 @@ public class SettingsViewModel : ViewModel
|
||||||
public ReadOnlyObservableCollection<ECompressedAudio> CompressedAudios { get; private set; }
|
public ReadOnlyObservableCollection<ECompressedAudio> CompressedAudios { get; private set; }
|
||||||
public ReadOnlyObservableCollection<EIconStyle> CosmeticStyles { get; private set; }
|
public ReadOnlyObservableCollection<EIconStyle> CosmeticStyles { get; private set; }
|
||||||
public ReadOnlyObservableCollection<EMeshFormat> MeshExportFormats { get; private set; }
|
public ReadOnlyObservableCollection<EMeshFormat> MeshExportFormats { get; private set; }
|
||||||
|
public ReadOnlyObservableCollection<ESocketFormat> SocketExportFormats { get; private set; }
|
||||||
public ReadOnlyObservableCollection<ELodFormat> LodExportFormats { get; private set; }
|
public ReadOnlyObservableCollection<ELodFormat> LodExportFormats { get; private set; }
|
||||||
public ReadOnlyObservableCollection<ETextureFormat> TextureExportFormats { get; private set; }
|
public ReadOnlyObservableCollection<ETextureFormat> TextureExportFormats { get; private set; }
|
||||||
public ReadOnlyObservableCollection<ETexturePlatform> Platforms { get; private set; }
|
public ReadOnlyObservableCollection<ETexturePlatform> Platforms { get; private set; }
|
||||||
|
|
@ -179,6 +187,7 @@ public class SettingsViewModel : ViewModel
|
||||||
private ECompressedAudio _compressedAudioSnapshot;
|
private ECompressedAudio _compressedAudioSnapshot;
|
||||||
private EIconStyle _cosmeticStyleSnapshot;
|
private EIconStyle _cosmeticStyleSnapshot;
|
||||||
private EMeshFormat _meshExportFormatSnapshot;
|
private EMeshFormat _meshExportFormatSnapshot;
|
||||||
|
private ESocketFormat _socketExportFormatSnapshot;
|
||||||
private ELodFormat _lodExportFormatSnapshot;
|
private ELodFormat _lodExportFormatSnapshot;
|
||||||
private ETextureFormat _textureExportFormatSnapshot;
|
private ETextureFormat _textureExportFormatSnapshot;
|
||||||
|
|
||||||
|
|
@ -229,6 +238,7 @@ public class SettingsViewModel : ViewModel
|
||||||
_compressedAudioSnapshot = UserSettings.Default.CompressedAudioMode;
|
_compressedAudioSnapshot = UserSettings.Default.CompressedAudioMode;
|
||||||
_cosmeticStyleSnapshot = UserSettings.Default.CosmeticStyle;
|
_cosmeticStyleSnapshot = UserSettings.Default.CosmeticStyle;
|
||||||
_meshExportFormatSnapshot = UserSettings.Default.MeshExportFormat;
|
_meshExportFormatSnapshot = UserSettings.Default.MeshExportFormat;
|
||||||
|
_socketExportFormatSnapshot = UserSettings.Default.SocketExportFormat;
|
||||||
_lodExportFormatSnapshot = UserSettings.Default.LodExportFormat;
|
_lodExportFormatSnapshot = UserSettings.Default.LodExportFormat;
|
||||||
_textureExportFormatSnapshot = UserSettings.Default.TextureExportFormat;
|
_textureExportFormatSnapshot = UserSettings.Default.TextureExportFormat;
|
||||||
|
|
||||||
|
|
@ -242,6 +252,7 @@ public class SettingsViewModel : ViewModel
|
||||||
SelectedCompressedAudio = _compressedAudioSnapshot;
|
SelectedCompressedAudio = _compressedAudioSnapshot;
|
||||||
SelectedCosmeticStyle = _cosmeticStyleSnapshot;
|
SelectedCosmeticStyle = _cosmeticStyleSnapshot;
|
||||||
SelectedMeshExportFormat = _meshExportFormatSnapshot;
|
SelectedMeshExportFormat = _meshExportFormatSnapshot;
|
||||||
|
SelectedSocketExportFormat = _socketExportFormatSnapshot;
|
||||||
SelectedLodExportFormat = _lodExportFormatSnapshot;
|
SelectedLodExportFormat = _lodExportFormatSnapshot;
|
||||||
SelectedTextureExportFormat = _textureExportFormatSnapshot;
|
SelectedTextureExportFormat = _textureExportFormatSnapshot;
|
||||||
SelectedAesReload = UserSettings.Default.AesReload;
|
SelectedAesReload = UserSettings.Default.AesReload;
|
||||||
|
|
@ -256,6 +267,7 @@ public class SettingsViewModel : ViewModel
|
||||||
CompressedAudios = new ReadOnlyObservableCollection<ECompressedAudio>(new ObservableCollection<ECompressedAudio>(EnumerateCompressedAudios()));
|
CompressedAudios = new ReadOnlyObservableCollection<ECompressedAudio>(new ObservableCollection<ECompressedAudio>(EnumerateCompressedAudios()));
|
||||||
CosmeticStyles = new ReadOnlyObservableCollection<EIconStyle>(new ObservableCollection<EIconStyle>(EnumerateCosmeticStyles()));
|
CosmeticStyles = new ReadOnlyObservableCollection<EIconStyle>(new ObservableCollection<EIconStyle>(EnumerateCosmeticStyles()));
|
||||||
MeshExportFormats = new ReadOnlyObservableCollection<EMeshFormat>(new ObservableCollection<EMeshFormat>(EnumerateMeshExportFormat()));
|
MeshExportFormats = new ReadOnlyObservableCollection<EMeshFormat>(new ObservableCollection<EMeshFormat>(EnumerateMeshExportFormat()));
|
||||||
|
SocketExportFormats = new ReadOnlyObservableCollection<ESocketFormat>(new ObservableCollection<ESocketFormat>(EnumerateSocketExportFormat()));
|
||||||
LodExportFormats = new ReadOnlyObservableCollection<ELodFormat>(new ObservableCollection<ELodFormat>(EnumerateLodExportFormat()));
|
LodExportFormats = new ReadOnlyObservableCollection<ELodFormat>(new ObservableCollection<ELodFormat>(EnumerateLodExportFormat()));
|
||||||
TextureExportFormats = new ReadOnlyObservableCollection<ETextureFormat>(new ObservableCollection<ETextureFormat>(EnumerateTextureExportFormat()));
|
TextureExportFormats = new ReadOnlyObservableCollection<ETextureFormat>(new ObservableCollection<ETextureFormat>(EnumerateTextureExportFormat()));
|
||||||
Platforms = new ReadOnlyObservableCollection<ETexturePlatform>(new ObservableCollection<ETexturePlatform>(EnumerateUePlatforms()));
|
Platforms = new ReadOnlyObservableCollection<ETexturePlatform>(new ObservableCollection<ETexturePlatform>(EnumerateUePlatforms()));
|
||||||
|
|
@ -344,6 +356,7 @@ public class SettingsViewModel : ViewModel
|
||||||
UserSettings.Default.CompressedAudioMode = SelectedCompressedAudio;
|
UserSettings.Default.CompressedAudioMode = SelectedCompressedAudio;
|
||||||
UserSettings.Default.CosmeticStyle = SelectedCosmeticStyle;
|
UserSettings.Default.CosmeticStyle = SelectedCosmeticStyle;
|
||||||
UserSettings.Default.MeshExportFormat = SelectedMeshExportFormat;
|
UserSettings.Default.MeshExportFormat = SelectedMeshExportFormat;
|
||||||
|
UserSettings.Default.SocketExportFormat = SelectedSocketExportFormat;
|
||||||
UserSettings.Default.LodExportFormat = SelectedLodExportFormat;
|
UserSettings.Default.LodExportFormat = SelectedLodExportFormat;
|
||||||
UserSettings.Default.TextureExportFormat = SelectedTextureExportFormat;
|
UserSettings.Default.TextureExportFormat = SelectedTextureExportFormat;
|
||||||
UserSettings.Default.AesReload = SelectedAesReload;
|
UserSettings.Default.AesReload = SelectedAesReload;
|
||||||
|
|
@ -367,6 +380,7 @@ public class SettingsViewModel : ViewModel
|
||||||
private IEnumerable<ECompressedAudio> EnumerateCompressedAudios() => Enum.GetValues<ECompressedAudio>();
|
private IEnumerable<ECompressedAudio> EnumerateCompressedAudios() => Enum.GetValues<ECompressedAudio>();
|
||||||
private IEnumerable<EIconStyle> EnumerateCosmeticStyles() => Enum.GetValues<EIconStyle>();
|
private IEnumerable<EIconStyle> EnumerateCosmeticStyles() => Enum.GetValues<EIconStyle>();
|
||||||
private IEnumerable<EMeshFormat> EnumerateMeshExportFormat() => Enum.GetValues<EMeshFormat>();
|
private IEnumerable<EMeshFormat> EnumerateMeshExportFormat() => Enum.GetValues<EMeshFormat>();
|
||||||
|
private IEnumerable<ESocketFormat> EnumerateSocketExportFormat() => Enum.GetValues<ESocketFormat>();
|
||||||
private IEnumerable<ELodFormat> EnumerateLodExportFormat() => Enum.GetValues<ELodFormat>();
|
private IEnumerable<ELodFormat> EnumerateLodExportFormat() => Enum.GetValues<ELodFormat>();
|
||||||
private IEnumerable<ETextureFormat> EnumerateTextureExportFormat() => Enum.GetValues<ETextureFormat>();
|
private IEnumerable<ETextureFormat> EnumerateTextureExportFormat() => Enum.GetValues<ETextureFormat>();
|
||||||
private IEnumerable<ETexturePlatform> EnumerateUePlatforms() => Enum.GetValues<ETexturePlatform>();
|
private IEnumerable<ETexturePlatform> EnumerateUePlatforms() => Enum.GetValues<ETexturePlatform>();
|
||||||
|
|
|
||||||
|
|
@ -306,6 +306,7 @@
|
||||||
<RowDefinition Height="Auto" />
|
<RowDefinition Height="Auto" />
|
||||||
<RowDefinition Height="Auto" />
|
<RowDefinition Height="Auto" />
|
||||||
<RowDefinition Height="Auto" />
|
<RowDefinition Height="Auto" />
|
||||||
|
<RowDefinition Height="Auto" />
|
||||||
</Grid.RowDefinitions>
|
</Grid.RowDefinitions>
|
||||||
<Grid.ColumnDefinitions>
|
<Grid.ColumnDefinitions>
|
||||||
<ColumnDefinition Width="Auto" />
|
<ColumnDefinition Width="Auto" />
|
||||||
|
|
@ -330,8 +331,8 @@
|
||||||
</ComboBox.ItemTemplate>
|
</ComboBox.ItemTemplate>
|
||||||
</ComboBox>
|
</ComboBox>
|
||||||
|
|
||||||
<TextBlock Grid.Row="2" Grid.Column="0" Text="Level Of Detail Format" VerticalAlignment="Center" Margin="0 0 0 5" />
|
<TextBlock Grid.Row="2" Grid.Column="0" Text="Socket Format" VerticalAlignment="Center" Margin="0 0 0 5" />
|
||||||
<ComboBox Grid.Row="2" Grid.Column="2" Grid.ColumnSpan="3" ItemsSource="{Binding SettingsView.LodExportFormats}" SelectedItem="{Binding SettingsView.SelectedLodExportFormat, Mode=TwoWay}"
|
<ComboBox Grid.Row="2" Grid.Column="2" Grid.ColumnSpan="3" ItemsSource="{Binding SettingsView.SocketExportFormats}" SelectedItem="{Binding SettingsView.SelectedSocketExportFormat, Mode=TwoWay}"
|
||||||
DataContext="{Binding DataContext, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type local:Views.SettingsView}}}" Margin="0 0 0 5">
|
DataContext="{Binding DataContext, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type local:Views.SettingsView}}}" Margin="0 0 0 5">
|
||||||
<ComboBox.ItemTemplate>
|
<ComboBox.ItemTemplate>
|
||||||
<DataTemplate>
|
<DataTemplate>
|
||||||
|
|
@ -340,8 +341,18 @@
|
||||||
</ComboBox.ItemTemplate>
|
</ComboBox.ItemTemplate>
|
||||||
</ComboBox>
|
</ComboBox>
|
||||||
|
|
||||||
<TextBlock Grid.Row="3" Grid.Column="0" Text="Preview in Model Viewer" VerticalAlignment="Center" Margin="0 0 0 5" />
|
<TextBlock Grid.Row="3" Grid.Column="0" Text="Level Of Detail Format" VerticalAlignment="Center" Margin="0 0 0 5" />
|
||||||
<UniformGrid Grid.Row="3" Grid.Column="2" Grid.ColumnSpan="3" HorizontalAlignment="Stretch" Rows="1" Columns="3" Margin="0 5 0 10">
|
<ComboBox Grid.Row="3" Grid.Column="2" Grid.ColumnSpan="3" ItemsSource="{Binding SettingsView.LodExportFormats}" SelectedItem="{Binding SettingsView.SelectedLodExportFormat, Mode=TwoWay}"
|
||||||
|
DataContext="{Binding DataContext, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type local:Views.SettingsView}}}" Margin="0 0 0 5">
|
||||||
|
<ComboBox.ItemTemplate>
|
||||||
|
<DataTemplate>
|
||||||
|
<TextBlock Text="{Binding Converter={x:Static converters:EnumToStringConverter.Instance}}" />
|
||||||
|
</DataTemplate>
|
||||||
|
</ComboBox.ItemTemplate>
|
||||||
|
</ComboBox>
|
||||||
|
|
||||||
|
<TextBlock Grid.Row="4" Grid.Column="0" Text="Preview in Model Viewer" VerticalAlignment="Center" Margin="0 0 0 5" />
|
||||||
|
<UniformGrid Grid.Row="4" Grid.Column="2" Grid.ColumnSpan="3" HorizontalAlignment="Stretch" Rows="1" Columns="3" Margin="0 5 0 10">
|
||||||
<CheckBox Content="Static Meshes" HorizontalAlignment="Left"
|
<CheckBox Content="Static Meshes" HorizontalAlignment="Left"
|
||||||
IsChecked="{Binding PreviewStaticMeshes, Source={x:Static local:Settings.UserSettings.Default}, Mode=TwoWay}"/>
|
IsChecked="{Binding PreviewStaticMeshes, Source={x:Static local:Settings.UserSettings.Default}, Mode=TwoWay}"/>
|
||||||
<CheckBox Content="Skeletal Meshes" HorizontalAlignment="Center"
|
<CheckBox Content="Skeletal Meshes" HorizontalAlignment="Center"
|
||||||
|
|
@ -350,8 +361,8 @@
|
||||||
IsChecked="{Binding PreviewMaterials, Source={x:Static local:Settings.UserSettings.Default}, Mode=TwoWay}"/>
|
IsChecked="{Binding PreviewMaterials, Source={x:Static local:Settings.UserSettings.Default}, Mode=TwoWay}"/>
|
||||||
</UniformGrid>
|
</UniformGrid>
|
||||||
|
|
||||||
<TextBlock Grid.Row="4" Grid.Column="0" Text="Auto-Export without Previewing" VerticalAlignment="Center" Margin="0 0 0 5" />
|
<TextBlock Grid.Row="5" Grid.Column="0" Text="Auto-Export without Previewing" VerticalAlignment="Center" Margin="0 0 0 5" />
|
||||||
<UniformGrid Grid.Row="4" Grid.Column="2" Grid.ColumnSpan="3" HorizontalAlignment="Stretch" Rows="1" Columns="3" Margin="0 5 0 10">
|
<UniformGrid Grid.Row="5" Grid.Column="2" Grid.ColumnSpan="3" HorizontalAlignment="Stretch" Rows="1" Columns="3" Margin="0 5 0 10">
|
||||||
<CheckBox Content="Static Meshes" HorizontalAlignment="Left"
|
<CheckBox Content="Static Meshes" HorizontalAlignment="Left"
|
||||||
IsChecked="{Binding SaveStaticMeshes, Source={x:Static local:Settings.UserSettings.Default}, Mode=TwoWay}" />
|
IsChecked="{Binding SaveStaticMeshes, Source={x:Static local:Settings.UserSettings.Default}, Mode=TwoWay}" />
|
||||||
<CheckBox Content="Skeletal Meshes" HorizontalAlignment="Center"
|
<CheckBox Content="Skeletal Meshes" HorizontalAlignment="Center"
|
||||||
|
|
@ -360,25 +371,25 @@
|
||||||
IsChecked="{Binding SaveMaterials, Source={x:Static local:Settings.UserSettings.Default}, Mode=TwoWay}"/>
|
IsChecked="{Binding SaveMaterials, Source={x:Static local:Settings.UserSettings.Default}, Mode=TwoWay}"/>
|
||||||
</UniformGrid>
|
</UniformGrid>
|
||||||
|
|
||||||
<TextBlock Grid.Row="5" Grid.Column="0" Text="Auto-Export Morph Targets" VerticalAlignment="Center" Margin="0 0 0 5" />
|
<TextBlock Grid.Row="6" Grid.Column="0" Text="Auto-Export Morph Targets" VerticalAlignment="Center" Margin="0 0 0 5" />
|
||||||
<CheckBox Grid.Row="5" Grid.Column="2" Grid.ColumnSpan="3" Content="{Binding IsChecked, RelativeSource={RelativeSource Self}, Converter={x:Static converters:BoolToToggleConverter.Instance}}"
|
<CheckBox Grid.Row="6" Grid.Column="2" Grid.ColumnSpan="3" Content="{Binding IsChecked, RelativeSource={RelativeSource Self}, Converter={x:Static converters:BoolToToggleConverter.Instance}}"
|
||||||
IsChecked="{Binding SaveMorphTargets, Source={x:Static local:Settings.UserSettings.Default}, Mode=TwoWay}"
|
IsChecked="{Binding SaveMorphTargets, Source={x:Static local:Settings.UserSettings.Default}, Mode=TwoWay}"
|
||||||
Style="{DynamicResource {x:Static adonisUi:Styles.ToggleSwitch}}" Margin="0 5 0 5"/>
|
Style="{DynamicResource {x:Static adonisUi:Styles.ToggleSwitch}}" Margin="0 5 0 5"/>
|
||||||
|
|
||||||
<TextBlock Grid.Row="6" Grid.Column="0" Text="Auto-Export Animations" VerticalAlignment="Center" Margin="0 0 0 5" />
|
<TextBlock Grid.Row="7" Grid.Column="0" Text="Auto-Export Animations" VerticalAlignment="Center" Margin="0 0 0 5" />
|
||||||
<CheckBox Grid.Row="6" Grid.Column="2" Grid.ColumnSpan="3" Content="{Binding IsChecked, RelativeSource={RelativeSource Self}, Converter={x:Static converters:BoolToToggleConverter.Instance}}"
|
<CheckBox Grid.Row="7" Grid.Column="2" Grid.ColumnSpan="3" Content="{Binding IsChecked, RelativeSource={RelativeSource Self}, Converter={x:Static converters:BoolToToggleConverter.Instance}}"
|
||||||
IsChecked="{Binding SaveAnimations, Source={x:Static local:Settings.UserSettings.Default}, Mode=TwoWay}"
|
IsChecked="{Binding SaveAnimations, Source={x:Static local:Settings.UserSettings.Default}, Mode=TwoWay}"
|
||||||
Style="{DynamicResource {x:Static adonisUi:Styles.ToggleSwitch}}" Margin="0 5 0 5"/>
|
Style="{DynamicResource {x:Static adonisUi:Styles.ToggleSwitch}}" Margin="0 5 0 5"/>
|
||||||
|
|
||||||
<TextBlock Grid.Row="7" Grid.Column="0" Text="Export Skeletons as Empty Meshes" VerticalAlignment="Center" />
|
<TextBlock Grid.Row="8" Grid.Column="0" Text="Export Skeletons as Empty Meshes" VerticalAlignment="Center" />
|
||||||
<CheckBox Grid.Row="7" Grid.Column="2" Grid.ColumnSpan="3" Content="{Binding IsChecked, RelativeSource={RelativeSource Self}, Converter={x:Static converters:BoolToToggleConverter.Instance}}"
|
<CheckBox Grid.Row="8" Grid.Column="2" Grid.ColumnSpan="3" Content="{Binding IsChecked, RelativeSource={RelativeSource Self}, Converter={x:Static converters:BoolToToggleConverter.Instance}}"
|
||||||
IsChecked="{Binding SaveSkeletonAsMesh, Source={x:Static local:Settings.UserSettings.Default}, Mode=TwoWay}"
|
IsChecked="{Binding SaveSkeletonAsMesh, Source={x:Static local:Settings.UserSettings.Default}, Mode=TwoWay}"
|
||||||
Style="{DynamicResource {x:Static adonisUi:Styles.ToggleSwitch}}" Margin="0 5 0 0"/>
|
Style="{DynamicResource {x:Static adonisUi:Styles.ToggleSwitch}}" Margin="0 5 0 0"/>
|
||||||
|
|
||||||
<Separator Grid.Row="8" Grid.Column="0" Grid.ColumnSpan="5" Style="{StaticResource CustomSeparator}" />
|
<Separator Grid.Row="9" Grid.Column="0" Grid.ColumnSpan="5" Style="{StaticResource CustomSeparator}" />
|
||||||
|
|
||||||
<TextBlock Grid.Row="9" Grid.Column="0" Text="Texture Format" VerticalAlignment="Center" Margin="0 0 0 5" />
|
<TextBlock Grid.Row="10" Grid.Column="0" Text="Texture Format" VerticalAlignment="Center" Margin="0 0 0 5" />
|
||||||
<ComboBox Grid.Row="9" Grid.Column="2" Grid.ColumnSpan="3" ItemsSource="{Binding SettingsView.TextureExportFormats}" SelectedItem="{Binding SettingsView.SelectedTextureExportFormat, Mode=TwoWay}"
|
<ComboBox Grid.Row="10" Grid.Column="2" Grid.ColumnSpan="3" ItemsSource="{Binding SettingsView.TextureExportFormats}" SelectedItem="{Binding SettingsView.SelectedTextureExportFormat, Mode=TwoWay}"
|
||||||
DataContext="{Binding DataContext, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type local:Views.SettingsView}}}" Margin="0 0 0 5">
|
DataContext="{Binding DataContext, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type local:Views.SettingsView}}}" Margin="0 0 0 5">
|
||||||
<ComboBox.ItemTemplate>
|
<ComboBox.ItemTemplate>
|
||||||
<DataTemplate>
|
<DataTemplate>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user