mirror of
https://github.com/Ed94/Cog.git
synced 2026-08-03 05:08:13 +00: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;
|
void AddMousePosEvent(const FVector2D& MousePosition) const;
|
||||||
|
|
||||||
TObjectPtr<FCogImguiContext> Context = nullptr;
|
FCogImguiContext* Context = nullptr;
|
||||||
|
|
||||||
TObjectPtr<UPlayerInput> PlayerInput;
|
TObjectPtr<UPlayerInput> PlayerInput;
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ struct ImPlotContext;
|
|||||||
struct COGIMGUI_API FImGuiViewportData
|
struct COGIMGUI_API FImGuiViewportData
|
||||||
{
|
{
|
||||||
TWeakPtr<SWindow> Window = nullptr;
|
TWeakPtr<SWindow> Window = nullptr;
|
||||||
TObjectPtr<FCogImguiContext> Context = nullptr;
|
FCogImguiContext* Context = nullptr;
|
||||||
TWeakPtr<SCogImguiWidget> Widget = nullptr;
|
TWeakPtr<SCogImguiWidget> Widget = nullptr;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -57,7 +57,7 @@ protected:
|
|||||||
|
|
||||||
void RefreshVisibility();
|
void RefreshVisibility();
|
||||||
|
|
||||||
TObjectPtr<FCogImguiContext> Context = nullptr;
|
FCogImguiContext* Context = nullptr;
|
||||||
|
|
||||||
TSharedPtr<SWindow> Window = nullptr;
|
TSharedPtr<SWindow> Window = nullptr;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user