.agvmap 확장자제거하고 .json 으로 통일한 mapeditor 와 호환성 유지

This commit is contained in:
backuppc
2025-12-15 08:33:42 +09:00
parent a8cb952ea4
commit 9db88e5d6b
6 changed files with 21 additions and 21 deletions

View File

@@ -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,
};