fix: Collada: use reference to BezTriple instead of copy
This commit is contained in:
parent
7eb9091e96
commit
397272e561
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue