When no shadow views are needed Blender could signal a division by zero. This change fixes this by safe guarding the division by zero ensuring the there is always a view to update.
When no shadow views are needed Blender could signal a division by zero. This change fixes this by safe guarding the division by zero ensuring the there is always a view to update.