When a layer is unchecked and it is not in any group don't show a warning message.
authorCarlos Lopez <genetita@gmail.com>
Tue, 20 Oct 2009 20:21:01 +0000 (22:21 +0200)
committerCarlos Lopez <genetita@gmail.com>
Tue, 20 Oct 2009 20:21:01 +0000 (22:21 +0200)
synfig-studio/src/gtkmm/layergrouptreestore.cpp

index 6334c09..077436c 100644 (file)
@@ -898,7 +898,9 @@ LayerGroupTreeStore::on_layer_status_changed(synfig::Layer::Handle handle,bool /
                (*iter)[model.layer]=handle;
        else
        {
-               synfig::warning("Couldn't find layer to be activated in layer list. Rebuilding index...");
+               // Not need to send a warning when a layer changes its status and
+               // it is not found in any group.
+               //synfig::warning("Couldn't find layer to be activated in layer list. Rebuilding index...");
                rebuild();
        }
 }