Permalink
Browse files

Updated Slight_Desync_Adjust for 2sec

Slight_Desync_Adjust now recognizes differences of 1 and 2 seconds between video and audio
  • Loading branch information...
szaszak committed Nov 22, 2018
1 parent b58ed4d commit dbba34f25c74d39241e49918c11222e1cb775740
Showing with 4 additions and 1 deletion.
  1. +4 −1 Blender_2.79/velvet_goldmine.py
@@ -25,7 +25,7 @@
"name": "velvet_goldmine ::",
"description": "Glamorous new shortcuts for video editing in Blender VSE",
"author": "szaszak - http://blendervelvets.org",
"version": (1, 0, 20171025),
"version": (1, 0, 20181122),
"blender": (2, 79, 0),
"warning": "TO BE USED WITH LOTS OF GLITTER",
"category": ":",
@@ -626,6 +626,9 @@ def execute(self, context):
# their final frames - if so, remove 1 frame from audio
if ss == ms and sp == mp and (se - me == 1):
sound.animation_offset_end += 1

if ss == ms and sp == mp and (se - me == 2):
sound.animation_offset_end += 2

return {'FINISHED'}

0 comments on commit dbba34f

Please sign in to comment.