Fix #117915: GP: Assign material button is missing

Accidently changed in c412aa1a17

Pull Request: https://projects.blender.org/blender/blender/pulls/117934
This commit is contained in:
Pratik Borhade
2024-02-07 10:01:03 +01:00
committed by Pratik Borhade
parent 06dc5363a9
commit 7b405646fc
@@ -608,7 +608,7 @@ class GreasePencilMaterialsPanel:
row.operator("grease_pencil.stroke_material_set", text="Assign")
elif not is_grease_pencil_version3 and ob.data.use_stroke_edit_mode:
row = layout.row(align=True)
row.operator("gpencil.stroke_material_set", text="Assign")
row.operator("gpencil.stroke_change_color", text="Assign")
row.operator("gpencil.material_select", text="Select").deselect = False
row.operator("gpencil.material_select", text="Deselect").deselect = True
# stroke color