Commit 27713df4 authored by Dirk Wilden's avatar Dirk Wilden
Browse files

fixed bug occuring when changing inactive texture

git-svn-id: 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 1bedd37e
......@@ -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);
emit updateView();
} else {
Supports Markdown
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