forked from bartvdbraak/blender
#bugfix #3791
Missing depsgraph update tag in Object made dxf import seem as if it didn't import anything.
This commit is contained in:
parent
8bfe762927
commit
a64c9f7a6a
@ -229,6 +229,7 @@ static void mesh_add_normals_flags(Mesh *me)
|
|||||||
if(mface->v4) {
|
if(mface->v4) {
|
||||||
simple_vertex_normal_blend(v4->no, sno);
|
simple_vertex_normal_blend(v4->no, sno);
|
||||||
}
|
}
|
||||||
|
mface->edcode= ME_V1V2|ME_V2V3;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -4880,6 +4881,7 @@ static void dxf_read(char *filename)
|
|||||||
|
|
||||||
ob->dupon= 1; ob->dupoff= 0;
|
ob->dupon= 1; ob->dupoff= 0;
|
||||||
ob->dupsta= 1; ob->dupend= 100;
|
ob->dupsta= 1; ob->dupend= 100;
|
||||||
|
ob->recalc= OB_RECALC; /* needed because of weird way of adding libdata directly */
|
||||||
|
|
||||||
G.totobj++;
|
G.totobj++;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user