From 5d90bc8015ac27406f1e9243f291395c1c246ddf Mon Sep 17 00:00:00 2001 From: bodymovin Date: Sat, 6 Jan 2024 00:10:59 +0000 Subject: [PATCH] add support for self clipping shape adding support for self clipping shapes in cpp since there is a valid use case for it and flutter already supports it Diffs= a3788ed8a add support for self clipping shape (#6416) Co-authored-by: hernan --- .rive_head | 2 +- src/shapes/clipping_shape.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.rive_head b/.rive_head index 3eb61ea5..eead455c 100644 --- a/.rive_head +++ b/.rive_head @@ -1 +1 @@ -b58df4ba70205b17dbe8f4e8204d0a78becabeaa +a3788ed8ad14d8046faec27d34c9483ddb7d7cb3 diff --git a/src/shapes/clipping_shape.cpp b/src/shapes/clipping_shape.cpp index 8d68908b..cfa7f902 100644 --- a/src/shapes/clipping_shape.cpp +++ b/src/shapes/clipping_shape.cpp @@ -39,7 +39,7 @@ StatusCode ClippingShape::onAddedClean(CoreContext* context) // Iterate artboard to find shapes that are parented to the source, // their paths will need to be RenderPaths in order to be used for // clipping operations. - if (core->is() && core != clippingHolder) + if (core->is()) { auto component = core->as(); while (component != nullptr)