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:
authorTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2013-04-24 02:40:13 +0400
committerTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2013-04-24 02:40:13 +0400
commita1ed1dd26b622604a3488e7599943b65817d3411 (patch)
treeca427dc279d1808a4547af14245c973411331e81 /source/blender/render/intern/include
parent9465ecf63494e069684e6792ac651e80488ce914 (diff)
Fix for full-sample anti-aliasing (FSAA) not working with Freestyle.
Reverted the trunk revision 56136 and part of revision 56127 concerning the local Main for Freestyle and temporary scene generation for stroke rendering. The function do_merge_fullsample() in pipeline.c has access to the Scene of each Render, so that the temporary Scene generated by Freestyle has to be kept for FSAA even after stroke rendering has been done. By the same token, the local Main has been moved from the BlenderStrokeRenderer class to Render. It is noted that free_all_freestyle_renders() in pipeline.c is intended to get the temporary Scene of each Render released specifically taking account of the FSAA case.
Diffstat (limited to 'source/blender/render/intern/include')
-rw-r--r--source/blender/render/intern/include/render_types.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/render/intern/include/render_types.h b/source/blender/render/intern/include/render_types.h
index eb2f1cb5826..4706cd02dd1 100644
--- a/source/blender/render/intern/include/render_types.h
+++ b/source/blender/render/intern/include/render_types.h
@@ -44,6 +44,8 @@
#include "BLI_threads.h"
+#include "BKE_main.h"
+
#include "RE_pipeline.h"
#include "RE_shader_ext.h" /* TexResult, ShadeResult, ShadeInput */
#include "sunsky.h"
@@ -237,6 +239,7 @@ struct Render
ListBase volume_precache_parts;
#ifdef WITH_FREESTYLE
+ struct Main freestyle_bmain;
ListBase freestyle_renders;
#endif