|
Blender
V2.93
|
#include "MEM_guardedalloc.h"#include "DNA_object_types.h"#include "DNA_scene_types.h"#include "BLI_math.h"#include "BLI_utildefines.h"#include "BLT_translation.h"#include "BKE_context.h"#include "BKE_editmesh.h"#include "BKE_global.h"#include "BKE_report.h"#include "BKE_scene.h"#include "RNA_access.h"#include "RNA_define.h"#include "RNA_enum_types.h"#include "WM_api.h"#include "WM_message.h"#include "WM_toolsystem.h"#include "WM_types.h"#include "UI_interface.h"#include "UI_resources.h"#include "ED_screen.h"#include "ED_mesh.h"#include "transform.h"#include "transform_convert.h"Go to the source code of this file.
Classes | |
| struct | TransformModeItem |
Typedefs | |
| typedef struct TransformModeItem | TransformModeItem |
Variables | |
| static const float | VecOne [3] = {1, 1, 1} |
| static const char | OP_TRANSLATION [] = "TRANSFORM_OT_translate" |
| static const char | OP_ROTATION [] = "TRANSFORM_OT_rotate" |
| static const char | OP_TOSPHERE [] = "TRANSFORM_OT_tosphere" |
| static const char | OP_RESIZE [] = "TRANSFORM_OT_resize" |
| static const char | OP_SKIN_RESIZE [] = "TRANSFORM_OT_skin_resize" |
| static const char | OP_SHEAR [] = "TRANSFORM_OT_shear" |
| static const char | OP_BEND [] = "TRANSFORM_OT_bend" |
| static const char | OP_SHRINK_FATTEN [] = "TRANSFORM_OT_shrink_fatten" |
| static const char | OP_PUSH_PULL [] = "TRANSFORM_OT_push_pull" |
| static const char | OP_TILT [] = "TRANSFORM_OT_tilt" |
| static const char | OP_TRACKBALL [] = "TRANSFORM_OT_trackball" |
| static const char | OP_MIRROR [] = "TRANSFORM_OT_mirror" |
| static const char | OP_BONE_SIZE [] = "TRANSFORM_OT_bbone_resize" |
| static const char | OP_EDGE_SLIDE [] = "TRANSFORM_OT_edge_slide" |
| static const char | OP_VERT_SLIDE [] = "TRANSFORM_OT_vert_slide" |
| static const char | OP_EDGE_CREASE [] = "TRANSFORM_OT_edge_crease" |
| static const char | OP_EDGE_BWEIGHT [] = "TRANSFORM_OT_edge_bevelweight" |
| static const char | OP_SEQ_SLIDE [] = "TRANSFORM_OT_seq_slide" |
| static const char | OP_NORMAL_ROTATION [] = "TRANSFORM_OT_rotate_normal" |
| static TransformModeItem | transform_modes [] |
| const EnumPropertyItem | rna_enum_transform_mode_types [] |
| typedef struct TransformModeItem TransformModeItem |
|
static |
Definition at line 259 of file transform_ops.c.
References BIF_createTransformOrientation(), BKE_report(), C, CTX_data_scene(), CTX_wm_message_bus(), CTX_wm_view3d(), Scene::id, MAX_NAME, NA_EDITED, NC_SCENE, NC_SPACE, ND_SPACE_VIEW3D, NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, wmOperator::reports, RNA_boolean_get(), RNA_string_get(), RPT_ERROR, scene, WM_event_add_notifier(), and WM_msg_publish_rna_prop.
Referenced by TRANSFORM_OT_create_orientation().
|
static |
Definition at line 215 of file transform_ops.c.
References BIF_removeTransformOrientationIndex(), C, CTX_data_scene(), CTX_wm_message_bus(), Scene::id, TransformOrientationSlot::index_custom, NA_EDITED, NC_SCENE, OPERATOR_FINISHED, Scene::orientation_slots, SCE_ORIENT_DEFAULT, scene, WM_event_add_notifier(), and WM_msg_publish_rna_prop.
Referenced by delete_orientation_invoke(), and TRANSFORM_OT_delete_orientation().
|
static |
Definition at line 229 of file transform_ops.c.
References C, and delete_orientation_exec().
Referenced by TRANSFORM_OT_delete_orientation().
|
static |
Definition at line 234 of file transform_ops.c.
References C, CTX_data_scene(), ED_operator_areaactive(), TransformOrientationSlot::index_custom, Scene::orientation_slots, SCE_ORIENT_DEFAULT, scene, TransformOrientationSlot::type, and V3D_ORIENT_CUSTOM.
Referenced by TRANSFORM_OT_delete_orientation().
| void ED_keymap_transform | ( | wmKeyConfig * | keyconf | ) |
Definition at line 1340 of file transform_ops.c.
References TransformModeItem::idname, transform_modal_keymap(), transform_modes, and WM_modalkeymap_assign().
Referenced by ED_spacetypes_keymap().
|
static |
Definition at line 163 of file transform_ops.c.
References BKE_scene_orientation_slot_set_index(), C, CTX_data_scene(), CTX_wm_message_bus(), Scene::id, NC_SCENE, NC_SPACE, ND_SPACE_VIEW3D, ND_TOOLSETTINGS, NULL, OPERATOR_FINISHED, Scene::orientation_slots, wmOperator::ptr, RNA_enum_get(), SCE_ORIENT_DEFAULT, scene, type, WM_event_add_notifier(), and WM_msg_publish_rna_prop.
Referenced by TRANSFORM_OT_select_orientation().
|
static |
Definition at line 180 of file transform_ops.c.
References C, IFACE_, OPERATOR_INTERFACE, UI_popup_menu_begin(), UI_popup_menu_end(), UI_popup_menu_layout(), and uiItemsEnumO().
Referenced by TRANSFORM_OT_select_orientation().
|
static |
Definition at line 474 of file transform_ops.c.
References C, wmOperator::customdata, t, TRANS_CANCEL, transformEnd(), and transformops_exit().
Referenced by TRANSFORM_OT_bbone_resize(), TRANSFORM_OT_bend(), TRANSFORM_OT_edge_bevelweight(), TRANSFORM_OT_edge_crease(), TRANSFORM_OT_edge_slide(), TRANSFORM_OT_mirror(), TRANSFORM_OT_push_pull(), TRANSFORM_OT_resize(), TRANSFORM_OT_rotate(), TRANSFORM_OT_rotate_normal(), TRANSFORM_OT_seq_slide(), TRANSFORM_OT_shear(), TRANSFORM_OT_shrink_fatten(), TRANSFORM_OT_skin_resize(), TRANSFORM_OT_tilt(), TRANSFORM_OT_tosphere(), TRANSFORM_OT_trackball(), TRANSFORM_OT_transform(), TRANSFORM_OT_translate(), and TRANSFORM_OT_vert_slide().
|
static |
Definition at line 483 of file transform_ops.c.
References C, CTX_AUTOCONFIRM, wmOperator::customdata, G, NC_OBJECT, ND_TRANSFORM, NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, t, transformApply(), transformEnd(), transformops_data(), transformops_exit(), and WM_event_add_notifier().
Referenced by transform_invoke(), TRANSFORM_OT_bbone_resize(), TRANSFORM_OT_edge_bevelweight(), TRANSFORM_OT_edge_crease(), TRANSFORM_OT_edge_slide(), TRANSFORM_OT_mirror(), TRANSFORM_OT_push_pull(), TRANSFORM_OT_resize(), TRANSFORM_OT_rotate(), TRANSFORM_OT_rotate_normal(), TRANSFORM_OT_seq_slide(), TRANSFORM_OT_shear(), TRANSFORM_OT_shrink_fatten(), TRANSFORM_OT_skin_resize(), TRANSFORM_OT_tilt(), TRANSFORM_OT_tosphere(), TRANSFORM_OT_trackball(), TRANSFORM_OT_transform(), TRANSFORM_OT_translate(), and TRANSFORM_OT_vert_slide().
|
static |
Definition at line 1269 of file transform_ops.c.
References C, CTX_wm_region(), ARegion::gizmo_map, NULL, OPERATOR_FINISHED, OPERATOR_PASS_THROUGH, ot, RNA_boolean_set(), RNA_enum_get(), wmGizmoGroup::type, V3D_GIZMO_SHOW_OBJECT_ROTATE, V3D_GIZMO_SHOW_OBJECT_SCALE, V3D_GIZMO_SHOW_OBJECT_TRANSLATE, WM_gizmomap_group_find(), WM_OP_INVOKE_DEFAULT, WM_operator_name_call_ptr(), WM_operator_properties_create_ptr(), WM_operator_properties_free(), WM_operatortype_find(), WM_toolsystem_ref_from_context(), and WM_toolsystem_ref_properties_ensure_from_gizmo_group.
Referenced by TRANSFORM_OT_from_gizmo().
|
static |
Definition at line 507 of file transform_ops.c.
References C, wmOperator::customdata, wmOperator::flag, G, is_zero_v4(), NULL, OP_IS_MODAL_GRAB_CURSOR, OPERATOR_CANCELLED, OPERATOR_RUNNING_MODAL, wmOperator::ptr, RNA_struct_property_is_set(), t, transform_exec(), transformApply(), transformops_data(), UNLIKELY, and WM_event_add_modal_handler().
Referenced by TRANSFORM_OT_bbone_resize(), TRANSFORM_OT_bend(), TRANSFORM_OT_edge_bevelweight(), TRANSFORM_OT_edge_crease(), TRANSFORM_OT_edge_slide(), TRANSFORM_OT_mirror(), TRANSFORM_OT_push_pull(), TRANSFORM_OT_resize(), TRANSFORM_OT_rotate(), TRANSFORM_OT_rotate_normal(), TRANSFORM_OT_seq_slide(), TRANSFORM_OT_shear(), TRANSFORM_OT_shrink_fatten(), TRANSFORM_OT_skin_resize(), TRANSFORM_OT_tilt(), TRANSFORM_OT_tosphere(), TRANSFORM_OT_trackball(), TRANSFORM_OT_transform(), TRANSFORM_OT_translate(), and TRANSFORM_OT_vert_slide().
|
static |
Definition at line 408 of file transform_ops.c.
References BLI_assert, C, wmOperator::customdata, TransformModeItem::idname, TransformModeItem::mode, NDOF_MOTION, NULL, OPERATOR_PASS_THROUGH, OPERATOR_RUNNING_MODAL, SCE_SNAP_TARGET_ACTIVE, t, TARGET_INIT, transform_modes, transformApply(), transformEnd(), transformEvent(), transformops_exit(), wmEvent::type, WM_operator_type_set(), and WM_operatortype_find().
Referenced by TRANSFORM_OT_bbone_resize(), TRANSFORM_OT_bend(), TRANSFORM_OT_edge_bevelweight(), TRANSFORM_OT_edge_crease(), TRANSFORM_OT_edge_slide(), TRANSFORM_OT_mirror(), TRANSFORM_OT_push_pull(), TRANSFORM_OT_resize(), TRANSFORM_OT_rotate(), TRANSFORM_OT_rotate_normal(), TRANSFORM_OT_seq_slide(), TRANSFORM_OT_shear(), TRANSFORM_OT_shrink_fatten(), TRANSFORM_OT_skin_resize(), TRANSFORM_OT_tilt(), TRANSFORM_OT_tosphere(), TRANSFORM_OT_trackball(), TRANSFORM_OT_transform(), TRANSFORM_OT_translate(), and TRANSFORM_OT_vert_slide().
| void transform_operatortypes | ( | void | ) |
Definition at line 1323 of file transform_ops.c.
References TransformModeItem::idname, TransformModeItem::opfunc, transform_modes, TRANSFORM_OT_create_orientation(), TRANSFORM_OT_delete_orientation(), TRANSFORM_OT_from_gizmo(), TRANSFORM_OT_select_orientation(), TRANSFORM_OT_transform(), and WM_operatortype_append().
Referenced by view3d_operatortypes().
|
static |
Definition at line 1045 of file transform_ops.c.
References wmOperatorType::cancel, wmOperatorType::description, ED_operator_object_active(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, OP_BONE_SIZE, OPTYPE_BLOCKING, OPTYPE_REGISTER, OPTYPE_UNDO, ot, P_CONSTRAINT, P_MIRROR, P_ORIENT_MATRIX, wmOperatorType::poll, wmOperatorType::poll_property, RNA_def_float_translation(), wmOperatorType::srna, transform_cancel(), transform_exec(), transform_invoke(), transform_modal(), transform_poll_property(), Transform_Properties(), VecOne, and WM_operatortype_props_advanced_begin().
|
static |
Definition at line 891 of file transform_ops.c.
References wmOperatorType::cancel, wmOperatorType::description, ED_operator_region_view3d_active(), wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, M_PI, wmOperatorType::modal, wmOperatorType::name, NULL, OP_BEND, OPTYPE_BLOCKING, OPTYPE_REGISTER, OPTYPE_UNDO, ot, P_CENTER, P_GPENCIL_EDIT, P_MIRROR, P_PROPORTIONAL, P_SNAP, wmOperatorType::poll, wmOperatorType::poll_property, RNA_def_float_rotation(), wmOperatorType::srna, transform_cancel(), transform_invoke(), transform_modal(), transform_poll_property(), Transform_Properties(), and WM_operatortype_props_advanced_begin().
|
static |
Definition at line 293 of file transform_ops.c.
References create_orientation_exec(), wmOperatorType::description, ED_operator_areaactive(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, MAX_NAME, wmOperatorType::name, NULL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_boolean(), RNA_def_string(), wmOperatorType::srna, and WM_operatortype_props_advanced_begin().
Referenced by transform_operatortypes().
|
static |
Definition at line 245 of file transform_ops.c.
References delete_orientation_exec(), delete_orientation_invoke(), delete_orientation_poll(), wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by transform_operatortypes().
|
static |
Definition at line 1167 of file transform_ops.c.
References wmOperatorType::cancel, wmOperatorType::description, ED_operator_editmesh(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, OP_EDGE_BWEIGHT, OPTYPE_BLOCKING, OPTYPE_REGISTER, OPTYPE_UNDO, ot, P_SNAP, wmOperatorType::poll, RNA_def_float_factor(), wmOperatorType::srna, transform_cancel(), transform_exec(), transform_invoke(), transform_modal(), Transform_Properties(), and WM_operatortype_props_advanced_begin().
|
static |
Definition at line 1144 of file transform_ops.c.
References wmOperatorType::cancel, wmOperatorType::description, ED_operator_editmesh(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, OP_EDGE_CREASE, OPTYPE_BLOCKING, OPTYPE_REGISTER, OPTYPE_UNDO, ot, P_SNAP, wmOperatorType::poll, wmOperatorType::poll_property, RNA_def_float_factor(), wmOperatorType::srna, transform_cancel(), transform_exec(), transform_invoke(), transform_modal(), transform_poll_property(), Transform_Properties(), and WM_operatortype_props_advanced_begin().
|
static |
Definition at line 1069 of file transform_ops.c.
References wmOperatorType::cancel, wmOperatorType::description, ED_operator_editmesh_region_view3d(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, OP_EDGE_SLIDE, OPTYPE_BLOCKING, OPTYPE_REGISTER, OPTYPE_UNDO, ot, P_CORRECT_UV, P_MIRROR, P_SNAP, wmOperatorType::poll, wmOperatorType::poll_property, PROP_HIDDEN, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_float_factor(), RNA_def_property_flag(), wmOperatorType::srna, transform_cancel(), transform_exec(), transform_invoke(), transform_modal(), transform_poll_property(), Transform_Properties(), and WM_operatortype_props_advanced_begin().
|
static |
Definition at line 1311 of file transform_ops.c.
References wmOperatorType::description, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, ot, and transform_from_gizmo_invoke().
Referenced by transform_operatortypes().
|
static |
Definition at line 1026 of file transform_ops.c.
References wmOperatorType::cancel, wmOperatorType::description, ED_operator_screenactive(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, OP_MIRROR, OPTYPE_BLOCKING, OPTYPE_REGISTER, OPTYPE_UNDO, ot, P_CENTER, P_CONSTRAINT, P_GPENCIL_EDIT, P_ORIENT_MATRIX, wmOperatorType::poll, wmOperatorType::poll_property, transform_cancel(), transform_exec(), transform_invoke(), transform_modal(), transform_poll_property(), and Transform_Properties().
|
static |
Definition at line 951 of file transform_ops.c.
References wmOperatorType::cancel, wmOperatorType::description, ED_operator_screenactive(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, OP_PUSH_PULL, OPTYPE_BLOCKING, OPTYPE_REGISTER, OPTYPE_UNDO, ot, P_CENTER, P_MIRROR, P_PROPORTIONAL, P_SNAP, wmOperatorType::poll, wmOperatorType::poll_property, RNA_def_float(), wmOperatorType::srna, transform_cancel(), transform_exec(), transform_invoke(), transform_modal(), transform_poll_property(), Transform_Properties(), and WM_operatortype_props_advanced_begin().
|
static |
Definition at line 750 of file transform_ops.c.
References wmOperatorType::cancel, wmOperatorType::description, ED_operator_screenactive(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, OP_RESIZE, OPTYPE_BLOCKING, OPTYPE_REGISTER, OPTYPE_UNDO, ot, P_CENTER, P_CONSTRAINT, P_GEO_SNAP, P_GPENCIL_EDIT, P_MIRROR, P_OPTIONS, P_ORIENT_MATRIX, P_PROPORTIONAL, wmOperatorType::poll, wmOperatorType::poll_property, RNA_def_float_vector(), wmOperatorType::srna, transform_cancel(), transform_exec(), transform_invoke(), transform_modal(), transform_poll_property(), Transform_Properties(), VecOne, and WM_operatortype_props_advanced_begin().
|
static |
Definition at line 838 of file transform_ops.c.
References wmOperatorType::cancel, wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, M_PI, wmOperatorType::modal, wmOperatorType::name, NULL, OP_ROTATION, OPTYPE_BLOCKING, OPTYPE_REGISTER, OPTYPE_UNDO, ot, P_CENTER, P_CONSTRAINT, P_GEO_SNAP, P_GPENCIL_EDIT, P_MIRROR, P_ORIENT_AXIS, P_ORIENT_MATRIX, P_PROPORTIONAL, wmOperatorType::poll, wmOperatorType::poll_property, RNA_def_float_rotation(), wmOperatorType::srna, transform_cancel(), transform_exec(), transform_invoke(), transform_modal(), transform_poll_property(), Transform_Properties(), transform_rotate_poll(), and WM_operatortype_props_advanced_begin().
|
static |
Definition at line 1216 of file transform_ops.c.
References wmOperatorType::cancel, wmOperatorType::description, ED_operator_editmesh(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, M_PI, wmOperatorType::modal, wmOperatorType::name, NULL, OP_NORMAL_ROTATION, OPTYPE_BLOCKING, OPTYPE_REGISTER, OPTYPE_UNDO, ot, P_CONSTRAINT, P_MIRROR, P_ORIENT_AXIS, P_ORIENT_MATRIX, wmOperatorType::poll, RNA_def_float_rotation(), wmOperatorType::srna, transform_cancel(), transform_exec(), transform_invoke(), transform_modal(), and Transform_Properties().
|
static |
Definition at line 195 of file transform_ops.c.
References wmOperatorType::description, ED_operator_view3d_active(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_UNDO, ot, wmOperatorType::poll, PROP_ENUM, PROP_NONE, RNA_def_enum_funcs(), RNA_def_property(), RNA_def_property_ui_text(), rna_TransformOrientation_itemf(), select_orientation_exec(), select_orientation_invoke(), and wmOperatorType::srna.
Referenced by transform_operatortypes().
|
static |
Definition at line 1189 of file transform_ops.c.
References wmOperatorType::cancel, wmOperatorType::description, ED_operator_sequencer_active(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, NULL, OP_SEQ_SLIDE, OPTYPE_BLOCKING, OPTYPE_REGISTER, OPTYPE_UNDO, ot, P_SNAP, wmOperatorType::poll, RNA_def_float_vector(), RNA_def_property_ui_range(), wmOperatorType::srna, transform_cancel(), transform_exec(), transform_invoke(), transform_modal(), Transform_Properties(), and WM_operatortype_props_advanced_begin().
|
static |
Definition at line 926 of file transform_ops.c.
References wmOperatorType::cancel, wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, OP_SHEAR, OPTYPE_BLOCKING, OPTYPE_REGISTER, OPTYPE_UNDO, ot, P_GPENCIL_EDIT, P_MIRROR, P_ORIENT_AXIS, P_ORIENT_AXIS_ORTHO, P_ORIENT_MATRIX, P_PROPORTIONAL, P_SNAP, wmOperatorType::poll, wmOperatorType::poll_property, RNA_def_float(), wmOperatorType::srna, transform_cancel(), transform_exec(), transform_invoke(), transform_modal(), transform_poll_property(), Transform_Properties(), transform_shear_poll(), and WM_operatortype_props_advanced_begin().
|
static |
Definition at line 974 of file transform_ops.c.
References wmOperatorType::cancel, wmOperatorType::description, ED_operator_editmesh(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, OP_SHRINK_FATTEN, OPTYPE_BLOCKING, OPTYPE_REGISTER, OPTYPE_UNDO, ot, P_MIRROR, P_PROPORTIONAL, P_SNAP, wmOperatorType::poll, wmOperatorType::poll_property, RNA_def_boolean(), RNA_def_float_distance(), wmOperatorType::srna, transform_cancel(), transform_exec(), transform_invoke(), transform_modal(), transform_poll_property(), Transform_Properties(), and WM_operatortype_props_advanced_begin().
|
static |
Definition at line 776 of file transform_ops.c.
References wmOperatorType::cancel, wmOperatorType::description, ED_operator_editmesh(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, OP_SKIN_RESIZE, OPTYPE_BLOCKING, OPTYPE_REGISTER, OPTYPE_UNDO, ot, P_CONSTRAINT, P_GEO_SNAP, P_MIRROR, P_NO_TEXSPACE, P_OPTIONS, P_ORIENT_MATRIX, P_PROPORTIONAL, wmOperatorType::poll, wmOperatorType::poll_property, RNA_def_float_vector(), wmOperatorType::srna, transform_cancel(), transform_exec(), transform_invoke(), transform_modal(), transform_poll_property(), Transform_Properties(), VecOne, and WM_operatortype_props_advanced_begin().
|
static |
Definition at line 864 of file transform_ops.c.
References wmOperatorType::cancel, wmOperatorType::description, ED_operator_editcurve_3d(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, M_PI, wmOperatorType::modal, wmOperatorType::name, NULL, OP_TILT, OPTYPE_BLOCKING, OPTYPE_REGISTER, OPTYPE_UNDO, ot, P_MIRROR, P_PROPORTIONAL, P_SNAP, wmOperatorType::poll, wmOperatorType::poll_property, RNA_def_float_rotation(), wmOperatorType::srna, transform_cancel(), transform_exec(), transform_invoke(), transform_modal(), transform_poll_property(), Transform_Properties(), and WM_operatortype_props_advanced_begin().
|
static |
Definition at line 1003 of file transform_ops.c.
References wmOperatorType::cancel, wmOperatorType::description, ED_operator_screenactive(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, OP_TOSPHERE, OPTYPE_BLOCKING, OPTYPE_REGISTER, OPTYPE_UNDO, ot, P_CENTER, P_GPENCIL_EDIT, P_MIRROR, P_PROPORTIONAL, P_SNAP, wmOperatorType::poll, wmOperatorType::poll_property, RNA_def_float_factor(), wmOperatorType::srna, transform_cancel(), transform_exec(), transform_invoke(), transform_modal(), transform_poll_property(), Transform_Properties(), and WM_operatortype_props_advanced_begin().
|
static |
Definition at line 802 of file transform_ops.c.
References wmOperatorType::cancel, wmOperatorType::description, ED_operator_screenactive(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, NULL, OP_TRACKBALL, OPTYPE_BLOCKING, OPTYPE_REGISTER, OPTYPE_UNDO, ot, P_CENTER, P_GPENCIL_EDIT, P_MIRROR, P_PROPORTIONAL, P_SNAP, wmOperatorType::poll, wmOperatorType::poll_property, RNA_def_float_rotation(), wmOperatorType::srna, transform_cancel(), transform_exec(), transform_invoke(), transform_modal(), transform_poll_property(), Transform_Properties(), and WM_operatortype_props_advanced_begin().
|
static |
Definition at line 1237 of file transform_ops.c.
References wmOperatorType::cancel, wmOperatorType::description, ED_operator_screenactive(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, NULL, OPTYPE_BLOCKING, OPTYPE_REGISTER, OPTYPE_UNDO, ot, P_ALIGN_SNAP, P_CENTER, P_CONSTRAINT, P_GPENCIL_EDIT, P_MIRROR, P_ORIENT_AXIS, P_ORIENT_MATRIX, P_PROPORTIONAL, wmOperatorType::poll, wmOperatorType::poll_property, PROP_HIDDEN, RNA_def_enum(), RNA_def_float_vector(), RNA_def_property_flag(), rna_enum_transform_mode_types, wmOperatorType::srna, TFM_TRANSLATION, transform_cancel(), transform_exec(), transform_invoke(), transform_modal(), transform_poll_property(), Transform_Properties(), and WM_operatortype_props_advanced_begin().
Referenced by transform_operatortypes().
|
static |
Definition at line 724 of file transform_ops.c.
References wmOperatorType::cancel, wmOperatorType::description, ED_operator_screenactive(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, NULL, OP_TRANSLATION, OPTYPE_BLOCKING, OPTYPE_REGISTER, OPTYPE_UNDO, ot, P_ALIGN_SNAP, P_CONSTRAINT, P_CURSOR_EDIT, P_GPENCIL_EDIT, P_MIRROR, P_OPTIONS, P_ORIENT_MATRIX, P_POST_TRANSFORM, P_PROPORTIONAL, wmOperatorType::poll, wmOperatorType::poll_property, RNA_def_float_translation(), wmOperatorType::srna, transform_cancel(), transform_exec(), transform_invoke(), transform_modal(), transform_poll_property(), Transform_Properties(), and WM_operatortype_props_advanced_begin().
|
static |
Definition at line 1109 of file transform_ops.c.
References wmOperatorType::cancel, wmOperatorType::description, ED_operator_editmesh_region_view3d(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, OP_VERT_SLIDE, OPTYPE_BLOCKING, OPTYPE_REGISTER, OPTYPE_UNDO, ot, P_CORRECT_UV, P_MIRROR, P_SNAP, wmOperatorType::poll, wmOperatorType::poll_property, RNA_def_boolean(), RNA_def_float_factor(), wmOperatorType::srna, transform_cancel(), transform_exec(), transform_invoke(), transform_modal(), transform_poll_property(), Transform_Properties(), and WM_operatortype_props_advanced_begin().
|
static |
Definition at line 533 of file transform_ops.c.
References ELEM, NULL, wmOperator::ptr, RNA_property_boolean_get(), RNA_property_identifier(), RNA_struct_find_property(), STREQ, and STRPREFIX.
Referenced by TRANSFORM_OT_bbone_resize(), TRANSFORM_OT_bend(), TRANSFORM_OT_edge_crease(), TRANSFORM_OT_edge_slide(), TRANSFORM_OT_mirror(), TRANSFORM_OT_push_pull(), TRANSFORM_OT_resize(), TRANSFORM_OT_rotate(), TRANSFORM_OT_shear(), TRANSFORM_OT_shrink_fatten(), TRANSFORM_OT_skin_resize(), TRANSFORM_OT_tilt(), TRANSFORM_OT_tosphere(), TRANSFORM_OT_trackball(), TRANSFORM_OT_transform(), TRANSFORM_OT_translate(), and TRANSFORM_OT_vert_slide().
| void Transform_Properties | ( | struct wmOperatorType * | ot, |
| int | flags | ||
| ) |
Definition at line 571 of file transform_ops.c.
References BLT_I18NCONTEXT_ID_CURVE, NULL, ot, P_ALIGN_SNAP, P_CENTER, P_CONSTRAINT, P_CORRECT_UV, P_CURSOR_EDIT, P_GEO_SNAP, P_GPENCIL_EDIT, P_MIRROR, P_MIRROR_DUMMY, P_NO_DEFAULTS, P_NO_TEXSPACE, P_OPTIONS, P_ORIENT_AXIS, P_ORIENT_AXIS_ORTHO, P_ORIENT_MATRIX, P_POST_TRANSFORM, P_PROPORTIONAL, P_SNAP, PROP_ENUM, PROP_FLOAT, PROP_HIDDEN, PROP_NONE, PROP_SKIP_SAVE, PROP_XYZ, RNA_def_boolean(), RNA_def_boolean_vector(), RNA_def_enum(), RNA_def_enum_funcs(), RNA_def_float(), RNA_def_float_matrix(), RNA_def_float_vector(), RNA_def_property(), RNA_def_property_array(), RNA_def_property_enum_default(), RNA_def_property_enum_items(), RNA_def_property_flag(), RNA_def_property_translation_context(), RNA_def_property_ui_text(), rna_enum_axis_xyz_items, rna_enum_proportional_falloff_items, rna_enum_snap_target_items, rna_TransformOrientation_itemf(), wmOperatorType::srna, T_PROP_SIZE_MAX, and T_PROP_SIZE_MIN.
Referenced by MESH_OT_extrude_context(), MESH_OT_extrude_edges_indiv(), MESH_OT_extrude_faces_indiv(), MESH_OT_extrude_region(), MESH_OT_extrude_verts_indiv(), MESH_OT_polybuild_delete_at_cursor(), MESH_OT_polybuild_face_at_cursor(), MESH_OT_polybuild_split_at_cursor(), MESH_OT_polybuild_transform_at_cursor(), MESH_OT_rip(), MESH_OT_rip_edge(), TRANSFORM_OT_bbone_resize(), TRANSFORM_OT_bend(), TRANSFORM_OT_edge_bevelweight(), TRANSFORM_OT_edge_crease(), TRANSFORM_OT_edge_slide(), TRANSFORM_OT_mirror(), TRANSFORM_OT_push_pull(), TRANSFORM_OT_resize(), TRANSFORM_OT_rotate(), TRANSFORM_OT_rotate_normal(), TRANSFORM_OT_seq_slide(), TRANSFORM_OT_shear(), TRANSFORM_OT_shrink_fatten(), TRANSFORM_OT_skin_resize(), TRANSFORM_OT_tilt(), TRANSFORM_OT_tosphere(), TRANSFORM_OT_trackball(), TRANSFORM_OT_transform(), TRANSFORM_OT_translate(), TRANSFORM_OT_vert_slide(), and UV_OT_rip().
|
static |
Definition at line 828 of file transform_ops.c.
References blender::compositor::area(), C, CTX_wm_area(), ED_operator_screenactive(), ELEM, and SPACE_ACTION.
Referenced by TRANSFORM_OT_rotate().
|
static |
Definition at line 916 of file transform_ops.c.
References blender::compositor::area(), C, CTX_wm_area(), ED_operator_screenactive(), ELEM, and SPACE_ACTION.
Referenced by TRANSFORM_OT_shear().
|
static |
Definition at line 374 of file transform_ops.c.
References C, wmOperator::customdata, G, TransformModeItem::idname, wmOperatorType::idname, initTransform(), MEM_callocN, MEM_freeN, TransformModeItem::mode, NULL, wmOperator::ptr, RNA_enum_get(), special_transform_moving(), t, transform_modes, and wmOperator::type.
Referenced by transform_exec(), and transform_invoke().
|
static |
Definition at line 362 of file transform_ops.c.
References C, wmOperator::customdata, G, MEM_freeN, NULL, saveTransform(), and transformops_loopsel_hack().
Referenced by transform_cancel(), transform_exec(), and transform_modal().
|
static |
Special hack for MESH_OT_loopcut_slide so we get back to the selection mode
Definition at line 328 of file transform_ops.c.
References BKE_editmesh_from_object(), C, CTX_data_edit_object(), CTX_data_scene(), EDBM_selectmode_set(), wmOperatorType::idname, OP_EDGE_SLIDE, wmOperator::opm, wmOperator::prev, wmOperator::ptr, RNA_property_boolean_get_array(), RNA_property_is_set(), RNA_struct_find_property(), SCE_SELECT_EDGE, SCE_SELECT_FACE, SCE_SELECT_VERTEX, scene, BMEditMesh::selectmode, ToolSettings::selectmode, Scene::toolsettings, and wmOperator::type.
Referenced by transformops_exit().
|
static |
Definition at line 70 of file transform_ops.c.
Referenced by TRANSFORM_OT_bend().
|
static |
Definition at line 76 of file transform_ops.c.
Referenced by TRANSFORM_OT_bbone_resize().
|
static |
Definition at line 80 of file transform_ops.c.
Referenced by TRANSFORM_OT_edge_bevelweight().
|
static |
Definition at line 79 of file transform_ops.c.
Referenced by TRANSFORM_OT_edge_crease().
|
static |
Definition at line 77 of file transform_ops.c.
Referenced by TRANSFORM_OT_edge_slide(), and transformops_loopsel_hack().
|
static |
Definition at line 75 of file transform_ops.c.
Referenced by TRANSFORM_OT_mirror().
|
static |
Definition at line 82 of file transform_ops.c.
Referenced by TRANSFORM_OT_rotate_normal().
|
static |
Definition at line 72 of file transform_ops.c.
Referenced by TRANSFORM_OT_push_pull().
|
static |
Definition at line 67 of file transform_ops.c.
Referenced by TRANSFORM_OT_resize().
|
static |
Definition at line 65 of file transform_ops.c.
Referenced by TRANSFORM_OT_rotate().
|
static |
Definition at line 81 of file transform_ops.c.
Referenced by TRANSFORM_OT_seq_slide().
|
static |
Definition at line 69 of file transform_ops.c.
Referenced by TRANSFORM_OT_shear().
|
static |
Definition at line 71 of file transform_ops.c.
Referenced by TRANSFORM_OT_shrink_fatten().
|
static |
Definition at line 68 of file transform_ops.c.
Referenced by TRANSFORM_OT_skin_resize().
|
static |
Definition at line 73 of file transform_ops.c.
Referenced by TRANSFORM_OT_tilt().
|
static |
Definition at line 66 of file transform_ops.c.
Referenced by TRANSFORM_OT_tosphere().
|
static |
Definition at line 74 of file transform_ops.c.
Referenced by TRANSFORM_OT_trackball().
|
static |
Definition at line 64 of file transform_ops.c.
Referenced by TRANSFORM_OT_translate().
|
static |
Definition at line 78 of file transform_ops.c.
Referenced by TRANSFORM_OT_vert_slide().
| const EnumPropertyItem rna_enum_transform_mode_types[] |
Definition at line 127 of file transform_ops.c.
Referenced by CURVE_OT_extrude(), GRAPH_OT_duplicate(), NLA_OT_duplicate(), OBJECT_OT_duplicate(), and TRANSFORM_OT_transform().
|
static |
Definition at line 104 of file transform_ops.c.
Referenced by ED_keymap_transform(), transform_modal(), transform_operatortypes(), and transformops_data().
|
static |
Definition at line 62 of file transform_ops.c.
Referenced by TRANSFORM_OT_bbone_resize(), TRANSFORM_OT_resize(), and TRANSFORM_OT_skin_resize().