mirror of
https://github.com/3b1b/manim.git
synced 2025-04-13 09:47:07 +00:00
Check if mobject_uniforms is None
This commit is contained in:
parent
c918e84784
commit
7d1330fa68
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ class ShaderWrapper(object):
|
|||
self.render_primitive = render_primitive
|
||||
|
||||
self.program_uniform_mirror: UniformDict = dict()
|
||||
self.bind_to_mobject_uniforms(mobject_uniforms)
|
||||
self.bind_to_mobject_uniforms(mobject_uniforms or dict())
|
||||
|
||||
self.init_program_code()
|
||||
self.init_program()
|
||||
|
|
Loading…
Add table
Reference in a new issue