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/stroke/StrokeTesselator.cpp')
-rwxr-xr-xsource/blender/freestyle/intern/stroke/StrokeTesselator.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/freestyle/intern/stroke/StrokeTesselator.cpp b/source/blender/freestyle/intern/stroke/StrokeTesselator.cpp
index 279655c22b7..465e5662774 100755
--- a/source/blender/freestyle/intern/stroke/StrokeTesselator.cpp
+++ b/source/blender/freestyle/intern/stroke/StrokeTesselator.cpp
@@ -48,8 +48,8 @@ LineRep* StrokeTesselator::Tesselate(Stroke *iStroke)
}
else
{
- if(_overloadMaterial)
- line->setMaterial(_Material);
+ if(_overloadFrsMaterial)
+ line->setFrsMaterial(_FrsMaterial);
line->setStyle(LineRep::LINE_STRIP);
@@ -75,7 +75,7 @@ NodeGroup* StrokeTesselator::Tesselate(StrokeVertexIterator begin, StrokeVertexI
NodeShape *tshape = new NodeShape;
group->AddChild(tshape);
//tshape->material().setDiffuse(0.f, 0.f, 0.f, 1.f);
- tshape->setMaterial(_Material);
+ tshape->setFrsMaterial(_FrsMaterial);
for(StrokeVertexIterator c=begin, cend=end;
c!=cend;