mirror of
https://github.com/3b1b/manim.git
synced 2025-04-13 09:47:07 +00:00
Make sure Mobject.become works with bounding_box
This commit is contained in:
parent
8ef93b0f9d
commit
1a15756330
1 changed files with 1 additions and 0 deletions
|
@ -654,6 +654,7 @@ class Mobject(object):
|
|||
for sm1, sm2 in zip(family1, family2):
|
||||
sm1.set_data(sm2.data)
|
||||
sm1.set_uniforms(sm2.uniforms)
|
||||
sm1.bounding_box[:] = sm2.bounding_box
|
||||
sm1.shader_folder = sm2.shader_folder
|
||||
sm1.texture_paths = sm2.texture_paths
|
||||
sm1.depth_test = sm2.depth_test
|
||||
|
|
Loading…
Add table
Reference in a new issue