From 106c0895c130e2db7219e0368347a9d19db5046b Mon Sep 17 00:00:00 2001 From: Adam Johnson Date: Sat, 5 Feb 2022 17:14:13 -0500 Subject: [PATCH] Fix #314. --- korman/operators/op_export.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/korman/operators/op_export.py b/korman/operators/op_export.py index 5f41e18..fb193db 100644 --- a/korman/operators/op_export.py +++ b/korman/operators/op_export.py @@ -439,7 +439,9 @@ class PlasmaPythonExportOperator(ExportOperator, bpy.types.Operator): def menu_cb(self, context): if context.scene.render.engine == "PLASMA_GAME": self.layout.operator_context = "INVOKE_DEFAULT" - self.layout.operator(PlasmaAgeExportOperator.bl_idname, text="Plasma Age (.age)") + op = self.layout.operator(PlasmaAgeExportOperator.bl_idname, text="Plasma Age (.age)") + op.actions = {"EXPORT"} + op.dat_only = True self.layout.operator(PlasmaPythonExportOperator.bl_idname, text="Plasma Scripts (.pak)")