|
Blender V4.3
|
#include <cstdlib>#include <cstring>#include <limits>#include <numeric>#include "DNA_anim_types.h"#include "DNA_armature_types.h"#include "DNA_collection_types.h"#include "DNA_gpencil_legacy_types.h"#include "DNA_grease_pencil_types.h"#include "DNA_lattice_types.h"#include "DNA_light_types.h"#include "DNA_mesh_types.h"#include "DNA_meta_types.h"#include "DNA_object_types.h"#include "DNA_pointcloud_types.h"#include "DNA_scene_types.h"#include "BLI_array.hh"#include "BLI_listbase.h"#include "BLI_math_geom.h"#include "BLI_math_matrix.h"#include "BLI_math_matrix.hh"#include "BLI_math_rotation.h"#include "BLI_task.hh"#include "BLI_utildefines.h"#include "BLI_vector.hh"#include "BKE_armature.hh"#include "BKE_context.hh"#include "BKE_curve.hh"#include "BKE_curves.hh"#include "BKE_editmesh.hh"#include "BKE_gpencil_geom_legacy.h"#include "BKE_gpencil_legacy.h"#include "BKE_grease_pencil.hh"#include "BKE_idtype.hh"#include "BKE_lattice.hh"#include "BKE_layer.hh"#include "BKE_lib_id.hh"#include "BKE_main.hh"#include "BKE_mball.hh"#include "BKE_mesh.hh"#include "BKE_multires.hh"#include "BKE_object.hh"#include "BKE_object_types.hh"#include "BKE_report.hh"#include "BKE_scene.hh"#include "BKE_tracking.h"#include "BLT_translation.hh"#include "DEG_depsgraph.hh"#include "DEG_depsgraph_query.hh"#include "RNA_access.hh"#include "RNA_define.hh"#include "UI_interface.hh"#include "WM_api.hh"#include "WM_types.hh"#include "ANIM_action.hh"#include "ANIM_keyframing.hh"#include "ED_anim_api.hh"#include "ED_armature.hh"#include "ED_keyframing.hh"#include "ED_mesh.hh"#include "ED_object.hh"#include "ED_screen.hh"#include "ED_view3d.hh"#include "MEM_guardedalloc.h"#include "object_intern.hh"Go to the source code of this file.
Classes | |
| struct | blender::ed::object::XFormAxisItem |
| struct | blender::ed::object::XFormAxisData |
Namespaces | |
| namespace | blender |
| namespace | blender::ed |
| namespace | blender::ed::object |
Set Object Center Operator | |
| enum | { blender::ed::object::GEOMETRY_TO_ORIGIN = 0 , blender::ed::object::ORIGIN_TO_GEOMETRY , blender::ed::object::ORIGIN_TO_CURSOR , blender::ed::object::ORIGIN_TO_CENTER_OF_MASS_SURFACE , blender::ed::object::ORIGIN_TO_CENTER_OF_MASS_VOLUME } |
| static float3 | blender::ed::object::arithmetic_mean (const Span< float3 > values) |
| static void | blender::ed::object::translate_positions (MutableSpan< float3 > positions, const float3 &translation) |
| static int | blender::ed::object::object_origin_set_exec (bContext *C, wmOperator *op) |
| void | blender::ed::object::OBJECT_OT_origin_set (wmOperatorType *ot) |
| #define USE_FAKE_DEPTH_INIT |
Calculate a depth if the cursor isn't already over a depth (not essential but feels buggy without).
Definition at line 2033 of file object_transform.cc.
| #define USE_RELATIVE_ROTATION |
When using multiple objects, apply their relative rotational offset to the active object.
Definition at line 2026 of file object_transform.cc.
| #define USE_RENDER_OVERRIDE |
Disable overlays, ignoring user setting (light wire gets in the way).
Definition at line 2028 of file object_transform.cc.