Brushstroke Tools: Initial Version #328
@ -614,7 +614,8 @@ def set_preview(pixels, size = (256, 256)):
|
|||||||
|
|
||||||
preview_img.pixels.foreach_set(numpy.array(pixels, dtype=numpy.float32))
|
preview_img.pixels.foreach_set(numpy.array(pixels, dtype=numpy.float32))
|
||||||
|
|
||||||
# TODO pack image
|
preview_img.pack()
|
||||||
|
|
||||||
# TODO delete pre-save
|
# TODO delete pre-save
|
||||||
# TODO set height of preview region
|
# TODO set height of preview region
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user