Skip to content
This repository was archived by the owner on Nov 14, 2023. It is now read-only.

Commit 4410916

Browse files
committed
add texture test
1 parent f7a4a24 commit 4410916

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: setup.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[metadata]
22
name = camera4kivy
3-
version = 0.2.0
3+
version = 0.2.1
44
author = Robert Flatt
55
description = Yet Another Camera for Kivy
66
long_description = file: README.md

Diff for: src/camera4kivy/preview_kivycamera.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def on_size(self, instance, size):
6565
self.canvas.clear()
6666
if self.error_message:
6767
self.canvas_text(self.error_message)
68-
elif self._camera:
68+
elif self._camera and self._camera._texture:
6969
self.on_tex(None)
7070
else:
7171
with self.canvas:

0 commit comments

Comments
 (0)