mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-06-14 16:02:55 +00:00
fix scale img is null and crash bug.
This commit is contained in:
@@ -574,7 +574,8 @@ void ObjectDataViewModel::UpdateBitmapForNode(ObjectDataViewModelNode *node)
|
||||
}
|
||||
bmp = m_bitmap_cache->insert(scaled_bitmap_name, bmps);
|
||||
}
|
||||
|
||||
if (!bmp)
|
||||
return;
|
||||
node->SetBitmap(*bmp);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user