Blender V5.0
WeightPaintGroupData Struct Reference

Public Attributes

int index
const bool * lock

Detailed Description

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

Definition at line 80 of file paint_weight.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 88 of file paint_weight.cc.

Referenced by do_weight_paint_vertex_single(), wpaint_get_active_weight(), 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 95 of file paint_weight.cc.

Referenced by do_weight_paint_vertex_multi(), and do_weight_paint_vertex_single().


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