mirror of
https://github.com/3b1b/manim.git
synced 2025-08-05 16:49:03 +00:00
Whoops, make sure deepcopy actually returns
This commit is contained in:
parent
60aae748a7
commit
a4d9b101de
1 changed files with 1 additions and 0 deletions
|
@ -599,6 +599,7 @@ class Mobject(object):
|
||||||
result = copy.deepcopy(self)
|
result = copy.deepcopy(self)
|
||||||
result._shaders_initialized = False
|
result._shaders_initialized = False
|
||||||
result._data_has_changed = True
|
result._data_has_changed = True
|
||||||
|
return result
|
||||||
|
|
||||||
def copy(self, deep: bool = False):
|
def copy(self, deep: bool = False):
|
||||||
if deep:
|
if deep:
|
||||||
|
|
Loading…
Add table
Reference in a new issue