fix a serialization issue reported by Frances Juhe

metadata
Wenzel Jakob 2015-10-02 18:35:10 +02:00
parent 313c458b9e
commit eda8cb318d
1 changed files with 2 additions and 0 deletions

View File

@ -79,6 +79,8 @@ public:
m_weight = static_cast<Texture *>(manager->getInstance(stream));
m_bsdfs.push_back(static_cast<BSDF *>(manager->getInstance(stream)));
m_bsdfs.push_back(static_cast<BSDF *>(manager->getInstance(stream)));
m_bsdfs[0]->incRef();
m_bsdfs[1]->incRef();
configure();
}