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/StrokeRep.h')
-rw-r--r--source/blender/freestyle/intern/stroke/StrokeRep.h12
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;