Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix compile for 4.17 #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions ObjectBrowser.uplugin
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
"CreatedByURL": "http://epicgames.com",
"DocsURL": "https://github.com/ue4plugins/ObjectBrowser",
"SupportURL": "https://twitter.com/NickDarnell",
"EngineVersion": "4.16.0",
"EnabledByDefault": true,

"Modules": [
Expand All @@ -19,4 +18,4 @@
"Type": "Editor"
}
]
}
}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ of objects in memory. Handy for debugging state and verifying things are correc

## Supported Platforms

This plug-in was last built against **Unreal Engine 4.16**. It works on all platforms.
This plug-in was last built against **Unreal Engine 4.17**. It works on all platforms.


## Dependencies
Expand Down
1 change: 0 additions & 1 deletion Source/Private/ObjectBrowser.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

#pragma once


/* Dependencies
*****************************************************************************/

Expand Down
2 changes: 1 addition & 1 deletion Source/Private/ObjectBrowserModule.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.

#include "ObjectBrowserPrivatePCH.h"
#include "ObjectBrowserModule.h"
#include "Widgets/SObjectBrowser.h"
#include "Widgets/DeclarativeSyntaxSupport.h"
Expand Down
2 changes: 1 addition & 1 deletion Source/Private/ObjectBrowserModule.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ class FObjectBrowserModule : public IObjectBrowserModule
private:
// Handles creating the project settings tab.
TSharedRef<SDockTab> HandleSpawnSettingsTab(const FSpawnTabArgs& SpawnTabArgs);
};
};
6 changes: 3 additions & 3 deletions Source/Private/Widgets/SObjectBrowser.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.

#include "ObjectBrowserPrivatePCH.h"
#include "SObjectBrowser.h"
#include "SObjectBrowserTableRow.h"
#include "PropertyEditorModule.h"
Expand Down Expand Up @@ -317,7 +317,7 @@ FText SObjectBrowser::GetFilterClassText() const
FReply SObjectBrowser::OnClassSelectionClicked()
{
const FText TitleText = LOCTEXT("PickClass", "Pick Class");

FClassViewerInitializationOptions Options;
Options.Mode = EClassViewerMode::ClassPicker;

Expand Down Expand Up @@ -356,7 +356,7 @@ void SObjectBrowser::HandleListSelectionChanged(TSharedPtr<FBrowserObject> InIte

TArray< TWeakObjectPtr<UObject> > Selection;
Selection.Add(InItem->Object);

PropertyView->SetObjects(Selection);
}

Expand Down
1 change: 0 additions & 1 deletion Source/Private/Widgets/SObjectBrowser.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.

#pragma once

#include "Widgets/SCompoundWidget.h"

struct FBrowserObject
Expand Down
2 changes: 1 addition & 1 deletion Source/Private/Widgets/SObjectBrowserTableRow.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.

#pragma once

#include "ObjectBrowserPrivatePCH.h"
#include "ClassIconFinder.h"
#include "Toolkits/AssetEditorManager.h"
#include "CoreMinimal.h"
Expand Down
2 changes: 1 addition & 1 deletion Source/Public/IObjectBrowserModule.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.

#pragma once

#include "ObjectBrowserPrivatePCH.h"

/**
* Interface for the ObjectBrowser module.
Expand Down