Workspace: Move engines to workspace and Properties Editor cleanup
[blender.git] / source / blender / editors / space_outliner / outliner_tree.c
index f3a5af4b1641007f196fcc02634aa0a9412ae309..5331c76a0dc43ae9b795136d9ec53cb904f1512d 100644 (file)
@@ -386,7 +386,7 @@ static void outliner_add_scene_contents(SpaceOops *soops, ListBase *lb, Scene *s
        outliner_add_element(soops,  lb, sce->world, te, 0, 0);
 
 #ifdef WITH_FREESTYLE
-       if (STREQ(sce->r.engine, RE_engine_id_BLENDER_RENDER) && (sce->r.mode & R_EDGE_FRS))
+       if (STREQ(sce->view_render->engine_id, RE_engine_id_BLENDER_RENDER) && (sce->r.mode & R_EDGE_FRS))
                outliner_add_line_styles(soops, lb, sce, te);
 #endif
 }