Hide OpenSubdiv compute device

That is only used by GPU side of OpenSubdiv, which was not yet
brought back.
This commit is contained in:
Sergey Sharybin 2018-11-26 14:21:24 +01:00
parent e7662ea257
commit bb52ef4ee9
1 changed files with 4 additions and 3 deletions

View File

@ -384,9 +384,10 @@ class USERPREF_PT_system_general(Panel):
addon.preferences.draw_impl(col, context)
del addon
if hasattr(system, "opensubdiv_compute_type"):
col.label(text="OpenSubdiv compute:")
col.row().prop(system, "opensubdiv_compute_type", text="")
# NOTE: Disabled for until GPU side of OpenSubdiv is brought back.
# if hasattr(system, "opensubdiv_compute_type"):
# col.label(text="OpenSubdiv compute:")
# col.row().prop(system, "opensubdiv_compute_type", text="")
# 2. Column
column = split.column()