diff --git a/release/scripts/export_fbx.py b/release/scripts/export_fbx.py index a0a7d780c57..7e472c409c2 100644 --- a/release/scripts/export_fbx.py +++ b/release/scripts/export_fbx.py @@ -1701,11 +1701,11 @@ def write(filename, batch_objects = None, \ # Support object colors tmp_colbits = ob.colbits - if colbits: + if tmp_colbits: tmp_ob_mats = ob.getMaterials(1) # 1 so we get None's too. for i in xrange(16): - if colbits & (1<