Blender V5.3
blender::TransformProperties Struct Reference

Public Attributes

float ob_obmat_orig [4][4]
float ob_dims_orig [3]
float ob_scale_orig [3]
float ob_dims [3]
Vector< float > vertex_weights
CurvesDataPanelState modified
CurvesDataPanelState current
TransformMedian ve_median
TransformMedian median
float3 ve_dims
float3 ve_dims_prev
std::optional< TransformCoordsOrig > coords_orig
bool tag_for_update

Detailed Description

Definition at line 177 of file view3d_buttons.cc.

Member Data Documentation

◆ coords_orig

std::optional<TransformCoordsOrig> blender::TransformProperties::coords_orig

Definition at line 201 of file view3d_buttons.cc.

Referenced by blender::coords_orig_free(), and blender::v3d_editvertex_buts().

◆ current

CurvesDataPanelState blender::TransformProperties::current

Definition at line 184 of file view3d_buttons.cc.

Referenced by blender::view3d_panel_curve_data().

◆ median

TransformMedian blender::TransformProperties::median

Definition at line 187 of file view3d_buttons.cc.

◆ modified

CurvesDataPanelState blender::TransformProperties::modified

◆ ob_dims

float blender::TransformProperties::ob_dims[3]

Definition at line 181 of file view3d_buttons.cc.

Referenced by blender::v3d_object_dimension_buts().

◆ ob_dims_orig

float blender::TransformProperties::ob_dims_orig[3]

Definition at line 179 of file view3d_buttons.cc.

Referenced by blender::v3d_object_dimension_buts().

◆ ob_obmat_orig

float blender::TransformProperties::ob_obmat_orig[4][4]

Definition at line 178 of file view3d_buttons.cc.

Referenced by blender::v3d_object_dimension_buts().

◆ ob_scale_orig

float blender::TransformProperties::ob_scale_orig[3]

Definition at line 180 of file view3d_buttons.cc.

Referenced by blender::v3d_object_dimension_buts().

◆ tag_for_update

bool blender::TransformProperties::tag_for_update

◆ ve_dims

float3 blender::TransformProperties::ve_dims

Definition at line 190 of file view3d_buttons.cc.

Referenced by blender::v3d_editvertex_buts().

◆ ve_dims_prev

float3 blender::TransformProperties::ve_dims_prev

The size the panel last drew, editing a dimension button is the only way ve_dims differs.

Comparing the button against a freshly measured size would seem simpler, however the measurement isn't stable: the panel may not redraw between two updates of a median drag and translating coordinates shifts the size by rounding, which would read as a dimension edit and scale the selection about the pivot instead of moving it.

Definition at line 199 of file view3d_buttons.cc.

Referenced by blender::v3d_editvertex_buts().

◆ ve_median

TransformMedian blender::TransformProperties::ve_median

Definition at line 187 of file view3d_buttons.cc.

Referenced by blender::v3d_editvertex_buts().

◆ vertex_weights

Vector<float> blender::TransformProperties::vertex_weights

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