From 8614fec284ac528b6107ada6c161d670522e2fcc Mon Sep 17 00:00:00 2001 From: Kentaro Wada Date: Sat, 24 Nov 2018 15:13:45 +0000 Subject: [PATCH] Fix camera resolution check in viewer.py --- trimesh/scene/viewer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trimesh/scene/viewer.py b/trimesh/scene/viewer.py index 13002eac8..7f16013ab 100644 --- a/trimesh/scene/viewer.py +++ b/trimesh/scene/viewer.py @@ -46,7 +46,7 @@ def __init__(self, if scene.camera is not None: if resolution is not None: - if resolution != scene.camera.resolution: + if not all(resolution == scene.camera.resolution): log.warning( 'resolution is overwritten by Camera: ' '{} -> {}'.format(resolution,