Fix #147412: Opening "Randomize Color" sub-panel makes "Modes" disappear

Mistake in 56d52a7070 (wrong parameter name).

Pull Request: https://projects.blender.org/blender/blender/pulls/147423
This commit is contained in:
Pratik Borhade
2025-10-06 11:53:57 +02:00
committed by Pratik Borhade
parent 559f9b29cd
commit a7cca80c36

View File

@@ -1246,7 +1246,7 @@ def color_jitter_panel(layout, context, brush):
row = col.row(align=True)
row.enabled = prop_owner.use_color_jitter
row.prop(prop_owner, "value_jitter", slider=True, text="Value", text_context=i18n_contexts.color)
row.prop(prop_owner, "value_jitter", slider=True, text="Value", text_ctxt=i18n_contexts.color)
row.prop(prop_owner, "use_stroke_random_val", text="", icon='GP_SELECT_STROKES')
row.prop(prop_owner, "use_random_press_val", text="", icon='STYLUS_PRESSURE')