Skip to content

Fixes #2817 with sub-branch searches.#2821

Merged
Dunbaratu merged 1 commit intoKSP-KOS:developfrom
Dunbaratu:fixes_2817_select_parts_subbranch
Dec 9, 2020
Merged

Fixes #2817 with sub-branch searches.#2821
Dunbaratu merged 1 commit intoKSP-KOS:developfrom
Dunbaratu:fixes_2817_select_parts_subbranch

Conversation

@Dunbaratu
Copy link
Member

Fixes #2817

To do this I moved the searching code into PartValue,
and then made the existing Vessel searches into just special cases
of the Part search in which the starting part is the vessel's root part.

Thus they are both served by the same code.

On an unrelated note this also includes changes to .csproj files
to bring kOS up to .Net 4.5. This isn't part of the fix, but
my dev environment is that way now so I can compile against my own
ClickThroughBlocker DLL and it's too hard to keep pulling that part
out of my PRs so I'll just go ahead and update the main repo to that
when this merges.

To do this I moved the searching code into PartValue,
and then made the existing Vessel searches into just special cases
of the Part search in which the starting part is the vessel's root part.

Thus they are both served by the same code.

On an unrelated note this also includes changes to .csproj files
to bring kOS up to .Net 4.5.  This isn't part of the fix, but
my dev environment is that way now so I can compile against my own
ClickThroughBlocker DLL and it's too hard to keep pulling that part
out of my PRs so I'll just go ahead and update the main repo to that
when this merges.
@Dunbaratu Dunbaratu added the enhancement Something new (not a bug fix) is being requested label Dec 9, 2020
@Dunbaratu Dunbaratu merged commit 694929e into KSP-KOS:develop Dec 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Something new (not a bug fix) is being requested

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feature request: partsnamed/dubbed/pattern extended to work from any part on subtree below part, not just from ship

1 participant