.agvmap 확장자제거하고 .json 으로 통일한 mapeditor 와 호환성 유지
This commit is contained in:
@@ -769,8 +769,8 @@ namespace Project
|
||||
//mapsave
|
||||
using (var sd = new SaveFileDialog())
|
||||
{
|
||||
sd.Filter = "AGV Map Files (*.agvmap)|*.agvmap|All Files (*.*)|*.*";
|
||||
sd.DefaultExt = "agvmap";
|
||||
sd.Filter = "AGV Map Files (*.json)|*.json|All Files (*.*)|*.*";
|
||||
sd.DefaultExt = "json";
|
||||
sd.FileName = PUB._mapCanvas.MapFileName;
|
||||
if (sd.ShowDialog() == DialogResult.OK)
|
||||
{
|
||||
@@ -785,8 +785,8 @@ namespace Project
|
||||
|
||||
var od = new OpenFileDialog
|
||||
{
|
||||
Filter = "AGV Map Files (*.agvmap;*.json)|*.agvmap;*.json|All Files (*.*)|*.*",
|
||||
DefaultExt = "agvmap",
|
||||
Filter = "AGV Map Files (*.json)|*.json|All Files (*.*)|*.*",
|
||||
DefaultExt = "json",
|
||||
FileName = PUB._mapCanvas.MapFileName,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user