style cleanup
This commit is contained in:
@@ -30,7 +30,7 @@ ViewerNode::ViewerNode(bNode *editorNode): Node(editorNode)
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
void ViewerNode::convertToOperations(ExecutionSystem *graph, CompositorContext * context)\
|
void ViewerNode::convertToOperations(ExecutionSystem *graph, CompositorContext *context)
|
||||||
{
|
{
|
||||||
InputSocket *imageSocket = this->getInputSocket(0);
|
InputSocket *imageSocket = this->getInputSocket(0);
|
||||||
InputSocket *alphaSocket = this->getInputSocket(1);
|
InputSocket *alphaSocket = this->getInputSocket(1);
|
||||||
|
@@ -98,7 +98,7 @@ void SplitViewerOperation::executeRegion(rcti *rect, unsigned int tileNumber, Me
|
|||||||
copy_v4_v4(srgb, buffer + offset);
|
copy_v4_v4(srgb, buffer + offset);
|
||||||
}
|
}
|
||||||
|
|
||||||
F4TOCHAR4(srgb, bufferDisplay+offset);
|
rgba_float_to_uchar(bufferDisplay + offset, srgb);
|
||||||
|
|
||||||
offset += 4;
|
offset += 4;
|
||||||
}
|
}
|
||||||
|
@@ -100,7 +100,7 @@ void ViewerOperation::executeRegion(rcti *rect, unsigned int tileNumber, MemoryB
|
|||||||
copy_v4_v4(srgb, buffer + offset);
|
copy_v4_v4(srgb, buffer + offset);
|
||||||
}
|
}
|
||||||
|
|
||||||
F4TOCHAR4(srgb, bufferDisplay+offset);
|
rgba_float_to_uchar(bufferDisplay + offset, srgb);
|
||||||
|
|
||||||
offset += 4;
|
offset += 4;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user