Skip to content

Commit 7d1330f

Browse files
committed
Check if mobject_uniforms is None
1 parent c918e84 commit 7d1330f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

manimlib/shader_wrapper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def __init__(
5252
self.render_primitive = render_primitive
5353

5454
self.program_uniform_mirror: UniformDict = dict()
55-
self.bind_to_mobject_uniforms(mobject_uniforms)
55+
self.bind_to_mobject_uniforms(mobject_uniforms or dict())
5656

5757
self.init_program_code()
5858
self.init_program()

0 commit comments

Comments
 (0)