Blender  V3.3
Public Attributes | List of all members
WeightPaintGroupData Struct Reference

Public Attributes

int index
 
const boollock
 

Detailed Description

Variables stored both for 'active' and 'mirror' sides.

Definition at line 754 of file paint_vertex.cc.

Member Data Documentation

◆ index

int WeightPaintGroupData::index

index of active group or its mirror

  • 'active' is always ob->actdef.
  • 'mirror' is -1 when 'ME_EDIT_MIRROR_X' flag id disabled, otherwise this will be set to the mirror or the active group (if the group isn't mirrored).

Definition at line 761 of file paint_vertex.cc.

Referenced by do_weight_paint_vertex_single(), wpaint_get_active_weight(), wpaint_stroke_test_start(), and wpaint_stroke_update_step().

◆ lock

const bool* WeightPaintGroupData::lock

lock that includes the 'index' as locked too

  • 'active' is set of locked or active/selected groups
  • 'mirror' is set of locked or mirror groups

Definition at line 767 of file paint_vertex.cc.

Referenced by do_weight_paint_vertex_multi(), do_weight_paint_vertex_single(), wpaint_stroke_done(), and wpaint_stroke_test_start().


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