Moving the frame_center of camera was not working. This fixes it, but I suspect there is a need for a deeper fix where everything is handled in transform_points_pre_display properly for the various camera classes

This commit is contained in:
Grant Sanderson 2019-05-29 18:28:28 -07:00
parent 52054571ab
commit 5dcb113996

View file

@ -332,6 +332,8 @@ class Camera(object):
points = self.transform_points_pre_display(
vmobject, vmobject.points
)
# TODO, shouldn't this be handled in transform_points_pre_display?
points = points - self.get_frame_center()
if len(points) == 0:
return