Avoid creating Morph Controllers when shape key export is disabled
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user