Cleanup: remove redundant assignment

This commit is contained in:
Campbell Barton
2018-09-08 07:29:15 +10:00
parent 0ffca8b7b3
commit b8ac2379eb

View File

@@ -129,7 +129,6 @@ class MyCustomShapeWidgetGroup(GizmoGroup):
ob = context.object
mpr = self.gizmos.new(MyCustomShapeWidget.bl_idname)
mpr.target_set_prop("offset", ob.data, "energy")
mpr.matrix_basis = ob.matrix_world.normalized()
mpr.color = 1.0, 0.5, 1.0
mpr.alpha = 0.5