Media Summary: It seems like there's an issue with the context in which the script is running. The bpy.ops.object.select_all() operator, for example, ... Subscribe! Code: def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) self.shader_output_type ...
Blender Invalid Python Expression Fix - Detailed Analysis & Overview
It seems like there's an issue with the context in which the script is running. The bpy.ops.object.select_all() operator, for example, ... Subscribe! Code: def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) self.shader_output_type ...