Blender  V3.3
Public Attributes | List of all members
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 54 of file uvedit_rip.c.

Member Data Documentation

◆ in_rip_pairs

uint ULData::in_rip_pairs

Set once this has been added into a UVRipPairs.

Definition at line 75 of file uvedit_rip.c.

Referenced by uv_rip_pairs_add(), uv_rip_pairs_from_loop(), and uv_rip_pairs_remove().

◆ in_stack

uint ULData::in_stack

Use when building the rip-pairs stack.

Definition at line 73 of file uvedit_rip.c.

Referenced by uv_rip_pairs_from_loop().

◆ is_select_all

uint ULData::is_select_all

This could be a face-tag.

Definition at line 71 of file uvedit_rip.c.

Referenced by uv_rip_object().

◆ is_select_edge

uint ULData::is_select_edge

When the specified UV edge is selected.

Definition at line 56 of file uvedit_rip.c.

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

◆ is_select_vert_single

uint ULData::is_select_vert_single

When only this UV is selected and none of the other UV's 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 69 of file uvedit_rip.c.

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

◆ side

uint ULData::side

◆ side_was_swapped

uint 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 83 of file uvedit_rip.c.


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