diff options
Diffstat (limited to 'release/scripts/startup/bl_operators/uvcalc_lightmap.py')
-rw-r--r-- | release/scripts/startup/bl_operators/uvcalc_lightmap.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/release/scripts/startup/bl_operators/uvcalc_lightmap.py b/release/scripts/startup/bl_operators/uvcalc_lightmap.py index d13e98b96e9..34c36443431 100644 --- a/release/scripts/startup/bl_operators/uvcalc_lightmap.py +++ b/release/scripts/startup/bl_operators/uvcalc_lightmap.py @@ -568,8 +568,7 @@ def unwrap(operator, context, **kwargs): meshes = list({ me for obj in context.selected_objects if obj.type == 'MESH' - for me in (obj.data,) - if me.polygons and me.library is None + if (me := obj.data).polygons and me.library is None }) if not meshes: |