|
Blender V4.3
|
#include "DNA_object_types.h"#include "BLI_math_rotation.h"#include "BLI_math_vector.h"#include "BLI_string.h"#include "BKE_context.hh"#include "BKE_editmesh.hh"#include "BKE_layer.hh"#include "BKE_report.hh"#include "RNA_access.hh"#include "RNA_define.hh"#include "WM_types.hh"#include "ED_mesh.hh"#include "ED_screen.hh"#include "ED_view3d.hh"#include "MEM_guardedalloc.h"#include "mesh_intern.hh"Go to the source code of this file.
Macros | |
| #define | USE_GIZMO |
Functions | |
Spin Operator | |
| static int | edbm_spin_exec (bContext *C, wmOperator *op) |
| static int | edbm_spin_invoke (bContext *C, wmOperator *op, const wmEvent *) |
| static bool | edbm_spin_poll_property (const bContext *, wmOperator *op, const PropertyRNA *prop) |
| void | MESH_OT_spin (wmOperatorType *ot) |
| #define USE_GIZMO |
Definition at line 35 of file editmesh_extrude_spin.cc.
|
static |
Definition at line 41 of file editmesh_extrude_spin.cc.
References BKE_editmesh_from_object(), BKE_report(), BKE_view_layer_array_from_objects_in_edit_mode_unique_data(), bm, BMEditMesh::bm, BM_ALL_NOLOOP, BM_ELEM_SELECT, BMO_op_exec(), BMO_slot_buffer_hflag_enable(), CTX_data_scene(), CTX_data_view_layer(), CTX_wm_view3d(), EDBM_flag_disable_all(), EDBM_op_finish(), EDBM_op_init(), EDBM_update(), fabsf, is_zero_v3(), M_PI, OPERATOR_CANCELLED, OPERATOR_FINISHED, params, wmOperator::ptr, wmOperator::reports, RNA_boolean_get(), RNA_float_get(), RNA_float_get_array(), RNA_int_get(), RPT_ERROR, BMOperator::slots_out, and steps.
Referenced by edbm_spin_invoke(), and MESH_OT_spin().
|
static |
Definition at line 110 of file editmesh_extrude_spin.cc.
References CTX_data_main(), CTX_data_scene(), CTX_wm_view3d(), ED_view3d_context_rv3d(), edbm_spin_exec(), View3D::gizmo_flag, OPERATOR_FINISHED, wmOperator::ptr, ret, RNA_property_float_set(), RNA_property_float_set_array(), RNA_property_is_set(), RNA_struct_find_property(), V3D_GIZMO_HIDE, RegionView3D::viewinv, WM_gizmo_group_type_ensure_ptr(), WM_gizmo_group_type_reinit_ptr(), and WM_gizmogrouptype_find().
Referenced by MESH_OT_spin().
|
static |
Definition at line 154 of file editmesh_extrude_spin.cc.
References wmOperator::ptr, RNA_boolean_get(), RNA_property_identifier(), and STR_ELEM.
Referenced by MESH_OT_spin().
| void MESH_OT_spin | ( | wmOperatorType * | ot | ) |
Definition at line 169 of file editmesh_extrude_spin.cc.
References DEG2RADF, wmOperatorType::description, ED_operator_editmesh(), edbm_spin_exec(), edbm_spin_invoke(), edbm_spin_poll_property(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, MESH_GGT_spin(), MESH_GGT_spin_redo(), wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::poll_property, PROP_ANGLE, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_float(), RNA_def_float_vector(), RNA_def_float_vector_xyz(), RNA_def_int(), RNA_def_property_flag(), RNA_def_property_subtype(), wmOperatorType::srna, and WM_gizmogrouptype_append().
Referenced by ED_operatortypes_mesh().