mirror of
https://github.com/Ed94/Cog.git
synced 2026-06-13 00:01:37 -07:00
Changed TObjectPtr<FCogImguiContext> to FCogImguiContext* as TObjectPtr should be used with UObject dervied classes only
This commit is contained in:
@@ -41,7 +41,7 @@ protected:
|
||||
|
||||
void AddMousePosEvent(const FVector2D& MousePosition) const;
|
||||
|
||||
TObjectPtr<FCogImguiContext> Context = nullptr;
|
||||
FCogImguiContext* Context = nullptr;
|
||||
|
||||
TObjectPtr<UPlayerInput> PlayerInput;
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@ struct ImPlotContext;
|
||||
struct COGIMGUI_API FImGuiViewportData
|
||||
{
|
||||
TWeakPtr<SWindow> Window = nullptr;
|
||||
TObjectPtr<FCogImguiContext> Context = nullptr;
|
||||
FCogImguiContext* Context = nullptr;
|
||||
TWeakPtr<SCogImguiWidget> Widget = nullptr;
|
||||
};
|
||||
|
||||
|
||||
@@ -57,7 +57,7 @@ protected:
|
||||
|
||||
void RefreshVisibility();
|
||||
|
||||
TObjectPtr<FCogImguiContext> Context = nullptr;
|
||||
FCogImguiContext* Context = nullptr;
|
||||
|
||||
TSharedPtr<SWindow> Window = nullptr;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user