Page MenuHome

Node Wrangler: error adding image sequence node / multiple images

Authored by Philipp Oeser (lichtwerk) on Mar 18 2019, 3:36 PM.



issue is missing context.region in the execute() after calling
window_manager.fileselect_add() [in the invoke() -- indirectly via

Havent hunted down the actual reason / breaking commit but for now do
the following as a bandaid:

  • in case of adding multiple images, we can skip ImportHelper all

together and store positions in own invoke(). context.region is still
valid then. no functional change.

  • in the case of adding an image sequence, we can refrain from calling

bpy.ops.node.add_node() and place the nodes at the far left [as it was
done before rBA922272e6bed1]

Fixes T59962, T60130

Diff Detail

rBA Blender Add-ons
T59962_ (branched from master)
Build Status
Buildable 3162
Build 3162: arc lint + arc unit

Event Timeline

Underlying bug in Blender fixed in rB8b4e0eb88e71: Fix T59962, T60130: error adding image sequence with node wrangler., I'd rather not add workarounds for that kind of thing.

thank you very much @Brecht Van Lommel (brecht)! good to have this working again