Cleanup: style

This commit is contained in:
Campbell Barton
2018-10-18 12:03:04 +11:00
parent a5467637f2
commit 4c1250570b
3 changed files with 27 additions and 22 deletions

View File

@@ -769,7 +769,7 @@ class ConstraintButtonsPanel:
rowsub.prop(con, "use_invert_cull")
layout.prop(con, "project_limit")
if con.shrinkwrap_type in ['PROJECT', 'NEAREST_SURFACE']:
if con.shrinkwrap_type in {'PROJECT', 'NEAREST_SURFACE'}:
layout.prop(con, "use_track_normal")
row = layout.row(align=True)