Skip to content

Bug: add_fixed_in_frame_mobjects in ThreeDScene is not working anymore #264

@kolibril13

Description

@kolibril13

When running this:

from manim import *
class Text3D(ThreeDScene):
    def construct(self):
        axes = ThreeDAxes()
        self.set_camera_orientation(phi=75 * DEGREES,theta=-45*DEGREES)
        text=TextMobject("This is a 3D text")
        self.add_fixed_in_frame_mobjects(text)
        self.add(axes)
        self.add(text)
        self.wait()

I get the following error:
AttributeError: 'tuple' object has no attribute 'sort'
I guess that is related to the z_index implementation, #122 , @PgBiel ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    pr:bugfixBug fix for use in PRs solving a specific issue:bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions