[Taranis] List of bitmaps updated when one is changed
This commit is contained in:
@@ -882,6 +882,7 @@ void onModelSetupMenu(const char *result)
|
|||||||
// The user choosed a bmp file in the list
|
// The user choosed a bmp file in the list
|
||||||
memcpy(g_model.header.bitmap, result, sizeof(g_model.header.bitmap));
|
memcpy(g_model.header.bitmap, result, sizeof(g_model.header.bitmap));
|
||||||
LOAD_MODEL_BITMAP();
|
LOAD_MODEL_BITMAP();
|
||||||
|
memcpy(modelHeaders[g_eeGeneral.currModel].bitmap, g_model.header.bitmap, sizeof(g_model.header.bitmap));
|
||||||
eeDirty(EE_MODEL);
|
eeDirty(EE_MODEL);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user