setBlurNoUndo = function (val) {
  const selectedElements = svgCanvas.getSelectedElements()
  if (!svgCanvas.getFilter()) {
    svgCanvas.setBlur(val)
    return
  }
  if (val === 0) {
    // Don't change the StdDev, as that will hide the element.
    // Instead, just remove the value for "filter"
    svgCanvas.changeSelectedAttributeNoUndo('filter', '')
    svgCanvas.setFilterHidden(true)
  } else {
    const elem = selectedElements[0]
    if (svgCanvas.getFilterHidden()) {
      svgCanvas.changeSelectedAttributeNoUndo('filter', 'url(#' + elem.id + '_blur)')
    }
    const filter = svgCanvas.getFilter()
    svgCanvas.changeSelectedAttributeNoUndo('stdDeviation', val, [filter.firstChild])
    svgCanvas.setBlurOffsets(filter, val)
  }
}
Sets the `stdDeviation` blur value on the selected element without being undoable.
@function module:svgcanvas.SvgCanvas#setBlurNoUndo
@param {Float} val - The new `stdDeviation` value
@returns {void}