A small status update:
Pfew. It's quite a hard nut to crack, this one. Especially as I knew next to nothing about how the whole rna system works.
I'm currently in the stage where my patch…
data.foreach_get
when called on an Edit Mode mesh
Very, a bit swamped in work though.
Might be related to blender/blender#107500 , which I'm currently trying to patch up...
I'll self assign and try to…
I'll try to fix up my attempt for a fix tomorrow. It might be a good starting point for further explorations and maybe a good stop-gap for 3.6 .
I agree with Hans that the extra list is ugly.…
A way this problem could be handled with the current system could be to have a list of CustomDataLayer references (index or name), owned by the ID. So RNA would reference these, and…
I've been trying various approaches to fix this during last week. So far unsuccessful. My current approach might work, though I'm not yet in a state that I can really test it. It involves -…
After looking into it some more I'm fairly certain this is indeed a duplicate of #107500 , so I close this one.
Hm. seeing #107168 as well this might turn out to be more of a problem than I had hoped. So maybe we need to magic with the python api callbacks after all :-(.
This looks like a duplicate of blender/blender#107500
After more studying I've concluded that , unfortunate as it is, it is not really feasible to fix this in a backwards compatible manner. So I propose to close this as a 'known limitation' and to…
My guess is this is cased by commit 3c4363265170 @HooglyBoogly
I did some preliminary research. And I fear this is something that 'accidentally worked' in previous versions because the MeshUVLoopLayer used in the python api is just a wrapped pointer to the…
just back from a short holiday. will try to look into it
As a workaround, using C.object.data.color_attributes.active_color
gives the correct result.
if a color attribute is newly created on a layer which does not contain any it should be set active/default. This is how it used to work before the change to name based active/default. Or the last…