|
Blender V4.3
|
#include "MEM_guardedalloc.h"#include "DNA_curve_types.h"#include "DNA_object_types.h"#include "DNA_scene_types.h"#include "BLI_math_vector.h"#include "BLI_utildefines.h"#include "BLT_translation.hh"#include "BKE_context.hh"#include "BKE_global.hh"#include "BKE_report.hh"#include "BKE_scene.hh"#include "RNA_access.hh"#include "RNA_define.hh"#include "RNA_enum_types.hh"#include "WM_api.hh"#include "WM_message.hh"#include "WM_toolsystem.hh"#include "WM_types.hh"#include "UI_interface.hh"#include "UI_resources.hh"#include "ED_screen.hh"#include "ED_mesh.hh"#include "transform.hh"#include "transform_convert.hh"Go to the source code of this file.
Classes | |
| struct | TransformModeItem |
Variables | |
| static const float | VecZero [3] = {0, 0, 0} |
| 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_VERT_CREASE [] = "TRANSFORM_OT_vert_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_type_items [] |
|
static |
Definition at line 252 of file transform_ops.cc.
References BIF_createTransformOrientation(), BKE_report(), CTX_data_scene(), CTX_wm_message_bus(), CTX_wm_view3d(), MAX_NAME, NA_EDITED, NC_SCENE, NC_SPACE, ND_SPACE_VIEW3D, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, wmOperator::reports, RNA_boolean_get(), RNA_string_get(), RPT_ERROR, WM_event_add_notifier(), and WM_msg_publish_rna_prop.
Referenced by TRANSFORM_OT_create_orientation().
|
static |
Definition at line 208 of file transform_ops.cc.
References BIF_removeTransformOrientationIndex(), CTX_data_scene(), CTX_wm_message_bus(), NA_EDITED, NC_SCENE, OPERATOR_FINISHED, SCE_ORIENT_DEFAULT, WM_event_add_notifier(), and WM_msg_publish_rna_prop.
Referenced by delete_orientation_invoke(), and TRANSFORM_OT_delete_orientation().
|
static |
Definition at line 222 of file transform_ops.cc.
References delete_orientation_exec().
Referenced by TRANSFORM_OT_delete_orientation().
|
static |
Definition at line 227 of file transform_ops.cc.
References CTX_data_scene(), ED_operator_areaactive(), SCE_ORIENT_DEFAULT, and V3D_ORIENT_CUSTOM.
Referenced by TRANSFORM_OT_delete_orientation().
| void ED_keymap_transform | ( | wmKeyConfig * | keyconf | ) |
Definition at line 1488 of file transform_ops.cc.
References TransformModeItem::idname, transform_modal_keymap(), transform_modes, and WM_modalkeymap_assign().
Referenced by ED_spacetypes_keymap().
|
static |
Definition at line 158 of file transform_ops.cc.
References BKE_scene_orientation_slot_set_index(), CTX_data_scene(), CTX_wm_message_bus(), NC_SCENE, NC_SPACE, ND_SPACE_VIEW3D, ND_TOOLSETTINGS, OPERATOR_FINISHED, wmOperator::ptr, RNA_enum_get(), SCE_ORIENT_DEFAULT, WM_event_add_notifier(), and WM_msg_publish_rna_prop.
Referenced by TRANSFORM_OT_select_orientation().
|
static |
Definition at line 175 of file transform_ops.cc.
References 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 966 of file transform_ops.cc.
References CTX_data_edit_object(), CU_3D, Object::data, Curve::editnurb, Curve::flag, OB_CURVES, OB_CURVES_LEGACY, and Object::type.
Referenced by TRANSFORM_OT_tilt().
|
static |
Definition at line 496 of file transform_ops.cc.
References wmOperator::customdata, TransInfo::state, 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(), TRANSFORM_OT_vert_crease(), and TRANSFORM_OT_vert_slide().
|
static |
Definition at line 505 of file transform_ops.cc.
References CTX_AUTOCONFIRM, wmOperator::customdata, G, NC_OBJECT, ND_TRANSFORM, OPERATOR_CANCELLED, OPERATOR_FINISHED, TransInfo::options, 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(), TRANSFORM_OT_vert_crease(), and TRANSFORM_OT_vert_slide().
|
static |
Definition at line 1418 of file transform_ops.cc.
References CTX_wm_region(), 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 529 of file transform_ops.cc.
References wmOperator::customdata, TransInfo::flag, wmOperator::flag, G, is_zero_v4(), OP_IS_MODAL_GRAB_CURSOR, OPERATOR_CANCELLED, OPERATOR_RUNNING_MODAL, wmOperator::ptr, RNA_struct_property_is_set(), T_NO_CURSOR_WRAP, transform_exec(), transformApply(), transformops_data(), UNLIKELY, TransInfo::values_modal_offset, 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(), TRANSFORM_OT_vert_crease(), and TRANSFORM_OT_vert_slide().
|
static |
Definition at line 403 of file transform_ops.cc.
References applyMouseInput(), BLI_assert, C, TransInfo::center_global, TransInfo::context, wmOperator::customdata, ED_view3d_navigation_do(), TransformModeItem::idname, MOD_PRECISION, TransformModeItem::mode, TransInfo::mode, TransInfo::modifiers, TransInfo::mouse, TransInfo::mval, wmEvent::mval, NDOF_MOTION, OPERATOR_PASS_THROUGH, OPERATOR_RUNNING_MODAL, MouseInput::precision, TransInfo::redraw, TransInfo::region, ARegion::regiondata, RegionView3D::rflag, RV3D_NAVIGATING, transform_input_virtual_mval_reset(), transform_modes, transformApply(), transformEnd(), transformEvent(), transformops_exit(), transformViewUpdate(), TREDRAW_HARD, wmEvent::type, TransInfo::values, TransInfo::vod, 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(), TRANSFORM_OT_vert_crease(), and TRANSFORM_OT_vert_slide().
| void transform_operatortypes | ( | ) |
Definition at line 1471 of file transform_ops.cc.
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 1163 of file transform_ops.cc.
References wmOperatorType::cancel, wmOperatorType::description, ED_operator_object_active(), wmOperatorType::exec, wmOperatorType::flag, FLT_MAX, 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 1009 of file transform_ops.cc.
References wmOperatorType::cancel, wmOperatorType::description, ED_operator_region_view3d_active(), wmOperatorType::flag, FLT_MAX, wmOperatorType::idname, wmOperatorType::invoke, M_PI, wmOperatorType::modal, wmOperatorType::name, OP_BEND, OPTYPE_BLOCKING, OPTYPE_DEPENDS_ON_CURSOR, 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 286 of file transform_ops.cc.
References create_orientation_exec(), wmOperatorType::description, ED_operator_areaactive(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, MAX_NAME, wmOperatorType::name, 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 238 of file transform_ops.cc.
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 1308 of file transform_ops.cc.
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 1262 of file transform_ops.cc.
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 1187 of file transform_ops.cc.
References wmOperatorType::cancel, wmOperatorType::description, ED_operator_editmesh(), 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_GEO_SNAP, P_MIRROR, 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 1459 of file transform_ops.cc.
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 1144 of file transform_ops.cc.
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 1069 of file transform_ops.cc.
References wmOperatorType::cancel, wmOperatorType::description, ED_operator_screenactive(), wmOperatorType::exec, wmOperatorType::flag, FLT_MAX, 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 850 of file transform_ops.cc.
References wmOperatorType::cancel, wmOperatorType::description, ED_operator_screenactive(), wmOperatorType::exec, wmOperatorType::flag, FLT_MAX, 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, PROP_HIDDEN, PROP_SKIP_SAVE, RNA_def_float_vector(), RNA_def_property_flag(), wmOperatorType::srna, transform_cancel(), transform_exec(), transform_invoke(), transform_modal(), transform_poll_property(), Transform_Properties(), VecOne, VecZero, and WM_operatortype_props_advanced_begin().
|
static |
Definition at line 940 of file transform_ops.cc.
References wmOperatorType::cancel, wmOperatorType::description, ED_operator_screenactive(), wmOperatorType::exec, wmOperatorType::flag, FLT_MAX, wmOperatorType::idname, wmOperatorType::invoke, M_PI, wmOperatorType::modal, wmOperatorType::name, 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(), and WM_operatortype_props_advanced_begin().
|
static |
Definition at line 1364 of file transform_ops.cc.
References wmOperatorType::cancel, wmOperatorType::description, ED_operator_editmesh(), wmOperatorType::exec, wmOperatorType::flag, FLT_MAX, wmOperatorType::idname, wmOperatorType::invoke, M_PI, wmOperatorType::modal, wmOperatorType::name, 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 188 of file transform_ops.cc.
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 1330 of file transform_ops.cc.
References wmOperatorType::cancel, wmOperatorType::description, ED_operator_sequencer_active(), wmOperatorType::exec, wmOperatorType::flag, FLT_MAX, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, OP_SEQ_SLIDE, OPTYPE_BLOCKING, OPTYPE_REGISTER, OPTYPE_UNDO, ot, P_SNAP, P_VIEW2D_EDGE_PAN, wmOperatorType::poll, PROP_HIDDEN, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_float_vector(), RNA_def_property_flag(), 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 1044 of file transform_ops.cc.
References wmOperatorType::cancel, wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, FLT_MAX, 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 1092 of file transform_ops.cc.
References wmOperatorType::cancel, wmOperatorType::description, ED_operator_editmesh(), wmOperatorType::exec, wmOperatorType::flag, FLT_MAX, 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 889 of file transform_ops.cc.
References wmOperatorType::cancel, wmOperatorType::description, ED_operator_editmesh(), wmOperatorType::exec, wmOperatorType::flag, FLT_MAX, 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 982 of file transform_ops.cc.
References wmOperatorType::cancel, wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, FLT_MAX, wmOperatorType::idname, wmOperatorType::invoke, M_PI, wmOperatorType::modal, wmOperatorType::name, 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, tilt_poll(), transform_cancel(), transform_exec(), transform_invoke(), transform_modal(), transform_poll_property(), Transform_Properties(), and WM_operatortype_props_advanced_begin().
|
static |
Definition at line 1121 of file transform_ops.cc.
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 915 of file transform_ops.cc.
References wmOperatorType::cancel, wmOperatorType::description, ED_operator_screenactive(), wmOperatorType::exec, wmOperatorType::flag, FLT_MAX, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, 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 1385 of file transform_ops.cc.
References wmOperatorType::cancel, wmOperatorType::description, ED_operator_screenactive(), wmOperatorType::exec, wmOperatorType::flag, FLT_MAX, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, OPTYPE_BLOCKING, OPTYPE_REGISTER, OPTYPE_UNDO, ot, P_ALIGN_SNAP, P_CENTER, P_CONSTRAINT, P_GPENCIL_EDIT, P_MIRROR, P_OPTIONS, P_ORIENT_AXIS, P_ORIENT_MATRIX, P_POST_TRANSFORM, P_PROPORTIONAL, wmOperatorType::poll, wmOperatorType::poll_property, PROP_HIDDEN, RNA_def_enum(), RNA_def_float_vector(), RNA_def_property_flag(), rna_enum_transform_mode_type_items, 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 823 of file transform_ops.cc.
References wmOperatorType::cancel, wmOperatorType::description, ED_operator_screenactive(), wmOperatorType::exec, wmOperatorType::flag, FLT_MAX, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, 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, P_VIEW2D_EDGE_PAN, 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 1285 of file transform_ops.cc.
References wmOperatorType::cancel, wmOperatorType::description, ED_operator_editmesh(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, OP_VERT_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 1227 of file transform_ops.cc.
References wmOperatorType::cancel, wmOperatorType::description, ED_operator_editmesh(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, OP_VERT_SLIDE, OPTYPE_BLOCKING, OPTYPE_DEPENDS_ON_CURSOR, OPTYPE_REGISTER, OPTYPE_UNDO, ot, P_CORRECT_UV, P_GEO_SNAP, P_MIRROR, 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 556 of file transform_ops.cc.
References CTX_wm_area(), ELEM, wmOperator::ptr, RNA_boolean_get(), RNA_property_boolean_get(), RNA_property_identifier(), RNA_struct_find_property(), SPACE_NLA, SPACE_VIEW3D, STREQ, STRPREFIX, TFM_ALIGN, and transformops_mode().
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(), TRANSFORM_OT_vert_crease(), and TRANSFORM_OT_vert_slide().
| void Transform_Properties | ( | wmOperatorType * | ot, |
| int | flags ) |
Definition at line 619 of file transform_ops.cc.
References BLT_I18NCONTEXT_ID_CURVE_LEGACY, FLT_MAX, 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, P_VIEW2D_EDGE_PAN, PROP_ENUM, PROP_ENUM_FLAG, 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_element_items, rna_enum_snap_source_items, rna_TransformOrientation_itemf(), SCE_SNAP_TO_INCREMENT, 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_crease(), TRANSFORM_OT_vert_slide(), and UV_OT_rip().
|
static |
Definition at line 1034 of file transform_ops.cc.
References CTX_wm_area(), ED_operator_screenactive(), ELEM, and SPACE_ACTION.
Referenced by TRANSFORM_OT_shear().
|
static |
Definition at line 379 of file transform_ops.cc.
References wmOperator::customdata, G, initTransform(), MEM_callocN, MEM_freeN(), wmOperatorType::name, special_transform_moving(), transformops_mode(), wmOperator::type, and TransInfo::undo_name.
Referenced by transform_exec(), and transform_invoke().
|
static |
Definition at line 356 of file transform_ops.cc.
References wmOperator::customdata, G, MEM_freeN(), 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 Do this for all meshes in multi-object editmode so their selectmode is in sync for following operators
Definition at line 324 of file transform_ops.cc.
References CTX_data_scene(), EDBM_selectmode_set_multi(), 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, ToolSettings::selectmode, and wmOperator::type.
Referenced by transformops_exit().
|
static |
Definition at line 368 of file transform_ops.cc.
References TransformModeItem::idname, wmOperatorType::idname, wmOperator::ptr, RNA_enum_get(), transform_modes, and wmOperator::type.
Referenced by transform_poll_property(), and transformops_data().
|
static |
Definition at line 61 of file transform_ops.cc.
Referenced by TRANSFORM_OT_bend().
|
static |
Definition at line 67 of file transform_ops.cc.
Referenced by TRANSFORM_OT_bbone_resize().
|
static |
Definition at line 72 of file transform_ops.cc.
Referenced by TRANSFORM_OT_edge_bevelweight().
|
static |
Definition at line 70 of file transform_ops.cc.
Referenced by TRANSFORM_OT_edge_crease().
|
static |
Definition at line 68 of file transform_ops.cc.
Referenced by TRANSFORM_OT_edge_slide(), and transformops_loopsel_hack().
|
static |
Definition at line 66 of file transform_ops.cc.
Referenced by TRANSFORM_OT_mirror().
|
static |
Definition at line 74 of file transform_ops.cc.
Referenced by TRANSFORM_OT_rotate_normal().
|
static |
Definition at line 63 of file transform_ops.cc.
Referenced by TRANSFORM_OT_push_pull().
|
static |
Definition at line 58 of file transform_ops.cc.
Referenced by TRANSFORM_OT_resize().
|
static |
Definition at line 56 of file transform_ops.cc.
Referenced by TRANSFORM_OT_rotate().
|
static |
Definition at line 73 of file transform_ops.cc.
Referenced by TRANSFORM_OT_seq_slide().
|
static |
Definition at line 60 of file transform_ops.cc.
Referenced by TRANSFORM_OT_shear().
|
static |
Definition at line 62 of file transform_ops.cc.
Referenced by TRANSFORM_OT_shrink_fatten().
|
static |
Definition at line 59 of file transform_ops.cc.
Referenced by TRANSFORM_OT_skin_resize().
|
static |
Definition at line 64 of file transform_ops.cc.
Referenced by TRANSFORM_OT_tilt().
|
static |
Definition at line 57 of file transform_ops.cc.
Referenced by TRANSFORM_OT_tosphere().
|
static |
Definition at line 65 of file transform_ops.cc.
Referenced by TRANSFORM_OT_trackball().
|
static |
Definition at line 55 of file transform_ops.cc.
Referenced by TRANSFORM_OT_translate().
|
static |
Definition at line 71 of file transform_ops.cc.
Referenced by TRANSFORM_OT_vert_crease().
|
static |
Definition at line 69 of file transform_ops.cc.
Referenced by TRANSFORM_OT_vert_slide().
| const EnumPropertyItem rna_enum_transform_mode_type_items[] |
Definition at line 121 of file transform_ops.cc.
Referenced by CURVE_OT_extrude(), GRAPH_OT_duplicate(), blender::ed::object::OBJECT_OT_duplicate(), and TRANSFORM_OT_transform().
|
static |
Definition at line 97 of file transform_ops.cc.
Referenced by ED_keymap_transform(), transform_modal(), transform_operatortypes(), and transformops_mode().
|
static |
Definition at line 53 of file transform_ops.cc.
Referenced by TRANSFORM_OT_bbone_resize(), TRANSFORM_OT_resize(), and TRANSFORM_OT_skin_resize().
|
static |
Definition at line 52 of file transform_ops.cc.
Referenced by TRANSFORM_OT_resize().