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 <hernan@rive.app>
diff --git a/.rive_head b/.rive_head index 3eb61ea..eead455 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 8d68908..cfa7f90 100644 --- a/src/shapes/clipping_shape.cpp +++ b/src/shapes/clipping_shape.cpp
@@ -39,7 +39,7 @@ // 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<Shape>() && core != clippingHolder) + if (core->is<Shape>()) { auto component = core->as<ContainerComponent>(); while (component != nullptr)