[Horus] The Modelbmp widget was always refreshed since my last commit

This commit is contained in:
Bertrand Songis
2016-03-20 19:56:06 +01:00
parent 5e6288b7d1
commit 76e39222db
+1
View File
@@ -70,6 +70,7 @@ class ModelBitmapWidget: public Widget
memcmp(modelName, g_model.header.name, sizeof(g_model.header.name)) != 0) {
refreshBuffer();
memcpy(bitmapFilename, g_model.header.bitmap, sizeof(g_model.header.bitmap));
memcpy(modelName, g_model.header.name, sizeof(g_model.header.name));
}
if (buffer) {