Cleanup: trailing space for compositor
This commit is contained in:
		@@ -40,32 +40,32 @@ void TransformNode::convertToOperations(NodeConverter &converter, const Composit
 | 
			
		||||
	NodeInput *yInput = this->getInputSocket(2);
 | 
			
		||||
	NodeInput *angleInput = this->getInputSocket(3);
 | 
			
		||||
	NodeInput *scaleInput = this->getInputSocket(4);
 | 
			
		||||
	
 | 
			
		||||
 | 
			
		||||
	ScaleOperation *scaleOperation = new ScaleOperation();
 | 
			
		||||
	converter.addOperation(scaleOperation);
 | 
			
		||||
	
 | 
			
		||||
 | 
			
		||||
	RotateOperation *rotateOperation = new RotateOperation();
 | 
			
		||||
	rotateOperation->setDoDegree2RadConversion(false);
 | 
			
		||||
	converter.addOperation(rotateOperation);
 | 
			
		||||
	
 | 
			
		||||
 | 
			
		||||
	TranslateOperation *translateOperation = new TranslateOperation();
 | 
			
		||||
	converter.addOperation(translateOperation);
 | 
			
		||||
	
 | 
			
		||||
 | 
			
		||||
	SetSamplerOperation *sampler = new SetSamplerOperation();
 | 
			
		||||
	sampler->setSampler((PixelSampler)this->getbNode()->custom1);
 | 
			
		||||
	converter.addOperation(sampler);
 | 
			
		||||
	
 | 
			
		||||
 | 
			
		||||
	converter.mapInputSocket(imageInput, sampler->getInputSocket(0));
 | 
			
		||||
	converter.addLink(sampler->getOutputSocket(), scaleOperation->getInputSocket(0));
 | 
			
		||||
	converter.mapInputSocket(scaleInput, scaleOperation->getInputSocket(1));
 | 
			
		||||
	converter.mapInputSocket(scaleInput, scaleOperation->getInputSocket(2)); // xscale = yscale
 | 
			
		||||
	
 | 
			
		||||
 | 
			
		||||
	converter.addLink(scaleOperation->getOutputSocket(), rotateOperation->getInputSocket(0));
 | 
			
		||||
	converter.mapInputSocket(angleInput, rotateOperation->getInputSocket(1));
 | 
			
		||||
	
 | 
			
		||||
 | 
			
		||||
	converter.addLink(rotateOperation->getOutputSocket(), translateOperation->getInputSocket(0));
 | 
			
		||||
	converter.mapInputSocket(xInput, translateOperation->getInputSocket(1));
 | 
			
		||||
	converter.mapInputSocket(yInput, translateOperation->getInputSocket(2));
 | 
			
		||||
	
 | 
			
		||||
 | 
			
		||||
	converter.mapOutputSocket(getOutputSocket(), translateOperation->getOutputSocket());
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user