diff options
author | Thomas Dinges <blender@dingto.org> | 2012-03-11 20:25:58 +0400 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2012-03-11 20:25:58 +0400 |
commit | e13e78495bea15cc2a5941dff51b2a958081bba6 (patch) | |
tree | ab97a8dcd90f7c0a85f5a4296bb4cafeab5b5a79 /intern/cycles/blender/addon/ui.py | |
parent | 19400d418d4ac5e3b064dd41f825d2a257472127 (diff) |
Cycles UI files:
* Minor cleanup and raise blender version to 2.62 in the addon.
Diffstat (limited to 'intern/cycles/blender/addon/ui.py')
-rw-r--r-- | intern/cycles/blender/addon/ui.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/intern/cycles/blender/addon/ui.py b/intern/cycles/blender/addon/ui.py index 745fb8366da..39f55aafa39 100644 --- a/intern/cycles/blender/addon/ui.py +++ b/intern/cycles/blender/addon/ui.py @@ -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 |