Browse Source

Fix #177.

Mark any (re-)generated cube maps as needing to be re-cached.
pull/268/head
Adam Johnson 3 years ago
parent
commit
bda85fdf3d
Signed by: Hoikas
GPG Key ID: 0B6515D6FF6F271E
  1. 1
      korman/operators/op_image.py

1
korman/operators/op_image.py

@ -179,6 +179,7 @@ class PlasmaBuildCubeMapOperator(ImageOperator, bpy.types.Operator):
image.pixels = pixels image.pixels = pixels
image.update() image.update()
image.pack(True) image.pack(True)
image.plasma_image.texcache_method = "rebuild"
return image return image

Loading…
Cancel
Save