Don't drop the texture property just because there's no texture assigned...

This commit is contained in:
dfighter1985 2014-10-15 12:09:57 +02:00
parent 96f06076bd
commit 0bbf0b70e9

View file

@ -713,9 +713,6 @@ namespace GUIEditor
{ {
std::string j = element->getProperty( prop.propName ); std::string j = element->getProperty( prop.propName );
if( j.empty() )
return;
QtProperty *pp = textureMgr->addProperty( prop.propName.c_str() ); QtProperty *pp = textureMgr->addProperty( prop.propName.c_str() );
if( pp == NULL ) if( pp == NULL )
return; return;