Use null array for vert indices in place of None

This commit is contained in:
Grant Sanderson
2023-01-24 15:53:43 -08:00
parent 516fe9155e
commit 72da9786a3
3 changed files with 10 additions and 11 deletions

View File

@ -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,