mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
GPencil: Fix unreported double stroke color in materials panel
There was an extra stroke color in the side panel, but this prop must be visible only in Topbar.
This commit is contained in:
parent
039094c1ec
commit
61bb70e0c7
1 changed files with 1 additions and 1 deletions
|
|
@ -591,7 +591,7 @@ class GreasePencilMaterialsPanel:
|
|||
if len(ob.material_slots) > 0 and ob.active_material_index >= 0:
|
||||
ma = ob.material_slots[ob.active_material_index].material
|
||||
|
||||
if ma is not None and ma.grease_pencil is not None:
|
||||
if is_view3d and ma is not None and ma.grease_pencil is not None:
|
||||
gpcolor = ma.grease_pencil
|
||||
if gpcolor.stroke_style == 'SOLID':
|
||||
row = layout.row()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue