Cleanup: Remove warning re: const qualifier discarded

Warning introduced on a5db981b0e.
This commit is contained in:
Dalai Felinto 2020-09-09 19:18:55 +02:00
parent 63916f5941
commit c6e4d922ba
2 changed files with 2 additions and 2 deletions

View File

@ -99,7 +99,7 @@ void BKE_main_collection_sync(const struct Main *bmain);
void BKE_scene_collection_sync(const struct Scene *scene);
void BKE_layer_collection_sync(const struct Scene *scene, struct ViewLayer *view_layer);
void BKE_layer_collection_local_sync(struct ViewLayer *view_layer, const struct View3D *v3d);
void BKE_layer_collection_local_sync_all(struct Main *bmain);
void BKE_layer_collection_local_sync_all(const struct Main *bmain);
void BKE_main_collection_sync_remap(const struct Main *bmain);

View File

@ -1250,7 +1250,7 @@ void BKE_layer_collection_local_sync(ViewLayer *view_layer, const View3D *v3d)
/**
* Sync the local collection for all the viewports.
*/
void BKE_layer_collection_local_sync_all(Main *bmain)
void BKE_layer_collection_local_sync_all(const Main *bmain)
{
LISTBASE_FOREACH (Scene *, scene, &bmain->scenes) {
LISTBASE_FOREACH (ViewLayer *, view_layer, &scene->view_layers) {