Skip to content

Commit

Permalink
fixed bug related to ending pixelate function
Browse files Browse the repository at this point in the history
  • Loading branch information
doakey3 committed May 17, 2018
1 parent 571ea64 commit 73acc59
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"name": "VSE Transform tool",
"description": "Quickly transform, crop and fade video strips in Blender's Video Sequence Editor",
"author": "kgeogeo, DoubleZ, doakey3",
"version": (1, 2, 0),
"version": (1, 2, 1),
"blender": (2, 7, 9),
"wiki_url": "https://github.com/doakey3/VSE_Transform_Tools",
"tracker_url": "https://github.com/doakey3/VSE_Transform_Tools/issues",
Expand Down
7 changes: 6 additions & 1 deletion operators/pixelate/pixelate.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,9 +144,14 @@ def modal(self, context, event):

return {'FINISHED'}

else:
bpy.types.SpaceSequenceEditor.draw_handler_remove(
self.handle_pixelation, 'PREVIEW')
return {'FINISHED'}

if event.type == 'ESC' or event.type == 'RIGHTMOUSE':
bpy.types.SpaceSequenceEditor.draw_handler_remove(
self.handle_alpha, 'PREVIEW')
self.handle_pixelation, 'PREVIEW')
return {'FINISHED'}

return {'RUNNING_MODAL'}
Expand Down

0 comments on commit 73acc59

Please sign in to comment.