[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [43571] trunk/blender/intern/cycles/ blender/addon/properties.py: missed some edits last commit

Campbell Barton ideasman42 at gmail.com
Fri Jan 20 20:05:16 CET 2012


Revision: 43571
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=43571
Author:   campbellbarton
Date:     2012-01-20 19:05:13 +0000 (Fri, 20 Jan 2012)
Log Message:
-----------
missed some edits last commit 

Modified Paths:
--------------
    trunk/blender/intern/cycles/blender/addon/properties.py

Modified: trunk/blender/intern/cycles/blender/addon/properties.py
===================================================================
--- trunk/blender/intern/cycles/blender/addon/properties.py	2012-01-20 18:31:23 UTC (rev 43570)
+++ trunk/blender/intern/cycles/blender/addon/properties.py	2012-01-20 19:05:13 UTC (rev 43571)
@@ -226,9 +226,9 @@
     @classmethod
     def register(cls):
         bpy.types.Camera.cycles = PointerProperty(
-                type=cls,
                 name="Cycles Camera Settings",
                 description="Cycles camera settings",
+                type=cls,
                 )
 
         cls.aperture_size = FloatProperty(
@@ -259,8 +259,10 @@
 class CyclesMaterialSettings(bpy.types.PropertyGroup):
     @classmethod
     def register(cls):
-        bpy.types.Material.cycles = PointerProperty(type=cls, name="Cycles Material Settings",
+        bpy.types.Material.cycles = PointerProperty(
+                name="Cycles Material Settings",
                 description="Cycles material settings",
+                type=cls,
                 )
         cls.sample_as_light = BoolProperty(
                 name="Sample as Lamp",
@@ -281,8 +283,10 @@
 class CyclesLampSettings(bpy.types.PropertyGroup):
     @classmethod
     def register(cls):
-        bpy.types.Lamp.cycles = PointerProperty(type=cls, name="Cycles Lamp Settings",
+        bpy.types.Lamp.cycles = PointerProperty(
+                name="Cycles Lamp Settings",
                 description="Cycles lamp settings",
+                type=cls,
                 )
         cls.cast_shadow = BoolProperty(
                 name="Cast Shadow",
@@ -298,8 +302,10 @@
 class CyclesWorldSettings(bpy.types.PropertyGroup):
     @classmethod
     def register(cls):
-        bpy.types.World.cycles = PointerProperty(type=cls, name="Cycles World Settings",
+        bpy.types.World.cycles = PointerProperty(
+                name="Cycles World Settings",
                 description="Cycles world settings",
+                type=cls,
                 )
         cls.sample_as_light = BoolProperty(
                 name="Sample as Lamp",
@@ -321,8 +327,10 @@
 class CyclesVisibilitySettings(bpy.types.PropertyGroup):
     @classmethod
     def register(cls):
-        bpy.types.Object.cycles_visibility = PointerProperty(type=cls, name="Cycles Visibility Settings",
+        bpy.types.Object.cycles_visibility = PointerProperty(
+                name="Cycles Visibility Settings",
                 description="Cycles visibility settings",
+                type=cls,
                 )
 
         cls.camera = BoolProperty(
@@ -359,14 +367,20 @@
 class CyclesMeshSettings(bpy.types.PropertyGroup):
     @classmethod
     def register(cls):
-        bpy.types.Mesh.cycles = PointerProperty(type=cls, name="Cycles Mesh Settings",
+        bpy.types.Mesh.cycles = PointerProperty(
+                name="Cycles Mesh Settings",
                 description="Cycles mesh settings",
+                type=cls,
                 )
-        bpy.types.Curve.cycles = PointerProperty(type=cls, name="Cycles Mesh Settings",
+        bpy.types.Curve.cycles = PointerProperty(
+                name="Cycles Mesh Settings",
                 description="Cycles mesh settings",
+                type=cls,
                 )
-        bpy.types.MetaBall.cycles = PointerProperty(type=cls, name="Cycles Mesh Settings",
+        bpy.types.MetaBall.cycles = PointerProperty(
+                name="Cycles Mesh Settings",
                 description="Cycles mesh settings",
+                type=cls,
                 )
 
         cls.displacement_method = EnumProperty(



More information about the Bf-blender-cvs mailing list