Vse New - Py
Vse New - Py
Vse New - Py
action: bpy.props.EnumProperty(
name="Action",
items=[
("TRANSLATE", "Translate", "Translate the selected strip"),
("ROTATE", "Rotate", "Rotate the selected strip"),
("SCALE", "Scale", "Scale the selected strip"),
("CROP", "Crop", "Crop the selected strip"),
("BLUR", "Blur", "Blur the selected strip"),
("BRIGHTNESS", "Brightness", "Adjust the brightness of the selected
strip"),
("CONTRAST", "Contrast", "Adjust the contrast of the selected strip"),
],
default="TRANSLATE",
)
return {"FINISHED"}
def menu_func(self, context):
self.layout.operator(VSE_Transaction_Filter.bl_idname)
def register(): bpy.utils.register_class(VSE_Transaction_Filter)
bpy.types.SEQUENCER_MT_strip.append(menu_func)