Don't know if this is related or not, but I use "setanimtime" quite a bit and it is usually on a number between frames. I was having shadow update issues until I changed the following variable:
Texture_Angle_Epsilon# = .5
After setting that to a low values things worked flawlessly for me.
Texture_Angle_Epsilon# = .5
After setting that to a low values things worked flawlessly for me.