- changed status to open
Blender 4: Object as no attribute 'crease'
Hello,
i’m getting the following error when doing an import (easy or not) with blender 4.0.1 and latest commit of diffeo
same Daz file works with blender 3.6.5 and Diffeo 1.7.1
Comments (9)
-
repo owner -
repo owner Edges are only creased if there are separate edge weights in DS, which I think is rather rare. However, the code that makes the creases uses bmesh, and apparently something changed in the bmesh api. Unfortunately the Blender servers seem to be down due to a DDOS attach, so I cannot check what changed. As a workaround the creasing code is disabled for Blender 4.
-
Please note that there are daz assets using hard edges and that’s why we implemented it, see
#593. Disabling the feature in blender 4 should be a temporary workaround, unless it turns out there are other issues. -
repo owner The Blender servers are still down, but I can confirm that this problem is specific to Blender 4. In Blender 3.6 BMesh.edges.layers has two attributes 'bevel_weight' and 'crease' that are missing in Blender 4.0.
-
reporter i confirm it’s working on 3.6.
thanks for the update
-
From the interface nothing is changed in blender 4, we can set edge creases as before. I never worked with bmesh in python, but here I see object.data.edge_creases as available property in edit mode.
Hope this helps, let us know.
p.s. The test scene is in
sub-cube.duf#593 -
repo owner Now edge crease works in both Blender 3 and 4.
-
-
- changed status to duplicate
Duplicate of
#593. - Log in to comment