From 965680f5ddfac5a7326538e8e4a6ff13158c2a7c Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Sat, 21 Apr 2012 11:42:38 +0900 Subject: [PATCH] Fix the bogus rotation flag when exporting the torch. --- tools/io_mesh_qfmdl/export_mdl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/io_mesh_qfmdl/export_mdl.py b/tools/io_mesh_qfmdl/export_mdl.py index 2d4996a12..d3453ec74 100644 --- a/tools/io_mesh_qfmdl/export_mdl.py +++ b/tools/io_mesh_qfmdl/export_mdl.py @@ -173,7 +173,7 @@ def calc_average_area(mdl): def get_properties(operator, mdl, obj): mdl.eyeposition = tuple (obj.qfmdl.eyeposition) mdl.synctype = MDL.SYNCTYPE[obj.qfmdl.synctype] - mdl.flags = ((obj.qfmdl.synctype and MDL.EF_ROTATE or 0) + mdl.flags = ((obj.qfmdl.rotate and MDL.EF_ROTATE or 0) | MDL.EFFECTS[obj.qfmdl.effects]) script = obj.qfmdl.script mdl.script = None