Cycles UI files:
authorThomas Dinges <blender@dingto.org>
Sun, 11 Mar 2012 16:25:58 +0000 (16:25 +0000)
committerThomas Dinges <blender@dingto.org>
Sun, 11 Mar 2012 16:25:58 +0000 (16:25 +0000)
* Minor cleanup and raise blender version to 2.62 in the addon.

intern/cycles/blender/addon/__init__.py
intern/cycles/blender/addon/ui.py

index 6a5ccbb0499bb1e242d61aebaadd16ef38bd8501..41591085d0aeb2ff9dd1f08d11c204555f24b853 100644 (file)
@@ -22,7 +22,7 @@ bl_info = {
     "name": "Cycles Render Engine",
     "author": "",
     "version": (0, 0),
-    "blender": (2, 6, 0),
+    "blender": (2, 6, 2),
     "location": "Info header, render engine menu",
     "description": "Cycles Render Engine integration.",
     "warning": "",
index 745fb8366daa271e52b7c4cc97e05b8695f0f428..39f55aafa395196a155b6cf6e4ab8a1226bc3562 100644 (file)
@@ -527,9 +527,9 @@ class CyclesWorld_PT_ambient_occlusion(CyclesButtonsPanel, Panel):
 
         layout.active = light.use_ambient_occlusion
 
-        split = layout.split()
-        split.prop(light, "ao_factor", text="Factor")
-        split.prop(light, "distance", text="Distance")
+        row = layout.row()
+        row.prop(light, "ao_factor", text="Factor")
+        row.prop(light, "distance", text="Distance")
 
 
 class CyclesWorld_PT_settings(CyclesButtonsPanel, Panel):
@@ -649,7 +649,6 @@ class CyclesTexture_PT_context(CyclesButtonsPanel, Panel):
         pin_id = space.pin_id
         use_pin_id = space.use_pin_id
         user = context.texture_user
-        # node = context.texture_node
 
         if not use_pin_id or not isinstance(pin_id, bpy.types.Texture):
             pin_id = None