fix for struct definition building with msvc2008 and some style cleanup.
[blender-staging.git] / source / blender / compositor / operations / COM_CropOperation.cpp
index 4f9cd77198872cbf95925d538997bf9af0355496..844d23db2ac36c34a393289ca18ad0b0e6647d5d 100644 (file)
@@ -119,7 +119,7 @@ void CropImageOperation::determineResolution(unsigned int resolution[2], unsigne
 
 void CropImageOperation::executePixel(float output[4], float x, float y, PixelSampler sampler)
 {
-       if (x >= 0 && x < getWidth() && y >= 0 && y < getHeight())  {
+       if (x >= 0 && x < getWidth() && y >= 0 && y < getHeight()) {
                this->m_inputOperation->read(output, (x + this->m_xmin), (y + this->m_ymin), sampler);
        }
        else {