|
Blender
V2.93
|
#include "MEM_guardedalloc.h"#include "BLI_math.h"#include "BKE_animsys.h"#include "BKE_context.h"#include "BKE_object.h"#include "BKE_report.h"#include "DNA_mesh_types.h"#include "transform.h"#include "transform_snap.h"#include "transform_convert.h"Go to the source code of this file.
Functions | |
Texture Space Transform Creation | |
Instead of transforming the selection, move the 2D/3D cursor. | |
| void | createTransTexspace (TransInfo *t) |
Recalc Data object | |
| void | recalcData_texspace (TransInfo *t) |
| void createTransTexspace | ( | TransInfo * | t | ) |
Definition at line 48 of file transform_convert_object_texspace.c.
References TransData::axismtx, BKE_object_obdata_is_libdata(), BKE_object_obdata_texspace_get(), BKE_report(), BLI_assert, copy_m3_m4(), copy_v3_v3(), TransDataContainer::data, Object::data, TransDataContainer::data_ext, TransDataContainer::data_len, Object::dtx, ELEM, TransData::ext, GS, id, ID_CU, ID_MB, ID_ME, TransDataExtension::isize, ME_AUTOSPACE, MEM_callocN, TransData::mtx, ID::name, normalize_m3(), NULL, TransData::ob, OB_TEXSPACE, OBACT, Object::obmat, PSEUDOINVERSE_EPSILON, pseudoinverse_m3_m3(), RPT_ERROR, TransDataExtension::size, TransData::smtx, t, and TD_SELECTED.
Referenced by createTransData().
| void recalcData_texspace | ( | TransInfo * | t | ) |
Definition at line 106 of file transform_convert_object_texspace.c.
References applyProject(), DEG_id_tag_update(), FOREACH_TRANS_DATA_CONTAINER, Object::id, ID_RECALC_GEOMETRY, TransData::ob, t, TD_SKIP, and TRANS_CANCEL.
Referenced by recalcData().