mirror of
https://github.com/3b1b/manim.git
synced 2025-09-19 04:41:56 +00:00
Have VMobject inherit children uniforms when rendering
This commit is contained in:
parent
35c19fe8a7
commit
1f6363821b
1 changed files with 2 additions and 0 deletions
|
@ -1288,6 +1288,8 @@ class VMobject(Mobject):
|
|||
self.fill_shader_wrapper.read_in(fill_datas, fill_indices or None),
|
||||
self.stroke_shader_wrapper.read_in(stroke_datas),
|
||||
]
|
||||
# TODO, account for submob uniforms separately?
|
||||
self.uniforms.update(family[0].uniforms)
|
||||
return [sw for sw in shader_wrappers if len(sw.vert_data) > 0]
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue