Corrected bevel of vertex by using profiles for curve of bevel

This commit is contained in:
Rohan Rathi 2018-06-13 21:53:15 +05:30
parent b5f67bfd83
commit 2922131971
4 changed files with 14 additions and 3 deletions

@ -1 +1 @@
Subproject commit ebd058d7a6438d137522063bb3286c8acc325ca6
Subproject commit 27970761a18926abe1b0020aa350305e3109a537

@ -1 +1 @@
Subproject commit 474702157831f1a58bb50f5240ab8b1b02b6ba37
Subproject commit 6a4f93c9b8f36b19bd02087abf3d7f5983df035a

View File

@ -3647,6 +3647,17 @@ static void bevel_build_rings(BevelParams *bp, BMesh *bm, BevVert *bv)
odd = ns % 2;
BLI_assert(n >= 3 && ns > 1);
/* Add support for profiles in vertex only in-plane bevels */
if (bp->vertex_only) {
v = bv->vmesh->boundstart;
do {
Profile *pro = &v->profile;
pro->super_r = bp->pro_super_r;
copy_v3_v3(pro->midco, bv->v->co);
calculate_profile(bp, v);
v = v->next;
} while (v != bv->vmesh->boundstart);
}
vpipe = pipe_test(bv);

@ -1 +1 @@
Subproject commit 9d7d338cb25a071f9646cf9ba16f17004c963f77
Subproject commit 88a1758d2d2e862cc69c08b5b40a4e75f71592d3