Fixup for gpu.types.GPUOffscreen.py example
Addressing the changes introduced on: 43fa51835a
This commit is contained in:
parent
2ece296d4f
commit
a3020d5558
|
@ -256,6 +256,8 @@ if __name__ == "__main__":
|
|||
try:
|
||||
unregister()
|
||||
except RuntimeError:
|
||||
pass
|
||||
else:
|
||||
if hasattr(bpy.types, "VIEW3D_OT_draw_offscreen"):
|
||||
del bpy.types.VIEW3D_OT_draw_offscreen.global_shader
|
||||
|
||||
|
|
Loading…
Reference in New Issue