From b4dfecd72df8bb342ddb20c46516ba6cb62e5600 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Fri, 8 Oct 2021 09:53:56 +0300 Subject: [PATCH] Remove unfinished light properties panel from the blender exporter This was accidentally added in 7ae4af7 even though the things it's going to be used with are not ready yet. I will add it back later. --- blender/io_mspgl/properties.py | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/blender/io_mspgl/properties.py b/blender/io_mspgl/properties.py index 744630f7..128b3c53 100644 --- a/blender/io_mspgl/properties.py +++ b/blender/io_mspgl/properties.py @@ -134,23 +134,6 @@ class MspGLTextureNodeProperties(bpy.types.Panel): self.layout.prop(node, "use_mipmap") self.layout.prop(node, "max_anisotropy") -class MspGLLightProperties(bpy.types.Panel): - bl_idname = "LIGHT_PT_mspgl_properties" - bl_label = "MspGL properties" - bl_space_type = "PROPERTIES" - bl_region_type = "WINDOW" - bl_context = "data" - - @classmethod - def poll(cls, context): - return context.active_object.type=="LIGHT" - - def draw(self, context): - light = context.active_object.data - - if light.use_shadow: - self.layout.prop(light, "shadow_map_size") - class MspGLRenderProperties(bpy.types.Panel): bl_idname = "WORLD_PT_mspgl_properties" bl_label = "MspGL properties" @@ -181,7 +164,7 @@ class MspGLUniformList(bpy.types.UIList): layout.label(text="({})".format(", ".join("{:.3f}".format(v) for v in uniform.values[:uniform.size]))) classes = [MspGLSceneProperties, MspGLMeshProperties, MspGLObjectProperties, MspGLMaterialProperties, - MspGLTextureNodeProperties, MspGLLightProperties, MspGLRenderProperties, MspGLUniform, MspGLUniformList] + MspGLTextureNodeProperties, MspGLRenderProperties, MspGLUniform, MspGLUniformList] def register_properties(): for c in classes: -- 2.43.0