Commit 223414af authored by Dirk Wilden's avatar Dirk Wilden

fixed bug occuring when changing inactive texture

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@6305 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 8a21604c
......@@ -1075,6 +1075,14 @@ void TextureControlPlugin::applyDialogSettings(TextureData* _texData, QString _t
// Always mark texture as dirty
_texData->texture( _textureName ).setDirty();
//switch back to the active texture to force rebind
for ( uint i=0; i < _texData->textures().size(); i++ )
if ( _texData->textures()[i].enabled() ){
doSwitchTexture( _texData->textures()[i].name(), _id);
break;
}
emit updateView();
} else {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment