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:
authorMaxime Curioni <maxime.curioni@gmail.com>2008-09-25 20:35:53 +0400
committerMaxime Curioni <maxime.curioni@gmail.com>2008-09-25 20:35:53 +0400
commit4be21b18f83a7606fdb764caa537e42ec9aa72fc (patch)
treebddf912a7cb5a05a1540c2a7b2038136444b3390 /source/blender/freestyle/intern/stroke/Canvas.cpp
parent7bb09a8a1cc188302c0aefaeed77d0d0a168cfd8 (diff)
soc-2008-mxcurioni: corrected texture loading feedback, removed paper textures from the project
Diffstat (limited to 'source/blender/freestyle/intern/stroke/Canvas.cpp')
-rwxr-xr-xsource/blender/freestyle/intern/stroke/Canvas.cpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/source/blender/freestyle/intern/stroke/Canvas.cpp b/source/blender/freestyle/intern/stroke/Canvas.cpp
index bdca8f968fe..ee8213609dd 100755
--- a/source/blender/freestyle/intern/stroke/Canvas.cpp
+++ b/source/blender/freestyle/intern/stroke/Canvas.cpp
@@ -56,9 +56,7 @@ Canvas::Canvas()
_SelectedFEdge = 0;
_pInstance = this;
PseudoNoise::init(42);
- _paperTextureIndex = 0;
_Renderer = 0;
- _drawPaper = true;
_current_sm = NULL;
_steerableViewMap = new SteerableViewMap(NB_STEERABLE_VIEWMAP-1);
}
@@ -68,9 +66,7 @@ Canvas::Canvas(const Canvas& iBrother)
_SelectedFEdge = iBrother._SelectedFEdge;
_pInstance = this;
PseudoNoise::init(42);
- _paperTextureIndex = iBrother._paperTextureIndex;
_Renderer = iBrother._Renderer;
- _drawPaper = iBrother._drawPaper;
_current_sm = iBrother._current_sm;
_steerableViewMap = new SteerableViewMap(*(iBrother._steerableViewMap));
@@ -282,18 +278,6 @@ void Canvas::causalStyleModules(vector<unsigned>& vec, unsigned index) {
vec.push_back(i);
}
-void Canvas::changePaperTexture(bool increment)
-{
- if(increment)
- _paperTextureIndex = (_paperTextureIndex+1) % TextureManager::getPaperTexturesNumber();
- else
- {
- _paperTextureIndex--;
- if(_paperTextureIndex < 0)
- _paperTextureIndex = TextureManager::getPaperTexturesNumber() - 1;
- }
-}
-
void Canvas::Render(const StrokeRenderer *iRenderer)
{
for (unsigned i = 0; i < _StyleModules.size(); i++) {