Fix #30875: active uv texture layer not synced properly when switching from
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Tue, 10 Apr 2012 14:58:21 +0000 (14:58 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Tue, 10 Apr 2012 14:58:21 +0000 (14:58 +0000)
edit to object mode.

source/blender/blenkernel/intern/customdata.c

index 9a879c80b15832fe32c803f4b3cbd6ae5b7d752e..f0bda57466d9a55786faeff1075173cd6bedfae9 100644 (file)
@@ -2092,6 +2092,8 @@ void CustomData_from_bmeshpoly(CustomData *fdata, CustomData *pdata, CustomData
                        CustomData_add_layer_named(fdata, CD_ORIGSPACE, CD_CALLOC, NULL, total, ldata->layers[i].name);
                }
        }
+
+       CustomData_bmesh_update_active_layers(fdata, pdata, ldata);
 }
 
 void CustomData_bmesh_update_active_layers(CustomData *fdata, CustomData *pdata, CustomData *ldata)