mirror of
https://github.com/3b1b/manim.git
synced 2025-11-13 21:07:47 +00:00
Possible fix for a type error
This commit is contained in:
parent
5490b3be19
commit
76ee97adfa
1 changed files with 4 additions and 1 deletions
|
|
@ -1321,7 +1321,10 @@ 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
|
||||
)
|
||||
print(border_stroke_data.dtype)
|
||||
fill_border_datas.append(border_stroke_data)
|
||||
fill_border_datas.append(border_stroke_data[-1:])
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue