Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2012-04-10 18:58:21 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2012-04-10 18:58:21 +0400
commit0906ac9914b2ca470d37085b54c52720704bd913 (patch)
tree9888751a5025365a70862ea962bb12b9f8a340b1 /source/blender/blenkernel/intern/customdata.c
parent5eca59cf0d05fd8063eb83ad80b2caf9c5eacedc (diff)
Fix #30875: active uv texture layer not synced properly when switching from
edit to object mode.
Diffstat (limited to 'source/blender/blenkernel/intern/customdata.c')
-rw-r--r--source/blender/blenkernel/intern/customdata.c2
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)