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:
@@ -170,6 +170,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(
|
||||
@@ -186,6 +188,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)
|
||||
|
||||
Reference in New Issue
Block a user