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:
-rw-r--r--source/blender/render/intern/source/pipeline.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/render/intern/source/pipeline.c b/source/blender/render/intern/source/pipeline.c
index f7d347e8a5a..dfdfe973241 100644
--- a/source/blender/render/intern/source/pipeline.c
+++ b/source/blender/render/intern/source/pipeline.c
@@ -1676,6 +1676,9 @@ static void add_freestyle(Render *re, int render)
}
FRS_finish_stroke_rendering(re);
+
+ /* restore the global R value (invalidated by nested execution of the internal renderer) */
+ R = *re;
}
/* merges the results of Freestyle stroke rendering into a given render result */