From 80cccd60c482a76c61ec2572866cfb4bc9856a7f Mon Sep 17 00:00:00 2001 From: korenkonder Date: Thu, 11 Sep 2025 19:12:25 +0300 Subject: [PATCH] Motion Test: Fixed crash on closing Face Mot window --- src/ReDIVA/data_test/motion_test.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ReDIVA/data_test/motion_test.cpp b/src/ReDIVA/data_test/motion_test.cpp index ae039818..c0a0a30e 100644 --- a/src/ReDIVA/data_test/motion_test.cpp +++ b/src/ReDIVA/data_test/motion_test.cpp @@ -58,7 +58,7 @@ public: Data GetData(); bool GetEnable(); dw::ListBox* InitAddMottblMapMotions(dw::Composite* parent, int32_t type); - void Reset(); + void ResetMot(); }; class DataTestMotDw : public dw::Shell { @@ -1867,7 +1867,7 @@ dw::ListBox* DataTestFaceMotDw::InitAddMottblMapMotions(dw::Composite* parent, i return list_box; } -void DataTestFaceMotDw::Reset() { +void DataTestFaceMotDw::ResetMot() { motion_id_mottbl_map.clear(); AddMottblMapMotions(face, 0); AddMottblMapMotions(eyes, 1);