diff options
author | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2014-07-19 10:38:56 +0400 |
---|---|---|
committer | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2014-08-12 05:10:35 +0400 |
commit | c38e80d6322b942fd2a893f4f294a919ed6e6b99 (patch) | |
tree | 67470e7670d5975085a5a211a3c5aab9cef4aa51 /source/blender/freestyle/intern/stroke/StrokeRep.h | |
parent | a2a2d4679ae28dbc9f6bed1c8663cea9ccb71176 (diff) |
WIP commit just for a record of a working snapshot of code revisions for node-based textured strokes.
Diffstat (limited to 'source/blender/freestyle/intern/stroke/StrokeRep.h')
-rw-r--r-- | source/blender/freestyle/intern/stroke/StrokeRep.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/source/blender/freestyle/intern/stroke/StrokeRep.h b/source/blender/freestyle/intern/stroke/StrokeRep.h index cf07e7aa108..a62fa4bdb9e 100644 --- a/source/blender/freestyle/intern/stroke/StrokeRep.h +++ b/source/blender/freestyle/intern/stroke/StrokeRep.h @@ -188,6 +188,8 @@ protected: MTex *_mtex[MAX_MTEX]; Material *_material; FreestyleLineStyle *_lineStyle; + bool _useShadingNodes; + bool _hasTex; // float _averageTextureAlpha; @@ -229,6 +231,16 @@ public: return _lineStyle; } + inline bool useShadingNodes() const + { + return _useShadingNodes; + } + + inline bool hasTex() const + { + return _hasTex; + } + inline vector<Strip*>& getStrips() { return _strips; |