A follow-up to Bug #37070: LineStyle appears in Outliner by default though Freestyle is not enabled.

Line style data blocks are shown in the outliner only when the Blender Internal is used.
This commit is contained in:
Tamito Kajiyama
2013-10-14 23:08:45 +00:00
parent 913a542468
commit f9f2e20739

View File

@@ -428,8 +428,8 @@ static void outliner_add_scene_contents(SpaceOops *soops, ListBase *lb, Scene *s
outliner_add_element(soops, lb, sce, te, TSE_ANIM_DATA, 0);
outliner_add_element(soops, lb, sce->world, te, 0, 0);
if (sce->r.mode & R_EDGE_FRS)
if (STREQ(sce->r.engine, "BLENDER_RENDER") && (sce->r.mode & R_EDGE_FRS))
outliner_add_line_styles(soops, lb, sce, te);
}