From 8c15794dac6bbe02294f0660894200f1917cbf37 Mon Sep 17 00:00:00 2001 From: Adam Johnson Date: Fri, 30 Jul 2021 21:22:04 -0400 Subject: [PATCH] Fix single-face cube map issue. If a cube map's image filename did not contain a `_` character, then a traceback was triggered. --- korman/operators/op_image.py | 1 + 1 file changed, 1 insertion(+) diff --git a/korman/operators/op_image.py b/korman/operators/op_image.py index 197934d..d7b39de 100644 --- a/korman/operators/op_image.py +++ b/korman/operators/op_image.py @@ -131,6 +131,7 @@ class PlasmaBuildCubeMapOperator(ImageOperator, bpy.types.Operator): files.append(None) self._report.progress_increment() return tuple(files) + return [None] * 6 def _generate_cube_map(self, req_name, face_width, face_height, face_data): self._report.progress_advance()