Cleanup: remove redundant assignment
This commit is contained in:
@@ -129,7 +129,6 @@ class MyCustomShapeWidgetGroup(GizmoGroup):
|
|||||||
ob = context.object
|
ob = context.object
|
||||||
mpr = self.gizmos.new(MyCustomShapeWidget.bl_idname)
|
mpr = self.gizmos.new(MyCustomShapeWidget.bl_idname)
|
||||||
mpr.target_set_prop("offset", ob.data, "energy")
|
mpr.target_set_prop("offset", ob.data, "energy")
|
||||||
mpr.matrix_basis = ob.matrix_world.normalized()
|
|
||||||
|
|
||||||
mpr.color = 1.0, 0.5, 1.0
|
mpr.color = 1.0, 0.5, 1.0
|
||||||
mpr.alpha = 0.5
|
mpr.alpha = 0.5
|
||||||
|
Reference in New Issue
Block a user