diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-02-23 02:32:58 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-02-23 02:32:58 +0300 |
commit | 97bdfe6f1bbd4413693654362876de6395642da9 (patch) | |
tree | af90a9730d66c54de01d8add4366eac11fbafbfe /release/scripts/ui/properties_material.py | |
parent | a8d364ce4accb900c690229925356ba2ffabdc74 (diff) |
pep8 cleanup + correction for external player operator return value.
Diffstat (limited to 'release/scripts/ui/properties_material.py')
-rw-r--r-- | release/scripts/ui/properties_material.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/release/scripts/ui/properties_material.py b/release/scripts/ui/properties_material.py index f105e0b0718..4c44e79d884 100644 --- a/release/scripts/ui/properties_material.py +++ b/release/scripts/ui/properties_material.py @@ -336,6 +336,7 @@ class MATERIAL_PT_shadow(MaterialButtonsPanel): sub.prop(mat, "shadow_ray_bias", text="Ray Bias") col.prop(mat, "cast_approximate") + class MATERIAL_PT_diffuse(MaterialButtonsPanel): bl_label = "Diffuse" COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_GAME'} @@ -947,6 +948,7 @@ def register(): for cls in classes: register(cls) + def unregister(): unregister = bpy.types.unregister for cls in classes: @@ -954,4 +956,3 @@ def unregister(): if __name__ == "__main__": register() - |