fix: Collada: use reference to BezTriple instead of copy

This commit is contained in:
Gaia Clary 2018-11-23 19:21:29 +01:00
parent 7eb9091e96
commit 397272e561
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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;