[Bf-blender-cvs] [2a87454] blender-tiles: Fix for bokeh blur

Jeroen Bakker noreply at git.blender.org
Tue Jul 15 20:25:53 CEST 2014


Commit: 2a87454903010425e482c6de98e8e25ffa88d222
Author: Jeroen Bakker
Date:   Tue Jul 15 20:03:52 2014 +0200
https://developer.blender.org/rB2a87454903010425e482c6de98e8e25ffa88d222

Fix for bokeh blur

===================================================================

M	source/blender/compositor/operations/COM_BokehBlurOperation.cpp

===================================================================

diff --git a/source/blender/compositor/operations/COM_BokehBlurOperation.cpp b/source/blender/compositor/operations/COM_BokehBlurOperation.cpp
index 38bf1d1..58785de 100644
--- a/source/blender/compositor/operations/COM_BokehBlurOperation.cpp
+++ b/source/blender/compositor/operations/COM_BokehBlurOperation.cpp
@@ -65,7 +65,7 @@ void BokehBlurOperation::initExecution()
 
 
 	this->m_bokeh_sampler = ((ReadBufferOperation*)getInputOperation(1))->get_sampler_nearest_color();
-	this->m_boundingbox_sampler = ((ReadBufferOperation*)getInputOperation(1))->get_sampler_nearest_value();
+	this->m_boundingbox_sampler = ((ReadBufferOperation*)getInputOperation(2))->get_sampler_nearest_value();
 
 	int width = this->m_inputBokehProgram->getWidth();
 	int height = this->m_inputBokehProgram->getHeight();




More information about the Bf-blender-cvs mailing list