Commit d75c0e9b authored by Jan Möbius's avatar Jan Möbius

Introduced update textures signal


git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@11726 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 5b8487c6
......@@ -752,6 +752,11 @@ void TextureControlPlugin::slotTextureUpdated( QString _textureName , int _ident
// ================================================================================
texData->texture(_textureName).clean();
// ================================================================================
// Tell plugins to update texture
// ================================================================================
emit updatedObject(obj->id(),UPDATE_TEXTURE);
// ================================================================================
// Enable the right draw mode and update
// ================================================================================
......@@ -1490,6 +1495,8 @@ void TextureControlPlugin::doSwitchTexture( QString _textureName , int _id ) {
}
}
emit updatedObject(obj->id(),UPDATE_TEXTURE);
// ================================================================================
// Switch to a texture drawMode
// ================================================================================
......
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