Blender V5.3
editmesh_add.cc File Reference
#include <cstdarg>
#include "BLI_math_matrix_c.hh"
#include "BLI_sys_types.hh"
#include "BLT_translation.hh"
#include "BKE_context.hh"
#include "BKE_editmesh.hh"
#include "BKE_lib_id.hh"
#include "BKE_mesh.h"
#include "BKE_paint.hh"
#include "DNA_mesh_types.h"
#include "DNA_object_types.h"
#include "DNA_scene_types.h"
#include "DEG_depsgraph.hh"
#include "ED_mesh.hh"
#include "ED_object.hh"
#include "ED_screen.hh"
#include "ED_sculpt.hh"
#include "GEO_join_geometries.hh"
#include "RNA_access.hh"
#include "RNA_define.hh"
#include "WM_api.hh"
#include "WM_types.hh"
#include "mesh_intern.hh"

Go to the source code of this file.

Classes

struct  blender::MakePrimitiveData

Namespaces

namespace  blender
 BMesh Iterators.

Macros

#define MESH_ADD_VERTS_MAXI   10000000

Functions

static Object * blender::make_prim_init (bContext *C, wmOperator *op, const char *idname, const float loc[3], const float rot[3], const float scale[3], ushort local_view_bits, MakePrimitiveData *r_creation_data)
static BMesh * blender::make_prim_init_sculpt ()
static void blender::make_prim_finish_sculpt_cancelled (BMesh *bm)
static void blender::init_facesets (const Mesh *object_mesh, Mesh *primitive_mesh)
static void blender::make_prim_finish_sculpt (bContext *C, Object *ob, BMesh *bm)
static void blender::make_prim_finish (bContext *C, Object *obedit, const MakePrimitiveData *creation_data, int enter_editmode)
static bool blender::make_prim_from_bmo_args (bContext *C, wmOperator *op, Object *obedit, const MakePrimitiveData *creation_data, const bool calc_uvs, const char *fmt,...)
static wmOperatorStatus blender::add_primitive_plane_exec (bContext *C, wmOperator *op)
void blender::MESH_OT_primitive_plane_add (wmOperatorType *ot)
static wmOperatorStatus blender::add_primitive_cube_exec (bContext *C, wmOperator *op)
void blender::MESH_OT_primitive_cube_add (wmOperatorType *ot)
static wmOperatorStatus blender::add_primitive_circle_exec (bContext *C, wmOperator *op)
void blender::MESH_OT_primitive_circle_add (wmOperatorType *ot)
static wmOperatorStatus blender::add_primitive_cylinder_exec (bContext *C, wmOperator *op)
void blender::MESH_OT_primitive_cylinder_add (wmOperatorType *ot)
static wmOperatorStatus blender::add_primitive_cone_exec (bContext *C, wmOperator *op)
void blender::MESH_OT_primitive_cone_add (wmOperatorType *ot)
static wmOperatorStatus blender::add_primitive_grid_exec (bContext *C, wmOperator *op)
void blender::MESH_OT_primitive_grid_add (wmOperatorType *ot)
static wmOperatorStatus blender::add_primitive_monkey_exec (bContext *C, wmOperator *op)
void blender::MESH_OT_primitive_monkey_add (wmOperatorType *ot)
static wmOperatorStatus blender::add_primitive_quadsphere_exec (bContext *C, wmOperator *op)
void blender::MESH_OT_primitive_quad_sphere_add (wmOperatorType *ot)
static wmOperatorStatus blender::add_primitive_uvsphere_exec (bContext *C, wmOperator *op)
void blender::MESH_OT_primitive_uv_sphere_add (wmOperatorType *ot)
static wmOperatorStatus blender::add_primitive_icosphere_exec (bContext *C, wmOperator *op)
void blender::MESH_OT_primitive_ico_sphere_add (wmOperatorType *ot)

Variables

static const EnumPropertyItem blender::fill_type_items []
static const EnumPropertyItem blender::quadsphere_method_items []

Macro Definition Documentation

◆ MESH_ADD_VERTS_MAXI