Skip to content

Commit

Permalink
refresh view after AO reset
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisFloofyKitsune committed Jul 6, 2024
1 parent 2045345 commit f993c64
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ambient_occlusion.py
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,7 @@ def execute(self, context: Context) -> set[str]:
for obj in ao_targets_iter(context):
ao_vals_set(obj, reset_val)

bpy.ops.wm.redraw_timer(type='DRAW_WIN_SWAP', iterations=1)
return {"FINISHED"}


Expand Down

0 comments on commit f993c64

Please sign in to comment.