mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-17 10:00:44 +08:00
fix: allow CMake build MaaCore with ASST_DEBUG under macOS
This commit is contained in:
committed by
Horror Proton
parent
f10eb36229
commit
7d8cb51689
@@ -12,11 +12,12 @@
|
||||
using namespace asst;
|
||||
|
||||
VisionHelper::VisionHelper(const cv::Mat& image, const Rect& roi, Assistant* inst)
|
||||
: InstHelper(inst), m_image(image), m_roi(correct_rect(roi, image))
|
||||
: InstHelper(inst), m_image(image)
|
||||
#ifdef ASST_DEBUG
|
||||
,
|
||||
m_image_draw(image.clone())
|
||||
#endif
|
||||
, m_roi(correct_rect(roi, image))
|
||||
{}
|
||||
|
||||
void VisionHelper::set_image(const cv::Mat& image)
|
||||
|
||||
Reference in New Issue
Block a user