mirror of
https://github.com/4sval/FModel.git
synced 2026-08-07 19:48:08 -05:00
bump
This commit is contained in:
parent
c8539cb804
commit
bd794f58f5
|
|
@ -1 +1 @@
|
|||
Subproject commit 9ea4df652f1ce14684797d9e635c2984b30d3c26
|
||||
Subproject commit 9a5f8b9f38d69eea18e075f37266e694f7177729
|
||||
|
|
@ -61,7 +61,6 @@ public class ExportOptionsViewModel : ViewModel
|
|||
set
|
||||
{
|
||||
if (!SetProperty(ref field, value)) return;
|
||||
RaisePropertyChanged(nameof(SocketSettingsEnabled));
|
||||
RaisePropertyChanged(nameof(CompressionSettingsEnabled));
|
||||
RaisePropertyChanged(nameof(TextureFormatsEnabled));
|
||||
|
||||
|
|
@ -105,8 +104,6 @@ public class ExportOptionsViewModel : ViewModel
|
|||
set => SetProperty(ref field, value);
|
||||
}
|
||||
|
||||
public bool SocketSettingsEnabled => SelectedMeshFormat == EMeshFormat.ActorX;
|
||||
|
||||
public IEnumerable<EFileCompressionFormat> CompressionFormats { get; } = Enum.GetValues<EFileCompressionFormat>();
|
||||
public EFileCompressionFormat SelectedCompressionFormat
|
||||
{
|
||||
|
|
|
|||
|
|
@ -125,12 +125,10 @@
|
|||
</ComboBox.ItemTemplate>
|
||||
</ComboBox>
|
||||
|
||||
<TextBlock Grid.Row="6" Grid.Column="0" Text="Socket Format" VerticalAlignment="Center" Margin="0 0 0 5"
|
||||
IsEnabled="{Binding SocketSettingsEnabled}" />
|
||||
<TextBlock Grid.Row="6" Grid.Column="0" Text="Socket Format" VerticalAlignment="Center" Margin="0 0 0 5" />
|
||||
<ComboBox Grid.Row="6" Grid.Column="2" Grid.ColumnSpan="3" Margin="0 0 0 5"
|
||||
ItemsSource="{Binding SocketFormats}"
|
||||
SelectedItem="{Binding SelectedSocketFormat, Mode=TwoWay}"
|
||||
IsEnabled="{Binding SocketSettingsEnabled}">
|
||||
SelectedItem="{Binding SelectedSocketFormat, Mode=TwoWay}">
|
||||
<ComboBox.ItemTemplate>
|
||||
<DataTemplate>
|
||||
<TextBlock Text="{Binding Converter={x:Static converters:EnumToStringConverter.Instance}}" />
|
||||
|
|
|
|||
|
|
@ -191,7 +191,6 @@ public class Options
|
|||
{
|
||||
var guid = o.LightingGuid;
|
||||
if (Textures.TryGetValue(guid, out texture)) return texture != null;
|
||||
if (o.Format == EPixelFormat.PF_BC6H) return false; // BC6H is not supported by Decode thus randomly crashes the app
|
||||
|
||||
var bitmap = o switch
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user