Blender V5.3
blender::WeightPaintGroupData Struct Reference

Public Attributes

int index
const bool * lock

Detailed Description

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

Definition at line 86 of file paint_weight.cc.

Member Data Documentation

◆ index

int blender::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 94 of file paint_weight.cc.

Referenced by blender::do_weight_paint_vertex_single(), blender::WeightPaintStroke::update_step(), and blender::wpaint_get_active_weight().

◆ lock

const bool* blender::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 101 of file paint_weight.cc.

Referenced by blender::do_weight_paint_vertex_multi(), blender::do_weight_paint_vertex_single(), and blender::WPaintData::~WPaintData().


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