I'm trying to set face normals using a bmesh. I'm running this in response to a mouse click in an operator.
In the below code, I'm able to run through my loops and set the vertex normals. While this does update the vertex normals, it does nothing to affect the loop normals which are the ones that affect how the mesh is rendered (a loop is a vertex-face tuple which allows the same vertex to have different properties for each adjacent face). The BMLoop object does not appear to have a normal property. How do I set the normals of my mesh?
me = context.edit_object.data me.use_auto_smooth = True self.bm = bmesh.from_edit_mesh(me) for face in self.bm.faces: for loop in face.loops: loop.vert.normal = brush_normal me = context.edit_object.data bmesh.update_edit_mesh(me, False, False) ```