Don't drop the texture property just because there's no texture assigned...
--HG-- branch : dfighter-tools
This commit is contained in:
parent
2b5898565f
commit
3209f48daa
1 changed files with 0 additions and 3 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue