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

This commit is contained in:
Antonio Vazquez 2021-09-22 20:07:20 +02:00 committed by Jeroen Bakker
parent 93c7e83b2a
commit 25440e2a91
Notes: blender-bot 2023-02-14 04:20:36 +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

@ -260,7 +260,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;
}