Fix related #36824: Shrinkwrap modifier 'Subsurf Levels' doesn't seem to do anything

Subsurf Levels only makes sense when using Projection mode,
so moved this option into if mode == 'PROJECTION' branch.
This commit is contained in:
Sergey Sharybin 2013-09-27 09:51:02 +00:00
parent dd02c2937a
commit bb43e8a8a6

@ -670,13 +670,17 @@ class DATA_PT_modifiers(ModifierButtonsPanel, Panel):
col = split.column()
col.prop(md, "offset")
col.prop(md, "subsurf_levels")
col = split.column()
col.label(text="Mode:")
col.prop(md, "wrap_method", text="")
if md.wrap_method == 'PROJECT':
split = layout.split()
col = split.column()
col.prop(md, "subsurf_levels")
col = split.column()
col.prop(md, "project_limit", text="Limit")
split = layout.split(percentage=0.25)