Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2010-09-07 19:17:42 +0400
committerCampbell Barton <ideasman42@gmail.com>2010-09-07 19:17:42 +0400
commit115b25673832049b746835357d63d8d2dbee5229 (patch)
treeca36db0fe4063108ca5820e1d76ae0496fb88f15 /release/scripts/ui/properties_material.py
parente53bbc7ab7568e315dc3cf06dd5e989300c98786 (diff)
ran through pep8 checker
Diffstat (limited to 'release/scripts/ui/properties_material.py')
-rw-r--r--release/scripts/ui/properties_material.py24
1 files changed, 12 insertions, 12 deletions
diff --git a/release/scripts/ui/properties_material.py b/release/scripts/ui/properties_material.py
index e965719007f..37284847dd1 100644
--- a/release/scripts/ui/properties_material.py
+++ b/release/scripts/ui/properties_material.py
@@ -119,7 +119,7 @@ class MATERIAL_PT_context_material(MaterialButtonsPanel, bpy.types.Panel):
if mat:
layout.prop(mat, "type", expand=True)
-
+
class MATERIAL_PT_preview(MaterialButtonsPanel, bpy.types.Panel):
bl_label = "Preview"
@@ -357,9 +357,9 @@ class MATERIAL_PT_transp(MaterialButtonsPanel, bpy.types.Panel):
sub = col.column()
sub.active = rayt.gloss_factor < 1.0
sub.prop(rayt, "gloss_threshold", text="Threshold")
- sub.prop(rayt, "gloss_samples", text="Samples")
+ sub.prop(rayt, "gloss_samples", text="Samples")
+
-
class MATERIAL_PT_mirror(MaterialButtonsPanel, bpy.types.Panel):
bl_label = "Mirror"
bl_options = {'DEFAULT_CLOSED'}
@@ -482,7 +482,7 @@ class MATERIAL_PT_halo(MaterialButtonsPanel, bpy.types.Panel):
def draw(self, context):
layout = self.layout
- mat = context.material # dont use node material
+ mat = context.material # dont use node material
halo = mat.halo
split = layout.split()
@@ -536,7 +536,7 @@ class MATERIAL_PT_flare(MaterialButtonsPanel, bpy.types.Panel):
def draw(self, context):
layout = self.layout
- mat = context.material # dont use node material
+ mat = context.material # dont use node material
halo = mat.halo
layout.active = halo.use_flare_mode
@@ -564,7 +564,7 @@ class MATERIAL_PT_physics(MaterialButtonsPanel, bpy.types.Panel):
def draw(self, context):
layout = self.layout
- phys = context.material.physics # dont use node material
+ phys = context.material.physics # dont use node material
split = layout.split()
@@ -593,7 +593,7 @@ class MATERIAL_PT_strand(MaterialButtonsPanel, bpy.types.Panel):
def draw(self, context):
layout = self.layout
- mat = context.material # dont use node material
+ mat = context.material # dont use node material
tan = mat.strand
split = layout.split()
@@ -760,7 +760,7 @@ class MATERIAL_PT_volume_density(VolumeButtonsPanel, bpy.types.Panel):
def draw(self, context):
layout = self.layout
- vol = context.material.volume # dont use node material
+ vol = context.material.volume # dont use node material
split = layout.split()
col = split.column()
@@ -777,7 +777,7 @@ class MATERIAL_PT_volume_shading(VolumeButtonsPanel, bpy.types.Panel):
def draw(self, context):
layout = self.layout
- vol = context.material.volume # dont use node material
+ vol = context.material.volume # dont use node material
split = layout.split()
@@ -802,7 +802,7 @@ class MATERIAL_PT_volume_lighting(VolumeButtonsPanel, bpy.types.Panel):
def draw(self, context):
layout = self.layout
- vol = context.material.volume # dont use node material
+ vol = context.material.volume # dont use node material
split = layout.split()
@@ -837,7 +837,7 @@ class MATERIAL_PT_volume_transp(VolumeButtonsPanel, bpy.types.Panel):
def draw(self, context):
layout = self.layout
- mat = context.material # dont use node material
+ mat = context.material # dont use node material
layout.prop(mat, "transparency_method", expand=True)
@@ -849,7 +849,7 @@ class MATERIAL_PT_volume_integration(VolumeButtonsPanel, bpy.types.Panel):
def draw(self, context):
layout = self.layout
- vol = context.material.volume # dont use node material
+ vol = context.material.volume # dont use node material
split = layout.split()