Remove drop argument in part removal methods and reorganize code (#2289)
* Remove IBodyPart.Drop and move attach/detach logic to body part code * Fix stack overflow
This commit is contained in:
@@ -180,7 +180,7 @@ namespace Content.IntegrationTests.Tests.Body
|
||||
|
||||
component.ResetAll();
|
||||
|
||||
body.RemovePart(centerPart, true);
|
||||
body.RemovePart(centerPart);
|
||||
|
||||
Assert.That(component.NoAdded);
|
||||
Assert.That(component.WasRemovedFromBody);
|
||||
|
||||
Reference in New Issue
Block a user