diff options
Diffstat (limited to 'source/blender/freestyle/intern/stroke/StrokeRep.h')
-rw-r--r-- | source/blender/freestyle/intern/stroke/StrokeRep.h | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/source/blender/freestyle/intern/stroke/StrokeRep.h b/source/blender/freestyle/intern/stroke/StrokeRep.h index a62fa4bdb9e..ba042eb496d 100644 --- a/source/blender/freestyle/intern/stroke/StrokeRep.h +++ b/source/blender/freestyle/intern/stroke/StrokeRep.h @@ -38,7 +38,7 @@ extern "C" { #include "DNA_material_types.h" // for MAX_MTEX -struct FreestyleLineStyle; +struct bNodeTree; } namespace Freestyle { @@ -186,9 +186,8 @@ protected: unsigned int _textureId; float _textureStep; MTex *_mtex[MAX_MTEX]; + bNodeTree *_nodeTree; Material *_material; - FreestyleLineStyle *_lineStyle; - bool _useShadingNodes; bool _hasTex; // float _averageTextureAlpha; @@ -226,14 +225,9 @@ public: return _material; } - inline FreestyleLineStyle *getLineStyle() const + inline bNodeTree *getNodeTree() const { - return _lineStyle; - } - - inline bool useShadingNodes() const - { - return _useShadingNodes; + return _nodeTree; } inline bool hasTex() const |