Martijn Versteegh Baardaap
  • Joined on 2020-06-24
Martijn Versteegh pushed to fix_dangling_customdata_pointers at Baardaap/blender 2023-05-26 16:45:44 +02:00
2ad8de628b Mark indirection table entries as unused on layer remove.
3b94c39085 Remove extraneous initialisation of indirection table.
Compare 2 commits »
Martijn Versteegh created pull request blender/blender#108319 2023-05-26 16:25:21 +02:00
WIP : Use an extra step of indirection in accessing CustomDataLayers via rna.
Martijn Versteegh pushed to fix_dangling_customdata_pointers at Baardaap/blender 2023-05-26 16:24:25 +02:00
b7e2b37d25 WIP : Use an extra step of indirection in accessing CustomDataLayers via rna.
0f3682a88a Merge branch 'blender-v3.6-release'
ccd85688ed Update licence infos for OpenSSL.
eb07e8c37b Merge remote-tracking branch 'origin/blender-v3.6-release'
001e012ea0 Fix crash when selecting all bones in armature
Compare 10 commits »
Martijn Versteegh created branch fix_dangling_customdata_pointers in Baardaap/blender 2023-05-26 16:24:25 +02:00
Martijn Versteegh commented on issue blender/blender#107500 2023-05-25 21:32:12 +02:00
Python API: Mesh editing: Editing uvs after normals with a previously assigned variable doesn't work

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…

Martijn Versteegh commented on issue blender/blender#107416 2023-05-24 10:43:28 +02:00
Debug assert in uv layer 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…

Martijn Versteegh commented on issue blender/blender#107500 2023-05-22 22:48:56 +02:00
Python API: Mesh editing: Editing uvs after normals with a previously assigned variable doesn't work

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.…

Martijn Versteegh commented on issue blender/blender#107500 2023-05-18 15:48:50 +02:00
Python API: Mesh editing: Editing uvs after normals with a previously assigned variable doesn't work

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…

Martijn Versteegh commented on issue blender/blender#107500 2023-05-17 22:37:25 +02:00
Python API: Mesh editing: Editing uvs after normals with a previously assigned variable doesn't work

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 -…

Martijn Versteegh closed issue blender/blender#107168 2023-05-17 22:20:40 +02:00
Regression: Crash when executing a certain python script
Martijn Versteegh commented on issue blender/blender#107168 2023-05-17 22:20:37 +02:00
Regression: Crash when executing a certain python script

After looking into it some more I'm fairly certain this is indeed a duplicate of #107500 , so I close this one.

Martijn Versteegh commented on issue blender/blender#107500 2023-05-09 15:53:17 +02:00
Python API: Mesh editing: Editing uvs after normals with a previously assigned variable doesn't work

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 :-(.

Martijn Versteegh commented on issue blender/blender#107168 2023-05-09 15:17:20 +02:00
Regression: Crash when executing a certain python script

This looks like a duplicate of blender/blender#107500

Martijn Versteegh commented on issue blender/blender#107500 2023-05-09 14:00:22 +02:00
Python API: Mesh editing: Editing uvs after normals with a previously assigned variable doesn't work

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…

Martijn Versteegh opened issue blender/blender#107694 2023-05-07 01:37:06 +02:00
Adding an (empty) split normals layer to a newly created (empty) mesh triggers an assert in debugmode
Martijn Versteegh commented on issue blender/blender#107500 2023-05-07 01:07:20 +02:00
Python API: Mesh editing: Editing uvs after normals with a previously assigned variable doesn't work

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…

Martijn Versteegh commented on issue blender/blender#107500 2023-05-05 22:18:18 +02:00
Python API: Mesh editing: Editing uvs after normals with a previously assigned variable doesn't work

just back from a short holiday. will try to look into it

Martijn Versteegh commented on issue blender/blender#107194 2023-04-25 22:22:35 +02:00
AttributeGroup API: "active" is meaningless (always refers to all attributes, not the specific AttributeGroup) -- e.g. mesh.color_attributes.active

As a workaround, using C.object.data.color_attributes.active_color gives the correct result.

Martijn Versteegh commented on issue blender/blender#107206 2023-04-21 16:00:15 +02:00
Viewport shading solid mode not displaying geometry nodes color attributes correctly

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…