Dear All,

gotta go home for today, I will try to do this early next week.

Best regards,
     Attila
>
> In code/FBXConverter.cpp:
>
> > @@ -1538,6 +1540,99 @@ class Converter
> >  		out_mat->AddProperty(&uvIndex,1,_AI_MATKEY_UVWSRC_BASE,target,0);
> >  	}
> >
> > +	// ------------------------------------------------------------------------------------------------
> > +	void TrySetTextureProperties(aiMaterial* out_mat, const LayeredTextureMap& layeredTextures,
> > +		const std::string& propName,
> > +		aiTextureType target)
> > +	{
> > +		LayeredTextureMap::const_iterator it = layeredTextures.find(propName);
> > +		if(it == layeredTextures.end()) {
> > +			return;
> > +		}
> > +
> > +		const Texture* const tex = (*it).second->getTexture();
>
> Can we be sure that tex-pointer is never NULL?
>
> —
> Reply to this email directly or view it on GitHub 
> <https://github.com/assimp/assimp/pull/249/files#r11070661>.
>


-- 
Attila Barsi
Software Developer/Project Manager
Holografika Ltd.