Merge branch 'master' into blender2.8
[blender.git] / source / blender / collada / AnimationExporter.cpp
index ffd11514ea00fa911e76c4918896d980b979b85e..299c94a6a81d86d96e31473f14475616693c1247 100644 (file)
@@ -313,12 +313,12 @@ void AnimationExporter::dae_animation(Object *ob, FCurve *fcu, char *transformNa
        if (ob->type == OB_ARMATURE) {
                ob_name =  getObjectBoneName(ob, fcu);
                BLI_snprintf(
-                               anim_id,
-                               sizeof(anim_id),
-                               "%s_%s.%s",
-                               (char *)translate_id(ob_name).c_str(),
-                               (char *)translate_id(transformName).c_str(),
-                               axis_name);
+                       anim_id,
+                       sizeof(anim_id),
+                       "%s_%s.%s",
+                       (char *)translate_id(ob_name).c_str(),
+                       (char *)translate_id(transformName).c_str(),
+                       axis_name);
        }
        else {
                if (ma)
@@ -327,12 +327,12 @@ void AnimationExporter::dae_animation(Object *ob, FCurve *fcu, char *transformNa
                        ob_name = id_name(ob);
 
                BLI_snprintf(
-                               anim_id,
-                               sizeof(anim_id),
-                               "%s_%s_%s",
-                               (char *)translate_id(ob_name).c_str(),
-                               (char *)getAnimationPathId(fcu).c_str(),
-                               axis_name);
+                       anim_id,
+                       sizeof(anim_id),
+                       "%s_%s_%s",
+                       (char *)translate_id(ob_name).c_str(),
+                       (char *)getAnimationPathId(fcu).c_str(),
+                       axis_name);
        }
 
        openAnimation(anim_id, COLLADABU::Utils::EMPTY_STRING);