Commit: 0f0eafaa0e451f3133d17277c90e1c9bf833cd58
Author: Campbell Barton
Date:   Fri Oct 26 11:48:42 2018 +1100
Branches: blender2.8
https://developer.blender.org/rB0f0eafaa0e451f3133d17277c90e1c9bf833cd58

Cleanup: minor change to last commit

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

M       release/scripts/modules/bpy_types.py

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

diff --git a/release/scripts/modules/bpy_types.py 
b/release/scripts/modules/bpy_types.py
index a80fe6a7c9f..f8eabdde8ef 100644
--- a/release/scripts/modules/bpy_types.py
+++ b/release/scripts/modules/bpy_types.py
@@ -594,7 +594,7 @@ class Gizmo(StructRNA):
         if matrix is None:
             matrix = self.matrix_world
 
-        batch, shader, dims = shape
+        batch, shader = shape
 
         if select_id is not None:
             gpu.select.load_id(select_id)
@@ -639,7 +639,7 @@ class Gizmo(StructRNA):
         vbo.attr_fill(id=pos_id, data=verts)
         batch = GPUBatch(type=type, buf=vbo)
         shader = gpu.shader.from_builtin('3D_UNIFORM_COLOR' if dims == 3 else 
'2D_UNIFORM_COLOR')
-        return (batch, shader, dims)
+        return (batch, shader)
 
 
 # Only defined so operators members can be used by accessing self.order

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to