From 176fe43faf22a24cdb385adffed5303612bce5ba Mon Sep 17 00:00:00 2001 From: TigerKat Date: Mon, 6 Jul 2020 12:06:48 +0930 Subject: [PATCH] bugfix: Overlapping names caused it to always export from meters. --- __init__.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/__init__.py b/__init__.py index 0c83161..182e2ce 100644 --- a/__init__.py +++ b/__init__.py @@ -58,8 +58,8 @@ class ImportGeo(bpy.types.Operator, ImportHelper): return import_geo.load(self, context, 1.0, **keywords) class ImportGeoMetric(bpy.types.Operator, ImportHelper): - bl_idname = "import_scene.geo" - bl_label = "Import GEO" + bl_idname = "import_scene_metric.geo" + bl_label = "Import GEO (Metric)" filename_ext = ".geo" filter_glob = StringProperty(default="*.geo", options={'HIDDEN'}) @@ -82,8 +82,8 @@ class ExportGeo(bpy.types.Operator, ExportHelper): return export_geo.save(self, context, 1.0, **keywords) class ExportGeoMetric(bpy.types.Operator, ExportHelper): - bl_idname = "export_scene.geo" - bl_label = "Export GEO" + bl_idname = "export_scene_metric.geo" + bl_label = "Export GEO (Metric)" filename_ext = ".geo" filter_glob = StringProperty(default="*.geo", options={'HIDDEN'})