Quiet annoying warning:
[blender.git] / source / blender / makesrna / intern / rna_mesh_utils.h
index 9f2a3c083b62fb5329702a3e0b2f886a7bd13ea3..02afaa5b51d1fbbafcc4fb5726520bb4166d8ef2 100644 (file)
@@ -83,7 +83,7 @@
                for(cdl=data->layers, a=0; a<data->totlayer; cdl++, a++) {                      \
                        if(value.data == cdl) {                                                                                                         \
                                CustomData_set_layer_##active_type##_index(data, layer_type, a); \
-                               mesh_update_customdata_pointers(me);                                                            \
+                               mesh_update_customdata_pointers(me, TRUE);                                                              \
                                return;                                                                                                                                         \
                        }                                                                                                                                                                       \
                }                                                                                                                                                                               \
                CustomData *data = rna_mesh_##customdata_type(ptr);                                     \
                                                                                                                                                                                                \
                CustomData_set_layer_##active_type(data, layer_type, value);            \
-               mesh_update_customdata_pointers(me);                                                                            \
+               mesh_update_customdata_pointers(me, TRUE);                                                                              \
        }