Commit a8388b5a authored by Mike Kremer's avatar Mike Kremer

Only handling relevant cases in slotObjectUpdated()

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@8714 383ad7c9-94d9-4d36-a494-682f7c89f535
parent c8390cee
......@@ -650,8 +650,11 @@ void TextureControlPlugin::computeValue(Texture& _texture, double _min, double _
}
}
void TextureControlPlugin::slotObjectUpdated(int _identifier)
{
void TextureControlPlugin::slotObjectUpdated(int _identifier, UpdateType _type)
{
if( !_type.contains(UPDATE_ALL) && !_type.contains(UPDATE_GEOMETRY) && !_type.contains(UPDATE_TOPOLOGY) )
return;
// ================================================================================
// Get updated object
// ================================================================================
......
......@@ -100,7 +100,7 @@ class TextureControlPlugin : public QObject, BaseInterface, TextureInterface, Me
// BaseInterface
void pluginsInitialized();
void slotObjectUpdated(int _identifier);
void slotObjectUpdated(int _identifier, UpdateType _type);
// TextureInterface
void slotUpdateAllTextures( );
......
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