         animation.progress = t
         animation.onProgressUpdate?(t)
     }
-
+    
     layer.path = fromLocus.toCGPath()
 
     // Stroke

        layer.lineCap = RenderUtils.mapLineCapToString(stroke.cap)
        layer.lineJoin = RenderUtils.mapLineJoinToString(stroke.join)
        layer.lineDashPattern = stroke.dashes.map { NSNumber(value: $0) }
    } else {
        layer.strokeColor = MColor.black.cgColor
        layer.lineWidth = 1.0
    }

    // Fill

    guard let layer = animationCache?.layerForNode(mutatingShape, animation: animation, shouldRenderContent: false) else {
        return
    }
    // Creating proper animation
    let generatedAnim = pathAnimation(
        from: fromLocus,
