mirror of
https://github.com/3b1b/manim.git
synced 2025-07-31 05:52:34 +08:00
Use null array for vert indices in place of None
This commit is contained in:
@ -1841,7 +1841,7 @@ class Mobject(object):
|
||||
|
||||
def init_shader_data(self):
|
||||
# TODO, only call this when needed?
|
||||
self.shader_indices = None
|
||||
self.shader_indices = np.zeros(0)
|
||||
self.shader_wrapper = ShaderWrapper(
|
||||
vert_data=self.data,
|
||||
shader_folder=self.shader_folder,
|
||||
|
Reference in New Issue
Block a user