Skip to content
Discussion options

You must be logged in to vote

Thanks for trying to contribute.

Indeed, we currently can't have builtin properties with a "model" type.
That's because ModelRc also can't be shared in C++ as is (where it is a shared_ptr)

So to move forward i can see the following solution:

  • Do not use stroke-dash-array property, but an stroke-style property that would be an enum (Solid, Dashed, Dotted) or something like that.
  • Use Property<SharedVector<f32>> but that comes with its own challenge (it is still not supported out of the box and there will be need to have compiler support to generate it)

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@lzm-build
Comment options

@ogoffart
Comment options

@lzm-build
Comment options

Answer selected by lzm-build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants