Ejemplo n.º 1
0
        override public bool Execute()
        {
            var layers = ActiveImage.Layers;

            foreach (ReferenceParameter parameter in _list)
            {
                var name = parameter.Set[0] as NameType;
                if (name != null)
                {
                    var layer = layers[name.Key];
                    LinkedLayersSet.Unlink(SelectedLayer, layer);
                }
            }
            return(true);
        }
Ejemplo n.º 2
0
 override public bool Execute()
 {
     LinkedLayersSet.Link(SelectedLayers);
     return(true);
 }