Double check if object actually has a modifiers attribute before looping. Was causing lights to not update during IPR in Blender 2.92.
Double check if object actually
has a modifiers attribute before
looping. Was causing lights
to not update during IPR in
Blender 2.92.

adminradio/RenderManForBlender,prman-pixar/RenderManForBlender,prman-pixar/RenderManForBlender