mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-12 19:31:41 +00:00
suppresses a leak potentially caused by Knot::mType||Knot::mPath entries.
This commit is contained in:
parent
963ef1ecdb
commit
a0dc2adff8
2 changed files with 11 additions and 1 deletions
|
|
@ -29,6 +29,16 @@
|
|||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
CameraSpline::Knot::Knot()
|
||||
{
|
||||
mPosition = Point3F::Zero;
|
||||
mRotation = QuatF::Identity;
|
||||
mSpeed = 0.0f;
|
||||
mType = NORMAL;
|
||||
mPath = SPLINE;
|
||||
prev = NULL; next = NULL;
|
||||
};
|
||||
|
||||
CameraSpline::Knot::Knot(const Knot &k)
|
||||
{
|
||||
mPosition = k.mPosition;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue