From a0c9fbc12fa5a7aaa200a8175f757cf5eb3a2257 Mon Sep 17 00:00:00 2001 From: iwubcode Date: Sun, 3 Aug 2025 16:50:35 -0500 Subject: [PATCH] custom pipeline action --- .../Runtime/Actions/CustomPipelineAction.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Source/Core/VideoCommon/GraphicsModSystem/Runtime/Actions/CustomPipelineAction.cpp b/Source/Core/VideoCommon/GraphicsModSystem/Runtime/Actions/CustomPipelineAction.cpp index 3873c32d32..73703f089a 100644 --- a/Source/Core/VideoCommon/GraphicsModSystem/Runtime/Actions/CustomPipelineAction.cpp +++ b/Source/Core/VideoCommon/GraphicsModSystem/Runtime/Actions/CustomPipelineAction.cpp @@ -15,11 +15,10 @@ #include "Core/System.h" #include "VideoCommon/AbstractGfx.h" -#include "VideoCommon/Assets/DirectFilesystemAssetLibrary.h" #include "VideoCommon/GraphicsModEditor/Controls/AssetDisplay.h" #include "VideoCommon/GraphicsModEditor/EditorEvents.h" #include "VideoCommon/GraphicsModEditor/EditorMain.h" -#include "VideoCommon/GraphicsModSystem/Runtime/CustomResourceManager.h" +#include "VideoCommon/Resources/CustomResourceManager.h" std::unique_ptr CustomPipelineAction::Create(std::shared_ptr library) @@ -55,7 +54,7 @@ CustomPipelineAction::CustomPipelineAction(std::shared_ptrmaterial = resource_manager.GetMaterialFromAsset(m_material_asset, m_library, - draw_started->draw_data_view); + *draw_started->material = resource_manager.GetMaterialFromAsset( + m_material_asset, *draw_started->draw_data_view.uid, m_library); } void CustomPipelineAction::DrawImGui()