diff options
author | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2014-07-18 16:40:11 +0400 |
---|---|---|
committer | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2014-08-12 05:10:31 +0400 |
commit | 1ddb8e238e1239998c810fca5733641005b0964f (patch) | |
tree | 7b9b583ad2c916ad036fd13feaff2b55bec82d92 /source/blender/freestyle/intern/stroke/StrokeLayer.h | |
parent | 7f3488f9925d974ac5e95385fccd61ede1531d1f (diff) |
Freestyle: Keep a reference of the line style in Stroke rather than in StrokeRep.
Diffstat (limited to 'source/blender/freestyle/intern/stroke/StrokeLayer.h')
-rw-r--r-- | source/blender/freestyle/intern/stroke/StrokeLayer.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/freestyle/intern/stroke/StrokeLayer.h b/source/blender/freestyle/intern/stroke/StrokeLayer.h index 93eca3be8c7..31fe368d931 100644 --- a/source/blender/freestyle/intern/stroke/StrokeLayer.h +++ b/source/blender/freestyle/intern/stroke/StrokeLayer.h @@ -67,7 +67,6 @@ public: /*! Render method */ void ScaleThickness(float iFactor); - void SetLineStyle(struct FreestyleLineStyle *iLineStyle); void Render(const StrokeRenderer *iRenderer); void RenderBasic(const StrokeRenderer *iRenderer); @@ -106,6 +105,8 @@ public: _strokes.push_back(iStroke); } + void setLineStyle(struct FreestyleLineStyle *iLineStyle); + #ifdef WITH_CXX_GUARDEDALLOC MEM_CXX_CLASS_ALLOC_FUNCS("Freestyle:StrokeLayer") #endif |