Skip to content

Fixing add_fixed_in_frame_mobjects #569

@kolibril13

Description

@kolibril13
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.to_corner(UL))
        self.add(axes)
        self.add(text)
        self.wait()

This script is currently broken because add_fixed_in_frame_mobjects throws an error.
It was broken before but fixed by #281.
Now, with git bisect I could boil down the first occurrence of this error to this pr:
#532 (ping to @eulertour)
Before that, the Text3D Scene was functioning properly.
It would be nice when we could make this work again :)
As soon as we have it fixed, I can volunteer to add a test for this.

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