Fix T91607: GPencil Tint modifier "apply" removes the effect

This commit is contained in:
Antonio Vazquez 2021-09-22 20:07:20 +02:00
parent f893dea586
commit 6611f2cb74
Notes: blender-bot 2023-02-13 17:37:50 +01:00
Referenced by issue #88449, Blender LTS: Maintenance Task 2.93
Referenced by issue #91607, GPencil:  Tint modifier "apply" removes the effect
1 changed files with 1 additions and 1 deletions

View File

@ -281,7 +281,7 @@ static void bakeModifier(Main *UNUSED(bmain),
bGPdata *gpd = ob->data;
int oldframe = (int)DEG_get_ctime(depsgraph);
if (mmd->object == NULL) {
if ((mmd->type == GP_TINT_GRADIENT) && (mmd->object == NULL)) {
return;
}