blenderの環境依存によるlintエラーを抑制
This commit is contained in:
@@ -8,7 +8,7 @@ only to masked regions of a video strip.
|
||||
def create_mask_blur_node_tree(
|
||||
name: str = "FaceMaskBlur",
|
||||
blur_size: int = 50,
|
||||
) -> "bpy.types.NodeTree":
|
||||
) -> "bpy.types.NodeTree": # noqa: F821
|
||||
"""
|
||||
Create a compositing node tree for mask-based blur.
|
||||
|
||||
@@ -107,10 +107,10 @@ def create_mask_blur_node_tree(
|
||||
|
||||
|
||||
def setup_strip_compositor_modifier(
|
||||
strip: "bpy.types.Strip",
|
||||
mask_strip: "bpy.types.Strip",
|
||||
node_tree: "bpy.types.NodeTree",
|
||||
) -> "bpy.types.SequenceModifier":
|
||||
strip: "bpy.types.Strip", # noqa: F821
|
||||
mask_strip: "bpy.types.Strip", # noqa: F821
|
||||
node_tree: "bpy.types.NodeTree", # noqa: F821
|
||||
) -> "bpy.types.SequenceModifier": # noqa: F821
|
||||
"""
|
||||
Add a Compositor modifier to a strip using the mask-blur node tree.
|
||||
|
||||
@@ -148,7 +148,7 @@ def setup_strip_compositor_modifier(
|
||||
return modifier
|
||||
|
||||
|
||||
def get_or_create_blur_node_tree(blur_size: int = 50) -> "bpy.types.NodeTree":
|
||||
def get_or_create_blur_node_tree(blur_size: int = 50) -> "bpy.types.NodeTree": # noqa: F821
|
||||
"""
|
||||
Get existing or create new blur node tree with specified blur size.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user