mirror of
https://github.com/3b1b/manim.git
synced 2025-08-31 16:08:54 +00:00
Change defaults on when triangulation is locked...again
This commit is contained in:
parent
47daf8e7f7
commit
6e932a24d2
3 changed files with 3 additions and 2 deletions
|
@ -457,6 +457,7 @@ class Bubble(SVGMobject):
|
|||
|
||||
def flip(self, axis=UP):
|
||||
Mobject.flip(self, axis=axis)
|
||||
self.refresh_triangulation()
|
||||
if abs(axis[1]) > 0:
|
||||
self.direction = -np.array(self.direction)
|
||||
return self
|
||||
|
|
|
@ -328,6 +328,8 @@ class VMobjectFromSVGPathstring(VMobject):
|
|||
self.subdivide_sharp_curves()
|
||||
# SVG treats y-coordinate differently
|
||||
self.stretch(-1, 1, about_point=ORIGIN)
|
||||
# For faster rendering
|
||||
self.lock_triangulation()
|
||||
|
||||
def get_commands_and_coord_strings(self):
|
||||
all_commands = list(self.get_command_to_function_map().keys())
|
||||
|
|
|
@ -48,8 +48,6 @@ class SingleStringTexMobject(SVGMobject):
|
|||
self.scale(TEX_MOB_SCALE_FACTOR)
|
||||
if self.organize_left_to_right:
|
||||
self.organize_submobjects_left_to_right()
|
||||
# For faster rendering
|
||||
self.lock_triangulation()
|
||||
|
||||
def get_modified_expression(self, tex_string):
|
||||
result = self.alignment + " " + tex_string
|
||||
|
|
Loading…
Add table
Reference in a new issue