diff options
author | Maxime Curioni <maxime.curioni@gmail.com> | 2008-09-25 20:35:53 +0400 |
---|---|---|
committer | Maxime Curioni <maxime.curioni@gmail.com> | 2008-09-25 20:35:53 +0400 |
commit | 4be21b18f83a7606fdb764caa537e42ec9aa72fc (patch) | |
tree | bddf912a7cb5a05a1540c2a7b2038136444b3390 /source/blender/freestyle/intern/stroke/Canvas.h | |
parent | 7bb09a8a1cc188302c0aefaeed77d0d0a168cfd8 (diff) |
soc-2008-mxcurioni: corrected texture loading feedback, removed paper textures from the project
Diffstat (limited to 'source/blender/freestyle/intern/stroke/Canvas.h')
-rwxr-xr-x | source/blender/freestyle/intern/stroke/Canvas.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/source/blender/freestyle/intern/stroke/Canvas.h b/source/blender/freestyle/intern/stroke/Canvas.h index dbcfccfd8cf..4f57cd9c36c 100755 --- a/source/blender/freestyle/intern/stroke/Canvas.h +++ b/source/blender/freestyle/intern/stroke/Canvas.h @@ -76,8 +76,7 @@ protected: std::deque<StrokeLayer*> _Layers; std::deque<StyleModule*> _StyleModules; FEdge *_SelectedFEdge; - int _paperTextureIndex; - bool _drawPaper; + StrokeRenderer *_Renderer; StyleModule* _current_sm; mapsMap _maps; @@ -171,7 +170,6 @@ public: inline FEdge * selectedFEdge() {return _SelectedFEdge;} virtual int width() const = 0; virtual int height() const = 0; - inline int currentPaperTextureIndex() const {return _paperTextureIndex;} virtual BBox<Vec3r> scene3DBBox() const = 0; inline const StrokeRenderer * renderer() const {return _Renderer;} inline StyleModule* getCurrentStyleModule() { return _current_sm; } @@ -187,10 +185,6 @@ public: void setVisible(unsigned index, bool iVisible) ; //inline void setDensityMap(InformationMap<RGBImage>* iMap) {_DensityMap = iMap;} inline void AddLayer(StrokeLayer *iLayer) {_Layers.push_back(iLayer);} - inline void setCurrentPaperTextureIndex(int i) {_paperTextureIndex = i;} - void changePaperTexture(bool increment=true) ; - /*! enables/disables paper texture */ - inline void togglePaperTexture() {_drawPaper = !_drawPaper;} void resetModified(bool iMod=false); void causalStyleModules(std::vector<unsigned>& vec, unsigned index = 0); void setModified(unsigned index, bool b); |