Avoid creating Morph Controllers when shape key export is disabled

This commit is contained in:
2013-07-18 07:54:19 +00:00
parent 66f6ace938
commit 1d4bd90c84

View File

@@ -123,7 +123,7 @@ void ControllerExporter::operator()(Object *ob)
if (ob_arm) {
export_skin_controller(ob, ob_arm);
}
if (key) {
if (key && this->export_settings->include_shapekeys) {
export_morph_controller(ob, key);
}
}