[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [52079] trunk/blender/source/blender/ compositor/operations: Removed determineDependingAreaOfInterest from movie distortion node

Sergey Sharybin sergey.vfx at gmail.com
Sat Nov 10 20:15:10 CET 2012


Revision: 52079
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=52079
Author:   nazgul
Date:     2012-11-10 19:15:09 +0000 (Sat, 10 Nov 2012)
Log Message:
-----------
Removed determineDependingAreaOfInterest from movie distortion node

It wasn't used and it was incorrect anyway (distortion could be more than 100px).

Modified Paths:
--------------
    trunk/blender/source/blender/compositor/operations/COM_MovieDistortionOperation.cpp
    trunk/blender/source/blender/compositor/operations/COM_MovieDistortionOperation.h

Modified: trunk/blender/source/blender/compositor/operations/COM_MovieDistortionOperation.cpp
===================================================================
--- trunk/blender/source/blender/compositor/operations/COM_MovieDistortionOperation.cpp	2012-11-10 19:11:34 UTC (rev 52078)
+++ trunk/blender/source/blender/compositor/operations/COM_MovieDistortionOperation.cpp	2012-11-10 19:15:09 UTC (rev 52079)
@@ -112,15 +112,3 @@
 		this->m_inputOperation->read(output, x, y, COM_PS_BILINEAR);
 	}
 }
-
-bool MovieDistortionOperation::determineDependingAreaOfInterest(rcti *input, ReadBufferOperation *readOperation, rcti *output)
-{
-	rcti newInput;
-	
-	newInput.xmax = input->xmax + 100;
-	newInput.xmin = input->xmin - 100;
-	newInput.ymax = input->ymax + 100;
-	newInput.ymin = input->ymin - 100;
-	
-	return NodeOperation::determineDependingAreaOfInterest(&newInput, readOperation, output);
-}

Modified: trunk/blender/source/blender/compositor/operations/COM_MovieDistortionOperation.h
===================================================================
--- trunk/blender/source/blender/compositor/operations/COM_MovieDistortionOperation.h	2012-11-10 19:11:34 UTC (rev 52078)
+++ trunk/blender/source/blender/compositor/operations/COM_MovieDistortionOperation.h	2012-11-10 19:15:09 UTC (rev 52079)
@@ -155,7 +155,6 @@
 
 public:
 	MovieDistortionOperation(bool distortion);
-	bool determineDependingAreaOfInterest(rcti *input, ReadBufferOperation *readOperation, rcti *output);
 	void executePixel(float output[4], float x, float y, PixelSampler sampler);
 
 	void initExecution();




More information about the Bf-blender-cvs mailing list