Blender V2.61 - r43446
Enumerations | Functions

object_transform.c File Reference

#include <stdlib.h>
#include <string.h>
#include "DNA_anim_types.h"
#include "DNA_armature_types.h"
#include "DNA_key_types.h"
#include "DNA_meshdata_types.h"
#include "DNA_object_types.h"
#include "DNA_scene_types.h"
#include "DNA_group_types.h"
#include "BLI_math.h"
#include "BLI_editVert.h"
#include "BLI_listbase.h"
#include "BLI_utildefines.h"
#include "BKE_context.h"
#include "BKE_curve.h"
#include "BKE_depsgraph.h"
#include "BKE_main.h"
#include "BKE_mesh.h"
#include "BKE_object.h"
#include "BKE_report.h"
#include "BKE_multires.h"
#include "BKE_armature.h"
#include "RNA_define.h"
#include "RNA_access.h"
#include "WM_api.h"
#include "WM_types.h"
#include "ED_armature.h"
#include "ED_keyframing.h"
#include "ED_mesh.h"
#include "ED_screen.h"
#include "ED_view3d.h"
#include "object_intern.h"

Go to the source code of this file.

Enumerations

enum  { GEOMETRY_TO_ORIGIN = 0, ORIGIN_TO_GEOMETRY, ORIGIN_TO_CURSOR }

Functions

static void object_clear_loc (Object *ob)
static void object_clear_rot (Object *ob)
static void object_clear_scale (Object *ob)
static int object_clear_transform_generic_exec (bContext *C, wmOperator *op, void(*clear_func)(Object *), const char default_ksName[])
static int object_location_clear_exec (bContext *C, wmOperator *op)
void OBJECT_OT_location_clear (wmOperatorType *ot)
static int object_rotation_clear_exec (bContext *C, wmOperator *op)
void OBJECT_OT_rotation_clear (wmOperatorType *ot)
static int object_scale_clear_exec (bContext *C, wmOperator *op)
void OBJECT_OT_scale_clear (wmOperatorType *ot)
static int object_origin_clear_exec (bContext *C, wmOperator *UNUSED(op))
void OBJECT_OT_origin_clear (wmOperatorType *ot)
static void ignore_parent_tx (Main *bmain, Scene *scene, Object *ob)
static int apply_objects_internal (bContext *C, ReportList *reports, int apply_loc, int apply_rot, int apply_scale)
static int visual_transform_apply_exec (bContext *C, wmOperator *UNUSED(op))
void OBJECT_OT_visual_transform_apply (wmOperatorType *ot)
static int object_transform_apply_exec (bContext *C, wmOperator *op)
void OBJECT_OT_transform_apply (wmOperatorType *ot)
static int object_origin_set_exec (bContext *C, wmOperator *op)
void OBJECT_OT_origin_set (wmOperatorType *ot)

Detailed Description

Definition in file object_transform.c.


Enumeration Type Documentation

anonymous enum
Enumerator:
GEOMETRY_TO_ORIGIN 
ORIGIN_TO_GEOMETRY 
ORIGIN_TO_CURSOR 

Definition at line 621 of file object_transform.c.


Function Documentation

static int apply_objects_internal ( bContext C,
ReportList reports,
int  apply_loc,
int  apply_rot,
int  apply_scale 
) [static]
static void ignore_parent_tx ( Main bmain,
Scene scene,
Object ob 
) [static]
static void object_clear_loc ( Object ob) [static]
static void object_clear_rot ( Object ob) [static]
static void object_clear_scale ( Object ob) [static]
static int object_clear_transform_generic_exec ( bContext C,
wmOperator op,
void(*)(Object *)  clear_func,
const char  default_ksName[] 
) [static]
static int object_location_clear_exec ( bContext C,
wmOperator op 
) [static]
static int object_origin_clear_exec ( bContext C,
wmOperator UNUSEDop 
) [static]
static int object_origin_set_exec ( bContext C,
wmOperator op 
) [static]
void OBJECT_OT_location_clear ( wmOperatorType ot)
void OBJECT_OT_origin_clear ( wmOperatorType ot)
void OBJECT_OT_origin_set ( wmOperatorType ot)
void OBJECT_OT_rotation_clear ( wmOperatorType ot)
void OBJECT_OT_scale_clear ( wmOperatorType ot)
void OBJECT_OT_transform_apply ( wmOperatorType ot)
void OBJECT_OT_visual_transform_apply ( wmOperatorType ot)
static int object_rotation_clear_exec ( bContext C,
wmOperator op 
) [static]
static int object_scale_clear_exec ( bContext C,
wmOperator op 
) [static]
static int object_transform_apply_exec ( bContext C,
wmOperator op 
) [static]
static int visual_transform_apply_exec ( bContext C,
wmOperator UNUSEDop 
) [static]