[Bf-extensions-cvs] [cd90aa08] blender2.8: Fix T56942: node wrangler backdrop error.

Brecht Van Lommel noreply at git.blender.org
Fri Sep 28 10:33:42 CEST 2018


Commit: cd90aa081b33a579f12f2b4a9f1452ce68c6d2c4
Author: Brecht Van Lommel
Date:   Fri Sep 28 10:32:56 2018 +0200
Branches: blender2.8
https://developer.blender.org/rBAcd90aa081b33a579f12f2b4a9f1452ce68c6d2c4

Fix T56942: node wrangler backdrop error.

===================================================================

M	node_wrangler.py

===================================================================

diff --git a/node_wrangler.py b/node_wrangler.py
index 8b34e13d..7d321f48 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'}



More information about the Bf-extensions-cvs mailing list