Merged changes in the trunk up to revision 34996.
[blender.git] / source / blender / editors / interface / interface_templates.c
index 5be5c6fa0c4b8b252a77ffb41ab9e5f24e7f7ad0..e0a3a7b15afc77d6e86b0399ee04ec7183b7d54e 100644 (file)
@@ -2037,7 +2037,7 @@ static void list_item_row(bContext *C, uiLayout *layout, PointerRNA *ptr, Pointe
                uiBlockSetEmboss(block, UI_EMBOSS);
                uiDefButR(block, OPTION, 0, "", 0, 0, UI_UNIT_X, UI_UNIT_Y, ptr, "use_textures", i, 0, 0, 0, 0,  NULL);
        }
-       else if(RNA_struct_is_a(itemptr->type, &RNA_SceneRenderLayer)) {
+       else if(RNA_struct_is_a(itemptr->type, &RNA_SceneRenderLayer) || RNA_struct_is_a(itemptr->type, &RNA_FreestyleLineSet)) {
                uiItemL(sub, name, icon);
                uiBlockSetEmboss(block, UI_EMBOSS);
                uiDefButR(block, OPTION, 0, "", 0, 0, UI_UNIT_X, UI_UNIT_Y, itemptr, "use", 0, 0, 0, 0, 0,  NULL);