Commit 48d55a5 1 parent b84bac9 commit 48d55a5 Copy full SHA for 48d55a5
File tree 3 files changed +5
-12
lines changed
Source/CesiumEditor/Private
3 files changed +5
-12
lines changed Original file line number Diff line number Diff line change @@ -451,7 +451,7 @@ CesiumIonSession::findToken(const FString& token) const {
451
451
452
452
namespace {
453
453
454
- Token tokenFromSettings (UCesiumIonServer* pServer) {
454
+ Token tokenFromServer (UCesiumIonServer* pServer) {
455
455
Token result;
456
456
457
457
if (pServer) {
@@ -472,7 +472,7 @@ Future<Token> getTokenFuture(const CesiumIonSession& session) {
472
472
if (tokenResponse.value ) {
473
473
return *tokenResponse.value ;
474
474
} else {
475
- return tokenFromSettings (pServer.Get ());
475
+ return tokenFromServer (pServer.Get ());
476
476
}
477
477
});
478
478
} else if (!pServer->DefaultIonAccessToken .IsEmpty ()) {
@@ -481,12 +481,12 @@ Future<Token> getTokenFuture(const CesiumIonSession& session) {
481
481
if (response.value ) {
482
482
return *response.value ;
483
483
} else {
484
- return tokenFromSettings (pServer.Get ());
484
+ return tokenFromServer (pServer.Get ());
485
485
}
486
486
});
487
487
} else {
488
488
return session.getAsyncSystem ().createResolvedFuture (
489
- tokenFromSettings (pServer.Get ()));
489
+ tokenFromServer (pServer.Get ()));
490
490
}
491
491
}
492
492
@@ -508,7 +508,7 @@ SharedFuture<Token> CesiumIonSession::getProjectDefaultTokenDetails() {
508
508
509
509
if (!this ->isConnected ()) {
510
510
return this ->getAsyncSystem ()
511
- .createResolvedFuture (tokenFromSettings (this ->_pServer .Get ()))
511
+ .createResolvedFuture (tokenFromServer (this ->_pServer .Get ()))
512
512
.share ();
513
513
}
514
514
Original file line number Diff line number Diff line change @@ -579,9 +579,3 @@ FText SelectCesiumIonToken::GetSpecifiedToken() const {
579
579
void SelectCesiumIonToken::SetSpecifiedToken (const FText& text) {
580
580
this ->_specifyToken .token = text.ToString ();
581
581
}
582
-
583
- void SelectCesiumIonToken::OnBrowseForServer () {
584
- TArray<UObject*> Objects;
585
- Objects.Add (this ->_pServer .Get ());
586
- GEditor->SyncBrowserToObjects (Objects);
587
- }
Original file line number Diff line number Diff line change @@ -95,7 +95,6 @@ class SelectCesiumIonToken : public SWindow {
95
95
ESelectInfo::Type type);
96
96
FText GetSpecifiedToken () const ;
97
97
void SetSpecifiedToken (const FText& text);
98
- void OnBrowseForServer ();
99
98
100
99
static TSharedPtr<SelectCesiumIonToken> _pExistingPanel;
101
100
You can’t perform that action at this time.
0 commit comments