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:
Diffstat (limited to 'source/blender/editors/uvedit/uvedit_smart_stitch.c')
-rw-r--r--source/blender/editors/uvedit/uvedit_smart_stitch.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/source/blender/editors/uvedit/uvedit_smart_stitch.c b/source/blender/editors/uvedit/uvedit_smart_stitch.c
index 8ebf000baaa..0918717e051 100644
--- a/source/blender/editors/uvedit/uvedit_smart_stitch.c
+++ b/source/blender/editors/uvedit/uvedit_smart_stitch.c
@@ -1069,8 +1069,7 @@ static int stitch_process_data(StitchStateContainer *ssc,
}
}
- /* remember stitchable candidates as places the 'I' button */
- /* will stop at. */
+ /* Remember stitchable candidates as places the 'I' button will stop at. */
for (int island_idx = 0; island_idx < state->element_map->totalIslands; island_idx++) {
state->island_is_stitchable[island_idx] = island_stitch_data[island_idx].stitchableCandidate ?
true :
@@ -2007,8 +2006,8 @@ static StitchState *stitch_init(bContext *C,
all_edges[counter].first = NULL;
all_edges[counter].flag = 0;
all_edges[counter].element = element;
- /* using an order policy, sort uvs according to address space. This avoids
- * Having two different UvEdges with the same uvs on different positions */
+ /* Using an order policy, sort UV's according to address space.
+ * This avoids having two different UvEdges with the same UV's on different positions. */
if (offset1 < offset2) {
all_edges[counter].uv1 = offset1;
all_edges[counter].uv2 = offset2;
@@ -2381,9 +2380,9 @@ static int stitch_init_all(bContext *C, wmOperator *op)
StitchState *state = ssc->states[ssc->active_object_index];
ssc->static_island %= state->element_map->totalIslands;
- /* If the initial active object doesn't have any stitchable islands */
- /* then no active island will be seen in the UI. Make sure we're on */
- /* a stitchable object and island. */
+ /* If the initial active object doesn't have any stitchable islands
+ * then no active island will be seen in the UI.
+ * Make sure we're on a stitchable object and island. */
if (!state->island_is_stitchable[ssc->static_island]) {
goto_next_island(ssc);
state = ssc->states[ssc->active_object_index];