mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-09-12 11:37:42 +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);
|
bmp = m_bitmap_cache->insert(scaled_bitmap_name, bmps);
|
||||||
}
|
}
|
||||||
|
if (!bmp)
|
||||||
|
return;
|
||||||
node->SetBitmap(*bmp);
|
node->SetBitmap(*bmp);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user