revert own commits 47907, 47908 after some discussion this is really bad and needs some different solution.

This commit is contained in:
2012-06-14 16:13:09 +00:00
parent 0b2fcf4368
commit 1a39e74131
5 changed files with 2 additions and 29 deletions

View File

@@ -77,11 +77,6 @@ void ScaleNode::convertToOperations(ExecutionSystem *graph, CompositorContext *c
case CMP_SCALE_ABSOLUTE: {
ScaleAbsoluteOperation *operation = new ScaleAbsoluteOperation(); // TODO: what is the use of this one.... perhaps some issues when the ui was updated....
#ifdef USE_SCENE_COMPO_SCALE
const RenderData *data = &context->getScene()->r;
operation->setRenderPercentage(data->size / 100.0f);
#endif
inputSocket->relinkConnections(operation->getInputSocket(0), 0, graph);
inputXSocket->relinkConnections(operation->getInputSocket(1), 1, graph);
inputYSocket->relinkConnections(operation->getInputSocket(2), 2, graph);