public void moveLayer(int from, int to) {
		if (from < 0 || from >= getLayersNb() || to < 0 || to > getLayersNb() || from == to) {
			return;
		}
		addUndo(new CPUndoMoveLayer(from, to));
		moveLayerReal(from, to);
	}