Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/depsgraph/intern/eval')
-rw-r--r--source/blender/depsgraph/intern/eval/deg_eval_runtime_backup_animation.cc2
-rw-r--r--source/blender/depsgraph/intern/eval/deg_eval_runtime_backup_animation.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/depsgraph/intern/eval/deg_eval_runtime_backup_animation.cc b/source/blender/depsgraph/intern/eval/deg_eval_runtime_backup_animation.cc
index e3beeb52ab1..29f70e8548e 100644
--- a/source/blender/depsgraph/intern/eval/deg_eval_runtime_backup_animation.cc
+++ b/source/blender/depsgraph/intern/eval/deg_eval_runtime_backup_animation.cc
@@ -70,7 +70,7 @@ void animated_property_store_cb(ID *id, FCurve *fcurve, void *data_v)
return;
}
- data->backup->values_backup.emplace_back(fcurve->rna_path, fcurve->array_index, value);
+ data->backup->values_backup.append({fcurve->rna_path, fcurve->array_index, value});
}
} // namespace
diff --git a/source/blender/depsgraph/intern/eval/deg_eval_runtime_backup_animation.h b/source/blender/depsgraph/intern/eval/deg_eval_runtime_backup_animation.h
index d97ee2b0556..d021354e6f2 100644
--- a/source/blender/depsgraph/intern/eval/deg_eval_runtime_backup_animation.h
+++ b/source/blender/depsgraph/intern/eval/deg_eval_runtime_backup_animation.h
@@ -59,7 +59,7 @@ class AnimationBackup {
void restore_to_id(ID *id);
bool meed_value_backup;
- vector<AnimationValueBackup> values_backup;
+ Vector<AnimationValueBackup> values_backup;
};
} // namespace DEG