Skip to content

Negative scale in camera matrix turns models inside out #14372

@Korijn

Description

@Korijn

Objects are not turned inside out when giving them a negative scale thanks to the fixes in #12787 However when setting a negative scale on the camera, the scene is turned inside out regardless.

Looking at the changes made in #12787 I believe that instead of taking the determinant of object.matrixWorld it should be the determinant of object.modelViewMatrix which includes the camera view transform.

Local testing confirms that this resolves the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions