diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2012-04-10 18:58:21 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2012-04-10 18:58:21 +0400 |
commit | 0906ac9914b2ca470d37085b54c52720704bd913 (patch) | |
tree | 9888751a5025365a70862ea962bb12b9f8a340b1 /source | |
parent | 5eca59cf0d05fd8063eb83ad80b2caf9c5eacedc (diff) |
Fix #30875: active uv texture layer not synced properly when switching from
edit to object mode.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/blenkernel/intern/customdata.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/customdata.c b/source/blender/blenkernel/intern/customdata.c index 9a879c80b15..f0bda57466d 100644 --- a/source/blender/blenkernel/intern/customdata.c +++ b/source/blender/blenkernel/intern/customdata.c @@ -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) |