diff options
author | Gaia Clary <gaia.clary@machinimatrix.org> | 2018-11-23 21:21:29 +0300 |
---|---|---|
committer | Gaia Clary <gaia.clary@machinimatrix.org> | 2018-11-23 21:21:29 +0300 |
commit | 397272e561182f0c48564e1efd1e3866c52cdd8d (patch) | |
tree | e73ea4a93a851a8f605622714c7422bcf5696945 /source/blender/collada/BCAnimationCurve.cpp | |
parent | 7eb9091e96f4db4fbea03d52c1cc140862723f14 (diff) |
fix: Collada: use reference to BezTriple instead of copy
Diffstat (limited to 'source/blender/collada/BCAnimationCurve.cpp')
-rw-r--r-- | source/blender/collada/BCAnimationCurve.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/collada/BCAnimationCurve.cpp b/source/blender/collada/BCAnimationCurve.cpp index 3925cde8516..903a6eab3bb 100644 --- a/source/blender/collada/BCAnimationCurve.cpp +++ b/source/blender/collada/BCAnimationCurve.cpp @@ -628,7 +628,7 @@ const bool BCCurveKey::operator<(const BCCurveKey &other) const return this->curve_array_index < other.curve_array_index; } -BCBezTriple::BCBezTriple(BezTriple bezt) : +BCBezTriple::BCBezTriple(BezTriple &bezt) : bezt(bezt) {} const float BCBezTriple::get_frame() const |