Fix T39786: Transform node gives bad result.

Error caused by rB09874df1.
This commit is contained in:
2014-04-24 09:30:39 +02:00
committed by Lukas Tönne
parent 5bcc9ee4fe
commit f5a716b5e0

View File

@@ -58,7 +58,7 @@ void TransformNode::convertToOperations(NodeConverter &converter, const Composit
converter.mapInputSocket(imageInput, sampler->getInputSocket(0));
converter.addLink(sampler->getOutputSocket(), scaleOperation->getInputSocket(0));
converter.mapInputSocket(scaleInput, scaleOperation->getInputSocket(1));
converter.addLink(sampler->getOutputSocket(), scaleOperation->getInputSocket(2)); // xscale = yscale
converter.mapInputSocket(scaleInput, scaleOperation->getInputSocket(2)); // xscale = yscale
converter.addLink(scaleOperation->getOutputSocket(), rotateOperation->getInputSocket(0));
converter.mapInputSocket(angleInput, rotateOperation->getInputSocket(1));