Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonio Vazquez <blendergit@gmail.com>2021-09-22 21:07:20 +0300
committerJeroen Bakker <jeroen@blender.org>2021-09-27 09:23:32 +0300
commit25440e2a91825f3790cb085ddacd2476832b145f (patch)
treef32764a49c11708a855126f5ffab82ed05c379e8
parent93c7e83b2aca1ad3bc674af2a6c522be7aba2c57 (diff)
Fix T91607: GPencil Tint modifier "apply" removes the effect
-rw-r--r--source/blender/gpencil_modifiers/intern/MOD_gpenciltint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpencil_modifiers/intern/MOD_gpenciltint.c b/source/blender/gpencil_modifiers/intern/MOD_gpenciltint.c
index 4a6e3df59c7..2413c001b0c 100644
--- a/source/blender/gpencil_modifiers/intern/MOD_gpenciltint.c
+++ b/source/blender/gpencil_modifiers/intern/MOD_gpenciltint.c
@@ -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;
}