diff options
author | Philipp Oeser <info@graphics-engineer.com> | 2019-01-04 14:05:04 +0300 |
---|---|---|
committer | Philipp Oeser <info@graphics-engineer.com> | 2019-01-04 14:06:48 +0300 |
commit | b7cca479b4c8e2920818dfe35314d42ea7a8e00f (patch) | |
tree | 461a80195a493efbaa3daa7a57caacd6aba3881e | |
parent | 4536781ef119c64330d1adbe1322fb48a8a9dbf1 (diff) |
Node Wrangler: fix error adding image sequences without a nodetree
adding NWBase as a mixin will give a proper poll()
part of T60130
-rw-r--r-- | node_wrangler.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/node_wrangler.py b/node_wrangler.py index 7ce40f20..444d9f32 100644 --- a/node_wrangler.py +++ b/node_wrangler.py @@ -3311,7 +3311,7 @@ class NWCallInputsMenu(Operator, NWBase): return {'FINISHED'} -class NWAddSequence(Operator, ImportHelper): +class NWAddSequence(Operator, NWBase, ImportHelper): """Add an Image Sequence""" bl_idname = 'node.nw_add_sequence' bl_label = 'Import Image Sequence' @@ -3413,7 +3413,7 @@ class NWAddSequence(Operator, ImportHelper): return {'FINISHED'} -class NWAddMultipleImages(Operator, ImportHelper): +class NWAddMultipleImages(Operator, NWBase, ImportHelper): """Add multiple images at once""" bl_idname = 'node.nw_add_multiple_images' bl_label = 'Open Selected Images' |