Fix T41191: Custom Loop Normals Viewport shading not updating when set from py script
Missing update tagging... Safe for 2.74.
This commit is contained in:
parent
accd6083a5
commit
5ca59f7134
Notes:
blender-bot
2023-02-14 10:17:46 +01:00
Referenced by issue #41191, Face snapping doesn't work properly
|
@ -206,6 +206,8 @@ static void rna_Mesh_normals_split_custom_set(Mesh *mesh, ReportList *reports, i
|
|||
}
|
||||
|
||||
rna_Mesh_normals_split_custom_do(mesh, loopnors, false);
|
||||
|
||||
DAG_id_tag_update(&mesh->id, 0);
|
||||
}
|
||||
|
||||
static void rna_Mesh_normals_split_custom_set_from_vertices(
|
||||
|
@ -222,6 +224,8 @@ static void rna_Mesh_normals_split_custom_set_from_vertices(
|
|||
}
|
||||
|
||||
rna_Mesh_normals_split_custom_do(mesh, vertnors, true);
|
||||
|
||||
DAG_id_tag_update(&mesh->id, 0);
|
||||
}
|
||||
|
||||
static void rna_Mesh_transform(Mesh *mesh, float *mat, int shape_keys)
|
||||
|
|
Loading…
Reference in New Issue