From: Mikko Rasa Date: Sat, 13 Feb 2021 15:35:17 +0000 (+0200) Subject: Fix typos in custom property UI layout X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=46752f789ea3d23928e96ce451ea96c78c694b93;p=libs%2Fgl.git Fix typos in custom property UI layout --- diff --git a/blender/io_mspgl/properties.py b/blender/io_mspgl/properties.py index 0605ba0c..e3806584 100644 --- a/blender/io_mspgl/properties.py +++ b/blender/io_mspgl/properties.py @@ -64,11 +64,11 @@ class MspGLMaterialProperties(bpy.types.Panel): if not mat: return - self.layout_prop(mat, "render_mode") + self.layout.prop(mat, "render_mode") if mat.render_mode=='CUSTOM': - self.layout_prop(mat, "shader") + self.layout.prop(mat, "shader") elif mat.render_mode=='EXTERNAL': - self.layout_prop(mat, "technique") + self.layout.prop(mat, "technique") self.layout.prop(mat, "array_atlas") if mat.array_atlas: self.layout.prop(mat, "array_layer")