diff options
Diffstat (limited to 'release/scripts/modules/bpy_types.py')
-rw-r--r-- | release/scripts/modules/bpy_types.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/release/scripts/modules/bpy_types.py b/release/scripts/modules/bpy_types.py index 86fb09ffb4b..3970517a211 100644 --- a/release/scripts/modules/bpy_types.py +++ b/release/scripts/modules/bpy_types.py @@ -905,7 +905,7 @@ class Menu(StructRNA, _GenericUI, metaclass=RNAMeta): props = row.operator(add_operator, text="", icon='ADD') props.name = wm.preset_name - def draw_preset(self, context): + def draw_preset(self, _context): """ Define these on the subclass: - preset_operator (string) @@ -945,7 +945,7 @@ class Node(StructRNA, metaclass=RNAMetaPropGroup): __slots__ = () @classmethod - def poll(cls, ntree): + def poll(cls, _ntree): return True |