Adjust obj export default filename
This commit is contained in:
parent
232c44a605
commit
f39203054b
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user