Suppressed MSVC++ warning C4267
'=': conversion from 'size_t' to 'ai_uint32', possible loss of datapull/2905/head
parent
784a05651b
commit
bdc10aa336
|
@ -403,7 +403,7 @@ void UnrealImporter::InternReadFile( const std::string& pFile,
|
||||||
|
|
||||||
// set color and name
|
// set color and name
|
||||||
mat->AddProperty(&color,1,AI_MATKEY_COLOR_DIFFUSE);
|
mat->AddProperty(&color,1,AI_MATKEY_COLOR_DIFFUSE);
|
||||||
s.length = ::strlen(s.data);
|
s.length = (ai_uint32)::strlen(s.data);
|
||||||
mat->AddProperty(&s,AI_MATKEY_NAME);
|
mat->AddProperty(&s,AI_MATKEY_NAME);
|
||||||
|
|
||||||
// set texture, if any
|
// set texture, if any
|
||||||
|
|
Loading…
Reference in New Issue