Skip to content

Mobject Ordering Regression in 0.15 #2585

Closed
@sudgy

Description

@sudgy

Consider the following scene:

class Test(Scene):
    def construct(self):
        a = Square(color = RED)
        b = Square(color = BLUE)
        b.shift(RIGHT)
        self.add(a)
        self.wait()
        self.bring_to_back(b)
        self.play(FadeIn(b))
        self.wait()

In 0.14, this is the output:

Test.mp4

In 0.15, this is the output:

Test.mp4

As you can see, the blue square is correctly drawn behind the red one in 0.14, but in 0.15, the blue square is drawn on top.

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue:bugSomething isn't working... For use in issues

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions