]> git.tdb.fi Git - libs/gl.git/commitdiff
Fix typos in custom property UI layout
authorMikko Rasa <tdb@tdb.fi>
Sat, 13 Feb 2021 15:35:17 +0000 (17:35 +0200)
committerMikko Rasa <tdb@tdb.fi>
Sat, 13 Feb 2021 18:54:23 +0000 (20:54 +0200)
blender/io_mspgl/properties.py

index 0605ba0c2b0fcab5e46dd6b2673275ce2243d7a1..e3806584fef8d7ddc276274e32d8b5c424aae7ed 100644 (file)
@@ -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")