|
|
@ -41,6 +41,10 @@ class ExportOperator(bpy.types.Operator): |
|
|
|
"description": "(Re-)Bake all lightmaps on export", |
|
|
|
"description": "(Re-)Bake all lightmaps on export", |
|
|
|
"default": True}), |
|
|
|
"default": True}), |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
"regenerate_shading": (BoolProperty, {"name": "Regenerate Vertex Shading", |
|
|
|
|
|
|
|
"description": "(Re-)Bake all vertex shading on export", |
|
|
|
|
|
|
|
"default": True}), |
|
|
|
|
|
|
|
|
|
|
|
"version": (EnumProperty, {"name": "Version", |
|
|
|
"version": (EnumProperty, {"name": "Version", |
|
|
|
"description": "Version of the Plasma Engine to target", |
|
|
|
"description": "Version of the Plasma Engine to target", |
|
|
|
"default": "pvPots", # This should be changed when moul is easier to target! |
|
|
|
"default": "pvPots", # This should be changed when moul is easier to target! |
|
|
@ -57,6 +61,7 @@ class ExportOperator(bpy.types.Operator): |
|
|
|
# The crazy mess we're doing with props on the fly means we have to explicitly draw them :( |
|
|
|
# The crazy mess we're doing with props on the fly means we have to explicitly draw them :( |
|
|
|
layout.prop(age, "version") |
|
|
|
layout.prop(age, "version") |
|
|
|
layout.prop(age, "regenerate_lightmaps") |
|
|
|
layout.prop(age, "regenerate_lightmaps") |
|
|
|
|
|
|
|
layout.prop(age, "regenerate_shading") |
|
|
|
layout.prop(age, "profile_export") |
|
|
|
layout.prop(age, "profile_export") |
|
|
|
|
|
|
|
|
|
|
|
def __getattr__(self, attr): |
|
|
|
def __getattr__(self, attr): |
|
|
|