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:
-rw-r--r--source/blender/collada/BCAnimationCurve.cpp2
-rw-r--r--source/blender/collada/BCAnimationCurve.h2
2 files changed, 2 insertions, 2 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
diff --git a/source/blender/collada/BCAnimationCurve.h b/source/blender/collada/BCAnimationCurve.h
index 5d0580210ef..c575c969e0f 100644
--- a/source/blender/collada/BCAnimationCurve.h
+++ b/source/blender/collada/BCAnimationCurve.h
@@ -82,7 +82,7 @@ class BCBezTriple {
public:
BezTriple & bezt;
- BCBezTriple(BezTriple bezt);
+ BCBezTriple(BezTriple &bezt);
const float get_frame() const;
const float get_time(Scene *scene) const;
const float get_value() const;