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:
authorHenrik Dick <weasel>2021-09-04 17:02:40 +0300
committerAntonio Vazquez <blendergit@gmail.com>2021-09-04 17:03:15 +0300
commit54b72fe9ff2a7a061423270db8d6853986bbb796 (patch)
treeb4de5a9e678be503c90a82ae0d23b4f3f1fc47c9
parentc23b6596b91ceaf19d6e98bd66d7e67726821dc2 (diff)
GPencil: Fix Noise Modifier Randomize Panel disabled
Fix regression introduced in rB34b213d60472 Reviewed By: antoniov Differential Revision: https://developer.blender.org/D12398
-rw-r--r--source/blender/gpencil_modifiers/intern/MOD_gpencilnoise.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpencil_modifiers/intern/MOD_gpencilnoise.c b/source/blender/gpencil_modifiers/intern/MOD_gpencilnoise.c
index 9e9eba3d61e..ae862ce3eda 100644
--- a/source/blender/gpencil_modifiers/intern/MOD_gpencilnoise.c
+++ b/source/blender/gpencil_modifiers/intern/MOD_gpencilnoise.c
@@ -324,7 +324,7 @@ static void random_panel_draw(const bContext *UNUSED(C), Panel *panel)
uiLayoutSetPropSep(layout, true);
- uiLayoutSetActive(layout, RNA_boolean_get(ptr, "random"));
+ uiLayoutSetActive(layout, RNA_boolean_get(ptr, "use_random"));
uiItemR(layout, ptr, "step", 0, NULL, ICON_NONE);
}