Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/compositor/operations/COM_ViewerOperation.h')
-rw-r--r--source/blender/compositor/operations/COM_ViewerOperation.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/compositor/operations/COM_ViewerOperation.h b/source/blender/compositor/operations/COM_ViewerOperation.h
index 06ac501a535..95ee982f692 100644
--- a/source/blender/compositor/operations/COM_ViewerOperation.h
+++ b/source/blender/compositor/operations/COM_ViewerOperation.h
@@ -50,13 +50,15 @@ class ViewerOperation : public MultiThreadedOperation {
SocketReader *m_alphaInput;
SocketReader *m_depthInput;
+ int display_width_;
+ int display_height_;
+
public:
ViewerOperation();
void initExecution() override;
void deinitExecution() override;
void executeRegion(rcti *rect, unsigned int tileNumber) override;
- void determineResolution(unsigned int resolution[2],
- unsigned int preferredResolution[2]) override;
+ void determine_canvas(const rcti &preferred_area, rcti &r_area) override;
bool isOutputOperation(bool /*rendering*/) const override
{
if (G.background) {