Merge branch 'master' into blender2.8
[blender.git] / release / scripts / startup / bl_ui / properties_freestyle.py
index 178392580622a2b42bbe874c2bfd83f02bc2acc5..2ec80784c2e5b810adbaf4e36d897ea3031e2095 100644 (file)
@@ -153,7 +153,7 @@ class VIEWLAYER_PT_freestyle(ViewLayerFreestyleButtonsPanel, Panel):
             row = layout.row()
             row.label(text="Style modules:")
             row.operator("scene.freestyle_module_add", text="Add")
-            for i, module in enumerate(freestyle.modules):
+            for module in freestyle.modules:
                 box = layout.box()
                 box.context_pointer_set("freestyle_module", module)
                 row = box.row(align=True)