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-05-29 15:41:06 +0400
committerMaxime Curioni <maxime.curioni@gmail.com>2008-05-29 15:41:06 +0400
commitbe2b832db7652afe9a6ce9a05da7420d12ac8916 (patch)
treebd5ee58ad71abb37e8fe34a74fdf0fbd930a33ca /source/blender/freestyle/intern/app_blender/AppCanvas.cpp
parentf3966dda4e0a03c16206cfbf176f222e13a784c1 (diff)
soc-mx-curioni: resolved the rendering issue. In the previous steps, I was only rendering the strokes, not the toatl scene (explaining why the render color was being inverted). i added a call to the view's draw() method. Now, the rendering steps are complete and display both the object and the silhouette.
Diffstat (limited to 'source/blender/freestyle/intern/app_blender/AppCanvas.cpp')
-rwxr-xr-xsource/blender/freestyle/intern/app_blender/AppCanvas.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/freestyle/intern/app_blender/AppCanvas.cpp b/source/blender/freestyle/intern/app_blender/AppCanvas.cpp
index 98013cf18d4..f82d136b525 100755
--- a/source/blender/freestyle/intern/app_blender/AppCanvas.cpp
+++ b/source/blender/freestyle/intern/app_blender/AppCanvas.cpp
@@ -306,6 +306,7 @@ void AppCanvas::Render(const StrokeRenderer *iRenderer)
glBlendFunc(GL_SRC_ALPHA, GL_ONE);
glEnable(GL_TEXTURE_2D);
+
Canvas::Render(iRenderer);
//
glPushAttrib(GL_COLOR_BUFFER_BIT);