mirror of
https://github.com/drewcassidy/KSP-Conformal-Decals.git
synced 2024-09-01 18:23:54 +00:00
Fix symmetry
This commit is contained in:
parent
03d2e66543
commit
c33f5bacdd
Binary file not shown.
@ -277,7 +277,7 @@ namespace ConformalDecals {
|
||||
|
||||
/// Called when a part is transformed in the editor
|
||||
protected void OnPartTransformed(Part eventPart) {
|
||||
if (this.part == eventPart) {
|
||||
if (part == eventPart || part.symmetryCounterparts.Contains(eventPart)) {
|
||||
UpdateProjection();
|
||||
}
|
||||
else if (_isAttached && projectMultiple) {
|
||||
@ -291,7 +291,7 @@ namespace ConformalDecals {
|
||||
|
||||
/// Called when a part is attached in the editor
|
||||
protected void OnPartAttached(Part eventPart) {
|
||||
if (this.part == eventPart) {
|
||||
if (part == eventPart || part.symmetryCounterparts.Contains(eventPart)) {
|
||||
OnAttach();
|
||||
}
|
||||
else if (_isAttached && projectMultiple) {
|
||||
@ -305,7 +305,7 @@ namespace ConformalDecals {
|
||||
|
||||
/// Called when a part is detached in the editor
|
||||
protected void OnPartDetached(Part eventPart) {
|
||||
if (this.part == eventPart) {
|
||||
if (part == eventPart || part.symmetryCounterparts.Contains(eventPart)) {
|
||||
OnDetach();
|
||||
}
|
||||
else if (_isAttached && projectMultiple) {
|
||||
|
Loading…
Reference in New Issue
Block a user