From 209aff0a3539a367b38fe71511eff9c8e0169f5a Mon Sep 17 00:00:00 2001 From: Manuel Castilla Date: Tue, 13 Jul 2021 15:46:32 +0200 Subject: Compositor: Fix convert resolutions linking different socket datatypes Link sockets are always connected to inserted translate or scale operation `Color` sockets even when they have different data type. This causes crashes on full frame mode when operations read inputs with non expected datatypes. Because data type conversions need to be executed before, convert resolutions must ensure same datatypes are linked. --- source/blender/compositor/operations/COM_TranslateOperation.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/compositor/operations/COM_TranslateOperation.h') diff --git a/source/blender/compositor/operations/COM_TranslateOperation.h b/source/blender/compositor/operations/COM_TranslateOperation.h index eb3a664159f..f223c33ba7e 100644 --- a/source/blender/compositor/operations/COM_TranslateOperation.h +++ b/source/blender/compositor/operations/COM_TranslateOperation.h @@ -35,6 +35,7 @@ class TranslateOperation : public NodeOperation { public: TranslateOperation(); + TranslateOperation(DataType data_type); bool determineDependingAreaOfInterest(rcti *input, ReadBufferOperation *readOperation, rcti *output) override; -- cgit v1.2.3