1
0
mirror of synced 2024-09-24 11:38:22 +02: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();
sfd.Filter = "Supported Formats|*.obj";
sfd.FileName = Text;
sfd.FileName = Path.GetFileNameWithoutExtension(Text) + ".obj";
sfd.DefaultExt = ".obj";
if (sfd.ShowDialog() == DialogResult.OK)