Browse Source

Update __init__.py

pull/10/head
tin2tin 2 years ago committed by GitHub
parent
commit
aba2130e28
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      __init__.py

8
__init__.py

@ -632,7 +632,7 @@ class SEQUENCER_OT_generate_movie(Operator):
seed = (
seed
if not context.scene.movie_use_random
else random.randint(0, 2147483647)
else random.randint(0, 999999)
)
context.scene.movie_num_seed = seed
@ -704,14 +704,14 @@ class SEQUENCER_OT_generate_movie(Operator):
bpy.ops.wm.redraw_timer(type="DRAW_WIN_SWAP", iterations=1)
break
# clear the VRAM
if torch.cuda.is_available():
torch.cuda.empty_cache()
bpy.ops.renderreminder.play_notification()
#wm.progress_end()
scene.frame_current = current_frame
# clear the VRAM
if torch.cuda.is_available():
torch.cuda.empty_cache()
return {"FINISHED"}

Loading…
Cancel
Save