Disables snapping during the current value update to ensure a smooth
        transition for node animations.  Since this can only be called via
        code, we don't need to worry about snapping to the grid for a user.

def updateCurrentValue(self, value):
        """
        Disables snapping during the current value update to ensure a smooth
        transition for node animations.  Since this can only be called via
        code, we don't need to worry about snapping to the grid for a user.
        """
        xsnap = None
        ysnap = None
        
        if value != self.endValue():
            xsnap = self.targetObject().isXSnappedToGrid()
            ysnap = self.targetObject().isYSnappedToGrid()
            
            self.targetObject().setXSnapToGrid(False)
            self.targetObject().setYSnapToGrid(False)
        
        super(XNodeAnimation, self).updateCurrentValue(value)
        
        if value != self.endValue():
            self.targetObject().setXSnapToGrid(xsnap)
            self.targetObject().setYSnapToGrid(ysnap)