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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user