ColorRamp Animation Not Showing / Force Redraw

Hi all,

I’m an experienced user and have stumbled upon an issue that I can’t wrap my head around. I have a very simple node setup. A base material, to a color ramp to an output.


The position of white marker is animated using a driver that reads info from a baked f-curve. I can confirm that driver works properly and position value changes according to my curve.

My problem is that the method works properly if rendered, however changes do not show in viewport. Changes only appear after I click on the marker in the color ramp.

Basically viewport updates only if colorramp marker is clicked by the user.

I was wondering if there is a workaround/script for this, that forces the viewport to update/refresh properly from frame to frame. I am a noob when it comes to python coding :frowning:

Thank you all in advance :slight_smile: