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:
authorJeroen Bakker <jeroen@blender.org>2021-03-24 17:30:36 +0300
committerJeroen Bakker <jeroen@blender.org>2021-03-24 19:56:29 +0300
commite2d362757fb7e2e9d768906d5b4aefc5aaccdf67 (patch)
tree305864b9f5a58695df610a196f21de873e8ef8d0 /source/blender/compositor/operations/COM_ViewerOperation.h
parent9ad3d1d36b64f336fabdd9b3d9f02b13740068b0 (diff)
Cleanup: Add override keyword.
Diffstat (limited to 'source/blender/compositor/operations/COM_ViewerOperation.h')
-rw-r--r--source/blender/compositor/operations/COM_ViewerOperation.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/source/blender/compositor/operations/COM_ViewerOperation.h b/source/blender/compositor/operations/COM_ViewerOperation.h
index 513c6eae487..a3df19d5e90 100644
--- a/source/blender/compositor/operations/COM_ViewerOperation.h
+++ b/source/blender/compositor/operations/COM_ViewerOperation.h
@@ -48,11 +48,12 @@ class ViewerOperation : public NodeOperation {
public:
ViewerOperation();
- void initExecution();
- void deinitExecution();
- void executeRegion(rcti *rect, unsigned int tileNumber);
- void determineResolution(unsigned int resolution[2], unsigned int preferredResolution[2]);
- bool isOutputOperation(bool /*rendering*/) const
+ 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;
+ bool isOutputOperation(bool /*rendering*/) const override
{
if (G.background) {
return false;
@@ -67,7 +68,7 @@ class ViewerOperation : public NodeOperation {
{
this->m_imageUser = imageUser;
}
- bool isActiveViewerOutput() const
+ bool isActiveViewerOutput() const override
{
return this->m_active;
}
@@ -99,8 +100,8 @@ class ViewerOperation : public NodeOperation {
{
return this->m_chunkOrder;
}
- CompositorPriority getRenderPriority() const;
- bool isViewerOperation() const
+ CompositorPriority getRenderPriority() const override;
+ bool isViewerOperation() const override
{
return true;
}