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:
authorCampbell Barton <ideasman42@gmail.com>2012-04-02 08:45:44 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-04-02 08:45:44 +0400
commit4253e52771c40b347ddc0d02586f2c405afa30d4 (patch)
tree6622130cff8600b4817af1983ab3f19bec536acb /source/blender/modifiers/intern
parent56c127e721681f6978870218b28d8edf5287fbf7 (diff)
fix [#30768] Project from View UV map tool includes hidden geometry r45323
select all could select hidden faces, now BM_mesh_elem_flag_enable/disable_all takes an argument to skip hidden elements.
Diffstat (limited to 'source/blender/modifiers/intern')
-rw-r--r--source/blender/modifiers/intern/MOD_array.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/source/blender/modifiers/intern/MOD_array.c b/source/blender/modifiers/intern/MOD_array.c
index d552e73bc32..ba74eba04a5 100644
--- a/source/blender/modifiers/intern/MOD_array.c
+++ b/source/blender/modifiers/intern/MOD_array.c
@@ -474,20 +474,20 @@ static DerivedMesh *arrayModifier_doArray(ArrayModifierData *amd,
}
if ((amd->flags & MOD_ARR_MERGE) &&
- (amd->flags & MOD_ARR_MERGEFINAL) &&
- (count > 1)) {
+ (amd->flags & MOD_ARR_MERGEFINAL) &&
+ (count > 1))
+ {
/* Merge first and last copies. Note that we can't use the
- indexMap for this because (unless the array is forming a
- loop) the offset between first and last is different from
- dupe X to dupe X+1. */
+ * indexMap for this because (unless the array is forming a
+ * loop) the offset between first and last is different from
+ * dupe X to dupe X+1. */
merge_first_last(em->bm, amd, &first_dupe_op, &dupe_op, &weld_op);
}
/* start capping */
- if (start_cap || end_cap)
- {
- BM_mesh_elem_flag_enable_all(em->bm, BM_VERT, BM_ELEM_TAG);
+ if (start_cap || end_cap) {
+ BM_mesh_elem_flag_enable_all(em->bm, BM_VERT, BM_ELEM_TAG, FALSE);
if (start_cap) {
float startoffset[4][4];