mirror of
https://github.com/3b1b/manim.git
synced 2025-09-01 00:48:45 +00:00
Merge branch 'master' into glitch-fix
This commit is contained in:
commit
9dc6cce09f
1 changed files with 3 additions and 2 deletions
|
@ -1317,10 +1317,11 @@ class VMobject(Mobject):
|
|||
names = list(stroke_names)
|
||||
names[names.index('stroke_rgba')] = 'fill_rgba'
|
||||
names[names.index('stroke_width')] = 'fill_border_width'
|
||||
border_stroke_data = submob.data[names]
|
||||
border_stroke_data = submob.data[names].astype(
|
||||
self.stroke_shader_wrapper.vert_data.dtype
|
||||
)
|
||||
fill_border_datas.append(border_stroke_data[indices])
|
||||
|
||||
|
||||
shader_wrappers = [
|
||||
self.back_stroke_shader_wrapper.read_in(
|
||||
[*back_stroke_datas, *fill_border_datas]
|
||||
|
|
Loading…
Add table
Reference in a new issue