Skip to content

Commit

Permalink
Check if mobject_uniforms is None
Browse files Browse the repository at this point in the history
  • Loading branch information
3b1b committed Feb 5, 2023
1 parent c918e84 commit 7d1330f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manimlib/shader_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def __init__(
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()
Expand Down

0 comments on commit 7d1330f

Please sign in to comment.