mirror of
https://github.com/3b1b/manim.git
synced 2025-04-13 09:47:07 +00:00
Check _use_winding_fill on the submobject level
This commit is contained in:
parent
8820af65ec
commit
f4a6f99b54
1 changed files with 2 additions and 2 deletions
|
@ -1297,11 +1297,11 @@ class VMobject(Mobject):
|
|||
back_stroke_datas.append(submob.data[stroke_names][indices])
|
||||
if front_stroke:
|
||||
stroke_datas.append(submob.data[stroke_names][indices])
|
||||
if has_fill and self._use_winding_fill:
|
||||
if has_fill and submob._use_winding_fill:
|
||||
data = submob.data[fill_names]
|
||||
data["base_point"][:] = data["point"][0]
|
||||
fill_datas.append(data[indices])
|
||||
if has_fill and not self._use_winding_fill:
|
||||
if has_fill and not submob._use_winding_fill:
|
||||
fill_datas.append(submob.data[fill_names])
|
||||
fill_indices.append(submob.get_triangulation())
|
||||
if has_fill and not front_stroke:
|
||||
|
|
Loading…
Add table
Reference in a new issue