diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-09-06 06:20:03 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-09-06 06:20:03 +0400 |
commit | 04b5ef20f138412701c807b1c3f151c2a69cad82 (patch) | |
tree | 8686472abc2989fd37be9e03667912799700cc3f /source/blender/compositor/intern/COM_Converter.cpp | |
parent | 47ec91e8d343c77e494a334ca8054c6d3538d893 (diff) |
style cleanup: indentation
Diffstat (limited to 'source/blender/compositor/intern/COM_Converter.cpp')
-rw-r--r-- | source/blender/compositor/intern/COM_Converter.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/compositor/intern/COM_Converter.cpp b/source/blender/compositor/intern/COM_Converter.cpp index d4fad80ed07..71067ac8f15 100644 --- a/source/blender/compositor/intern/COM_Converter.cpp +++ b/source/blender/compositor/intern/COM_Converter.cpp @@ -500,7 +500,8 @@ void Converter::convertResolution(SocketConnection *connection, ExecutionSystem system->addOperation(sxop); system->addOperation(syop); - unsigned int resolution[2] = {fromWidth, fromHeight}; + unsigned int resolution[2] = {fromOperation->getWidth(), + fromOperation->getHeight()}; scaleOperation->setResolution(resolution); sxop->setResolution(resolution); syop->setResolution(resolution); @@ -522,7 +523,8 @@ void Converter::convertResolution(SocketConnection *connection, ExecutionSystem system->addOperation(xop); system->addOperation(yop); - unsigned int resolution[2] = {toWidth, toHeight}; + unsigned int resolution[2] = {toOperation->getWidth(), + toOperation->getHeight()}; translateOperation->setResolution(resolution); xop->setResolution(resolution); yop->setResolution(resolution); |