Outer Glow, brush Smoothing and the rest of Compositor 1.2.0
This commit is contained in:
1 parent
2cd0d1b86d
commit
374ba8ec73
32 files changed
+624
-47
No files matched your search
@@ -104,6 +104,8 @@ double LayerEffectsRenderer::margin(const LayerEffects &all)
|
||||
margin = std::max(margin, effects.stroke->size);
|
||||
if (effects.shadow)
|
||||
margin = std::max(margin, effects.shadow->distance + effects.shadow->blur * 3);
|
||||
if (effects.outerGlow)
|
||||
margin = std::max(margin, effects.outerGlow->size * 3);
|
||||
return std::ceil(margin) + 2;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user