diff --git a/korman/operators/op_lightmap.py b/korman/operators/op_lightmap.py index e67e241..4cad03d 100644 --- a/korman/operators/op_lightmap.py +++ b/korman/operators/op_lightmap.py @@ -23,6 +23,8 @@ class _LightingOperator: @classmethod def poll(cls, context): + if context.mode != "OBJECT": + return False if context.object is not None: return context.scene.render.engine == "PLASMA_GAME"