Skip to content

ThreeDScene.move_camera() results in NotImplementedError #125

@Aathish04

Description

@Aathish04

Commit 62050bb changes the pass statements of some methods in Mobject() into NotImplementedError .

This causes the move_camera method in a ThreeDScene or SpecialThreeDScene to fail, throwing a NotImplementedError, as it uses the interpolate_color method of Mobject.

from manim import *

class TestScene(SpecialThreeDScene):
    def construct(self):
        self.move_camera(
            **self.default_angled_camera_position,
            run_time=1,
        )

The snippet above triggers the NotImplementedError in the interpolate_color method of Mobject()

This could be fixed by reverting the NotImplementedError of the interpolate_color method back into the pass statement that it originally was.

I think it would also prove fruitful if the methods become_partial and pointwise_become_partial also just had pass statements as they could also result in another method somewhere else not working properly.

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