diff options
Diffstat (limited to 'source/blender/compositor/operations/COM_SetVectorOperation.h')
-rw-r--r-- | source/blender/compositor/operations/COM_SetVectorOperation.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/source/blender/compositor/operations/COM_SetVectorOperation.h b/source/blender/compositor/operations/COM_SetVectorOperation.h index 4bdd03809de..a48584d7ded 100644 --- a/source/blender/compositor/operations/COM_SetVectorOperation.h +++ b/source/blender/compositor/operations/COM_SetVectorOperation.h @@ -73,10 +73,11 @@ class SetVectorOperation : public NodeOperation { /** * The inner loop of this operation. */ - void executePixelSampled(float output[4], float x, float y, PixelSampler sampler); + void executePixelSampled(float output[4], float x, float y, PixelSampler sampler) override; - void determineResolution(unsigned int resolution[2], unsigned int preferredResolution[2]); - bool isSetOperation() const + void determineResolution(unsigned int resolution[2], + unsigned int preferredResolution[2]) override; + bool isSetOperation() const override { return true; } |