GP: Enable force fill recalc by default

This commit is contained in:
Antonio Vazquez 2018-09-27 17:39:16 +02:00
parent 18262bcb1e
commit beb91b5f41
2 changed files with 2 additions and 1 deletions

View File

@ -1178,7 +1178,7 @@ void armature_deform_verts(Object *armOb, Object *target, const Mesh * mesh, flo
pchan_bone_deform(pchan, pdef_info, weight, vec, dq, smat, co, &contrib);
/* if aumulated weight limit exceed, exit loop */
/* if acumulated weight limit exceed, exit loop */
if ((target->type == OB_GPENCIL) && (acum_weight >= 1.0f)) {
break;
}

View File

@ -458,6 +458,7 @@ bGPdata *BKE_gpencil_data_addnew(Main *bmain, const char name[])
/* general flags */
gpd->flag |= GP_DATA_VIEWALIGN;
gpd->flag |= GP_DATA_STROKE_FORCE_RECALC;
/* GP object specific settings */
ARRAY_SET_ITEMS(gpd->line_color, 0.6f, 0.6f, 0.6f, 0.5f);