freeze_background for scenes

This commit is contained in:
Grant Sanderson
2016-03-17 23:53:59 -07:00
parent 0501fa4492
commit c19b313808
2 changed files with 6 additions and 1 deletions

View File

@ -41,7 +41,7 @@ class Camera(object):
self.space_shape = (space_height, space_width)
def init_background(self):
if self.background:
if self.background is not None:
self.pixel_shape = self.background.shape[:2]
else:
background_rgb = color_to_int_rgb(self.background_color)