diff options
Diffstat (limited to 'doc/python_api/examples/gpu.8.py')
-rw-r--r-- | doc/python_api/examples/gpu.8.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/python_api/examples/gpu.8.py b/doc/python_api/examples/gpu.8.py index 86a242b0258..385b71d0c1a 100644 --- a/doc/python_api/examples/gpu.8.py +++ b/doc/python_api/examples/gpu.8.py @@ -43,7 +43,7 @@ with offscreen.bind(): offscreen.free() -if not IMAGE_NAME in bpy.data.images: +if IMAGE_NAME not in bpy.data.images: bpy.data.images.new(IMAGE_NAME, WIDTH, HEIGHT) image = bpy.data.images[IMAGE_NAME] image.scale(WIDTH, HEIGHT) |