Sun Position: store and restore line width on North drawing
This commit is contained in:
parent
085bc978b7
commit
b9079cc426
|
@ -72,8 +72,10 @@ else:
|
|||
shader.uniform_float("u_Resolution", (bpy.context.region.width,
|
||||
bpy.context.region.height))
|
||||
shader.uniform_float("u_Color", color)
|
||||
width = gpu.state.line_width_get()
|
||||
gpu.state.line_width_set(2.0)
|
||||
batch.draw(shader)
|
||||
gpu.state.line_width_set(width)
|
||||
|
||||
|
||||
_north_handle = None
|
||||
|
|
Loading…
Reference in New Issue