public void removeLayer() {
		if (layers.size() > 1) {
			addUndo(new CPUndoRemoveLayer(activeLayer, curLayer));
			layers.remove(activeLayer);
			setActiveLayer(activeLayer < layers.size() ? activeLayer : activeLayer - 1);
			invalidateFusion();
			callListenersLayerChange();
		}
	}