diff options
author | Théo de la Hogue | 2023-09-05 08:48:44 +0200 |
---|---|---|
committer | Théo de la Hogue | 2023-09-05 08:48:44 +0200 |
commit | 9b9cf7ca527aa9d73386d306a1a25a315e0610d7 (patch) | |
tree | ac0ea6486f31aa834f75a8e224c8b464cc0a9e32 | |
parent | 2b64a79dbc676d531004b4a2d70d6076957f4f4c (diff) | |
download | argaze-9b9cf7ca527aa9d73386d306a1a25a315e0610d7.zip argaze-9b9cf7ca527aa9d73386d306a1a25a315e0610d7.tar.gz argaze-9b9cf7ca527aa9d73386d306a1a25a315e0610d7.tar.bz2 argaze-9b9cf7ca527aa9d73386d306a1a25a315e0610d7.tar.xz |
Drawing background only if heatmap object is None too.
-rw-r--r-- | src/argaze/ArFeatures.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/argaze/ArFeatures.py b/src/argaze/ArFeatures.py index f40377b..1a13092 100644 --- a/src/argaze/ArFeatures.py +++ b/src/argaze/ArFeatures.py @@ -1019,7 +1019,7 @@ class ArFrame(): self.__look_lock.acquire() # Draw background only - if background_weight is not None and heatmap_weight is None: + if background_weight is not None and (heatmap_weight is None or self.heatmap is None): image = self.background.copy() @@ -1069,7 +1069,6 @@ class ArFrame(): Parameters: kwargs: ArFrame.__image parameters """ - # Use image_parameters attribute if no kwargs if kwargs: |