FIX:fix bug of m_is_add_filament

jira: STUDIO-9625
Change-Id: I5810ba9234d52391777a05f37c765d5bddd152ee
(cherry picked from commit 02bfa2b0792bc1eb4527f13e4210dccc9430a816)
This commit is contained in:
zhou.xu
2025-01-08 19:40:53 +08:00
committed by Noisyfox
parent 8f71f55202
commit 94ac262624

View File

@@ -471,6 +471,7 @@ bool ObjColorPanel::is_ok() {
void ObjColorPanel::send_new_filament_to_ui()
{
update_new_add_final_colors();
if (m_is_add_filament) {
for (auto c : m_new_add_final_colors) {
/*auto evt = new ColorEvent(EVT_ADD_CUSTOM_FILAMENT, c);