changes according travis compiles

pull/2005/head
CwTCwT 2018-06-09 20:22:59 +02:00
parent 2c2b76a2bb
commit 96bc2d3146
3 changed files with 12 additions and 11 deletions

View File

@ -68,16 +68,6 @@ namespace Assimp {
*/
bool isValidCustomDataType(const int cdtype);
/**
* @brief read CustomData's data to ptr to mem
* @param[out] out memory ptr to set
* @param[in] cdtype to read
* @param[in] cnt cnt of elements to read
* @param[in] db to read elements from
* @return true when ok
*/
bool readCustomData(std::shared_ptr<void> &out, int cdtype, size_t cnt, const FileDatabase &db);
/**
* @brief returns CustomDataLayer ptr for given cdtype and name
* @param[in] customdata CustomData to search for wanted layer

View File

@ -825,6 +825,17 @@ private:
FileDatabase& db;
};
/**
* @brief read CustomData's data to ptr to mem
* @param[out] out memory ptr to set
* @param[in] cdtype to read
* @param[in] cnt cnt of elements to read
* @param[in] db to read elements from
* @return true when ok
*/
bool readCustomData(std::shared_ptr<void> &out, int cdtype, size_t cnt, const FileDatabase &db);
} // end Blend
} // end Assimp

View File

@ -163,8 +163,8 @@ struct MVert : ElemBase {
int bweight;
MVert() : ElemBase()
, mat_nr(0)
, flag(0)
, mat_nr(0)
, bweight(0)
{}
};