Commit 1bf6d7ba authored by bblanimation's avatar bblanimation

Removed broken features

parent 85ba7d39
......@@ -81,7 +81,7 @@ matt
"cse21707","cse21709","cse21710","cse21712",
"cse21713","cse21714","cse21715","cse21716",
"cse21801","cse21802", "cse21803","cse21804","cse21805","cse21806",
"cse21807","cse21808","cse21809","cse21811","cse21812",
"cse21808","cse21809","cse21811","cse21812",
"cse21814"
],'cse201': [
"cse20101","cse20102","cse20103","cse20104","cse20105","cse20106",
......@@ -123,4 +123,4 @@ matt
"cse20113","cse20114","cse20115","cse20116","cse20117","cse20118",
"cse20119","cse20120","cse20121","cse20122","cse20123","cse20124",
"cse21810","cse21813","cse21814"
\ No newline at end of file
"cse21807","cse21810","cse21813","cse21814"
\ No newline at end of file
......@@ -70,11 +70,11 @@ for scn in bpy.data.scenes:
if scn.cycles.film_transparent:
scn.render.image_settings.color_mode = 'RGBA'
# apply performance settings
scn.cycles.device = scn.renderDevice
scn.render.tile_x = scn.renderTiles[0]
scn.render.tile_y = scn.renderTiles[1]
typ = scn.cyclesComputeDevice
cyclesPrefs = bpy.context.user_preferences.addons['cycles'].preferences
devices = [x[0] for x in cyclesPrefs.get_device_types(bpy.context)]
if typ >= "DEFAULT":
cyclesPrefs.compute_device_type = typ if typ in devices else "NONE"
# scn.cycles.device = scn.renderDevice
# scn.render.tile_x = scn.renderTiles[0]
# scn.render.tile_y = scn.renderTiles[1]
# typ = scn.cyclesComputeDevice
# cyclesPrefs = bpy.context.user_preferences.addons['cycles'].preferences
# devices = [x[0] for x in cyclesPrefs.get_device_types(bpy.context)]
# if typ >= "DEFAULT":
# cyclesPrefs.compute_device_type = typ if typ in devices else "NONE"
......@@ -160,14 +160,14 @@ class serversPanel(Panel):
# col = box.row(align=True)
# col.prop(scn, "tempLocalDir")
layout.separator()
col = box.column(align=True)
row = col.row()
col = row.column(align=True)
col.label(text="Device:")
col.prop(scn, "renderDevice", text="")
col.prop(scn, "cyclesComputeDevice", text="")
col = row.column(align=True)
col.label(text="Tiles:")
col.prop(scn, "renderTiles", text="")
# layout.separator()
#
# col = box.column(align=True)
# row = col.row()
# col = row.column(align=True)
# col.label(text="Device:")
# col.prop(scn, "renderDevice", text="")
# col.prop(scn, "cyclesComputeDevice", text="")
# col = row.column(align=True)
# col.label(text="Tiles:")
# col.prop(scn, "renderTiles", text="")
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment