Fix assertion fail related to NiLookAtController

0.6.3
Andrei Kortunov 7 years ago
parent 5afcc56860
commit fba0c155df

@ -104,13 +104,13 @@ namespace Nif
void NiLookAtController::read(NIFStream *nif) void NiLookAtController::read(NIFStream *nif)
{ {
Controller::read(nif); Controller::read(nif);
data.read(nif); target.read(nif);
} }
void NiLookAtController::post(NIFFile *nif) void NiLookAtController::post(NIFFile *nif)
{ {
Controller::post(nif); Controller::post(nif);
data.post(nif); target.post(nif);
} }
void NiPathController::read(NIFStream *nif) void NiPathController::read(NIFStream *nif)

@ -102,7 +102,7 @@ public:
class NiLookAtController : public Controller class NiLookAtController : public Controller
{ {
public: public:
NiKeyframeDataPtr data; NodePtr target;
void read(NIFStream *nif); void read(NIFStream *nif);
void post(NIFFile *nif); void post(NIFFile *nif);

Loading…
Cancel
Save