diff options
Diffstat (limited to 'source/blender/freestyle/intern/scene_graph/OrientedLineRep.cpp')
-rw-r--r-- | source/blender/freestyle/intern/scene_graph/OrientedLineRep.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/freestyle/intern/scene_graph/OrientedLineRep.cpp b/source/blender/freestyle/intern/scene_graph/OrientedLineRep.cpp index 60730528f1a..9e83527acad 100644 --- a/source/blender/freestyle/intern/scene_graph/OrientedLineRep.cpp +++ b/source/blender/freestyle/intern/scene_graph/OrientedLineRep.cpp @@ -28,10 +28,12 @@ namespace Freestyle { void OrientedLineRep::accept(SceneVisitor &v) { Rep::accept(v); - if (!frs_material()) + if (!frs_material()) { v.visitOrientedLineRep(*this); - else + } + else { v.visitLineRep(*this); + } } } /* namespace Freestyle */ |