1
0
mirror of synced 2024-11-12 02:00:50 +01:00

Adjust obj export default filename

This commit is contained in:
KillzXGaming 2020-08-16 11:48:40 -04:00
parent 232c44a605
commit f39203054b

View File

@ -381,7 +381,7 @@ namespace FirstPlugin
SaveFileDialog sfd = new SaveFileDialog(); SaveFileDialog sfd = new SaveFileDialog();
sfd.Filter = "Supported Formats|*.obj"; sfd.Filter = "Supported Formats|*.obj";
sfd.FileName = Text; sfd.FileName = Path.GetFileNameWithoutExtension(Text) + ".obj";
sfd.DefaultExt = ".obj"; sfd.DefaultExt = ".obj";
if (sfd.ShowDialog() == DialogResult.OK) if (sfd.ShowDialog() == DialogResult.OK)