Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/freestyle/intern/scene_graph/OrientedLineRep.cpp')
-rwxr-xr-xsource/blender/freestyle/intern/scene_graph/OrientedLineRep.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/freestyle/intern/scene_graph/OrientedLineRep.cpp b/source/blender/freestyle/intern/scene_graph/OrientedLineRep.cpp
index 2d0205308b9..94068983596 100755
--- a/source/blender/freestyle/intern/scene_graph/OrientedLineRep.cpp
+++ b/source/blender/freestyle/intern/scene_graph/OrientedLineRep.cpp
@@ -24,7 +24,7 @@
void OrientedLineRep::accept(SceneVisitor& v) {
Rep::accept(v);
- if(!material())
+ if(!frs_material())
v.visitOrientedLineRep(*this);
else
v.visitLineRep(*this);