Fix #4239: Support more types in Extract Element node

Closed
SA
4mo ago
+63-0

Fixes #4239

The Extract Element node was missing support for a few list types that are already used elsewhere in the attribute system.

This adds support for:

  • List<bool>
  • List<DAffine2>
  • List<BlendMode>
  • List<GradientType>
  • List<GradientSpreadMethod>

These types already have existing support through attribute readers/writers and related node infrastructure, but were not included in the Extract Element node's implementation list.

I verified that the added types satisfy the required trait bounds and that cargo check --package graphic-nodes completes successfully after the change.

This is a small registration-only change and does not modify the node's runtime behavior.