Skip to content

Fix: Brushes are erroneously destroyed in Split operations #413

@SamNChiet

Description

@SamNChiet

Issue: When more than two brush objects are selected, using a Split operation with a plane that fails to intersect one of the objects will cause the non-intersected object to be marked for deletion.

Image Image

The fix is one line. In EditMode.Clip.cs, around line 647, change

if (clipSides[t] == ClipSide.CompletelyInside)
{
    // ...

to

if (clipSides[t] == ClipSide.CompletelyInside && clipMode != ClipMode.Split)
{
    // ...

Fixed!
Image

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