Blender V5.3
blender::ULData Struct Reference

Public Attributes

uint is_select_edge: 1
uint is_select_vert_single: 1
uint is_select_all: 1
uint in_stack: 1
uint in_rip_pairs: 1
uint side: 1
uint side_was_swapped: 1

Detailed Description

Unordered loop data, stored in #BMLoop.head.index.

Definition at line 56 of file uvedit_rip.cc.

Member Data Documentation

◆ in_rip_pairs

uint blender::ULData::in_rip_pairs

Set once this has been added into a UVRipPairs.

Definition at line 77 of file uvedit_rip.cc.

Referenced by blender::uv_rip_pairs_add(), and blender::uv_rip_pairs_remove().

◆ in_stack

uint blender::ULData::in_stack

Use when building the rip-pairs stack.

Definition at line 75 of file uvedit_rip.cc.

Referenced by blender::uv_rip_pairs_from_loop().

◆ is_select_all

uint blender::ULData::is_select_all

This could be a face-tag.

Definition at line 73 of file uvedit_rip.cc.

Referenced by blender::uv_rip_object().

◆ is_select_edge

uint blender::ULData::is_select_edge

When the specified UV edge is selected.

Definition at line 58 of file uvedit_rip.cc.

Referenced by blender::bm_loop_uv_select_single_vert_validate(), blender::uv_rip_object(), and blender::uv_rip_pairs_calc_center_and_direction().

◆ is_select_vert_single

uint blender::ULData::is_select_vert_single

When only this UV is selected and none of the other UVs around the connected fan are attached to an edge.

In this case there is no need to detect contiguous loops, each isolated case is handled on its own, no need to walk over selected edges.

Note
This flag isn't flushed to other loops which could also have this enabled. Currently it's not necessary since we can start off on any one of these loops, then walk onto the other loops around the uv-fan, without having the flag to be set on all loops.

Definition at line 71 of file uvedit_rip.cc.

Referenced by blender::bm_loop_uv_select_single_vert_validate(), blender::uv_rip_object(), and blender::uv_rip_single_from_loop().

◆ side

◆ side_was_swapped

uint blender::ULData::side_was_swapped

Paranoid check to ensure we don't enter eternal loop swapping sides, this could happen with float precision error, making a swap to measure as slightly better depending on the order of addition.

Definition at line 85 of file uvedit_rip.cc.


The documentation for this struct was generated from the following file: