mirror of
https://github.com/3b1b/manim.git
synced 2025-08-05 22:03:01 +08:00
Change default behave for VMobject.apply_function
This commit is contained in:
@ -224,7 +224,7 @@ class VMobject(Mobject):
|
||||
self.submobjects
|
||||
)
|
||||
|
||||
def apply_function(self, function, maintain_smoothness = True):
|
||||
def apply_function(self, function, maintain_smoothness = False):
|
||||
Mobject.apply_function(self, function)
|
||||
if maintain_smoothness and self.considered_smooth:
|
||||
self.make_smooth()
|
||||
|
@ -279,6 +279,9 @@ class NumberPlane(VMobject):
|
||||
mob.make_smooth()
|
||||
return self
|
||||
|
||||
def apply_function(self, function, maintain_smoothness = True):
|
||||
SVGMobject.apply_function(self, function, maintain_smoothness = maintain_smoothness)
|
||||
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user