From cd90aa081b33a579f12f2b4a9f1452ce68c6d2c4 Mon Sep 17 00:00:00 2001
From: Brecht Van Lommel <brechtvanlommel@gmail.com>
Date: Fri, 28 Sep 2018 10:32:56 +0200
Subject: [PATCH] Fix T56942: node wrangler backdrop error.

---
 node_wrangler.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/node_wrangler.py b/node_wrangler.py
index 8b34e13db..7d321f486 100644
--- a/node_wrangler.py
+++ b/node_wrangler.py
@@ -1562,8 +1562,8 @@ class NWResetBG(Operator, NWBase):
 
     def execute(self, context):
         context.space_data.backdrop_zoom = 1
-        context.space_data.backdrop_x = 0
-        context.space_data.backdrop_y = 0
+        context.space_data.backdrop_offset[0] = 0
+        context.space_data.backdrop_offset[1] = 0
         return {'FINISHED'}
 
 
-- 
GitLab