diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2018-09-21 19:34:38 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2018-09-21 19:34:53 +0300 |
commit | a3020d5558322e8839e3f24039147baf7ef8c0dd (patch) | |
tree | 364dcafc57bc862e8e4e33f7234510c509b83498 /doc | |
parent | 2ece296d4fc9bb5c58da0e8428c13c0d1c5b9373 (diff) |
Fixup for gpu.types.GPUOffscreen.py example
Addressing the changes introduced on: 43fa51835adee390aa4bcb9fe3bda1034480b7cf
Diffstat (limited to 'doc')
-rw-r--r-- | doc/python_api/examples/gpu.types.GPUOffScreen.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/python_api/examples/gpu.types.GPUOffScreen.py b/doc/python_api/examples/gpu.types.GPUOffScreen.py index 66fab23b110..d927e393b96 100644 --- a/doc/python_api/examples/gpu.types.GPUOffScreen.py +++ b/doc/python_api/examples/gpu.types.GPUOffScreen.py @@ -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 |