Fix: Mask node has an output even with no mask
The Mask compositor node still has an output even when no mask is selected in the node. Fix this by outputing a single zero value in that case.
This commit is contained in:
@@ -84,7 +84,7 @@ void MaskOperation::deinit_execution()
|
||||
|
||||
void MaskOperation::determine_canvas(const rcti &preferred_area, rcti &r_area)
|
||||
{
|
||||
if (mask_width_ == 0 || mask_height_ == 0) {
|
||||
if (!mask_ || mask_width_ == 0 || mask_height_ == 0) {
|
||||
r_area = COM_AREA_NONE;
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user