mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
Freestyle: Fix for dashed lines when applied to invisible stroke segments.
Dashed lines were resetting stroke segment visibility by mistake (making invisible segments visible, for example when applied to the results of square blueprint geometry modifier).
This commit is contained in:
parent
c4e277d53b
commit
3a0be8a0d6
1 changed files with 2 additions and 1 deletions
|
|
@ -955,7 +955,8 @@ class DashedLineShader(StrokeShader):
|
|||
if index == len(self._pattern):
|
||||
index = 0
|
||||
visible = not visible
|
||||
it.object.attribute.visible = visible
|
||||
if not visible:
|
||||
it.object.attribute.visible = visible
|
||||
it.increment()
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue