Blender V2.61 - r43446
Classes | Typedefs | Functions

loopcut.c File Reference

#include <float.h>
#include <string.h>
#include <ctype.h>
#include <stdio.h>
#include "DNA_ID.h"
#include "DNA_object_types.h"
#include "DNA_screen_types.h"
#include "DNA_scene_types.h"
#include "DNA_userdef_types.h"
#include "DNA_windowmanager_types.h"
#include "MEM_guardedalloc.h"
#include "PIL_time.h"
#include "BLI_blenlib.h"
#include "BLI_dynstr.h"
#include "BLI_editVert.h"
#include "BLI_math.h"
#include "BLI_utildefines.h"
#include "BKE_blender.h"
#include "BKE_context.h"
#include "BKE_depsgraph.h"
#include "BKE_mesh.h"
#include "BKE_modifier.h"
#include "BKE_report.h"
#include "BKE_scene.h"
#include "BKE_array_mallocn.h"
#include "BIF_gl.h"
#include "BIF_glutil.h"
#include "IMB_imbuf_types.h"
#include "ED_screen.h"
#include "ED_space_api.h"
#include "ED_view3d.h"
#include "ED_mesh.h"
#include "ED_numinput.h"
#include "RNA_access.h"
#include "RNA_define.h"
#include "UI_interface.h"
#include "WM_api.h"
#include "WM_types.h"
#include "mesh_intern.h"

Go to the source code of this file.

Classes

struct  tringselOpData

Typedefs

typedef struct tringselOpData tringselOpData

Functions

static void ringsel_draw (const bContext *C, ARegion *UNUSED(ar), void *arg)
static void edgering_sel (tringselOpData *lcd, int previewlines, int select)
static void ringsel_find_edge (tringselOpData *lcd, int cuts)
static void ringsel_finish (bContext *C, wmOperator *op)
static void ringsel_exit (wmOperator *op)
static int ringsel_init (bContext *C, wmOperator *op, int do_cut)
static int ringcut_cancel (bContext *UNUSED(C), wmOperator *op)
static int ringsel_invoke (bContext *C, wmOperator *op, wmEvent *evt)
static int ringcut_invoke (bContext *C, wmOperator *op, wmEvent *evt)
static int ringcut_modal (bContext *C, wmOperator *op, wmEvent *event)
void MESH_OT_edgering_select (wmOperatorType *ot)
void MESH_OT_loopcut (wmOperatorType *ot)

Detailed Description

Definition in file loopcut.c.


Typedef Documentation


Function Documentation

static void edgering_sel ( tringselOpData lcd,
int  previewlines,
int  select 
) [static]
void MESH_OT_edgering_select ( wmOperatorType ot)
void MESH_OT_loopcut ( wmOperatorType ot)
static int ringcut_cancel ( bContext UNUSEDC,
wmOperator op 
) [static]

Definition at line 362 of file loopcut.c.

References OPERATOR_CANCELLED, and ringsel_exit().

Referenced by MESH_OT_loopcut(), and ringcut_modal().

static int ringcut_invoke ( bContext C,
wmOperator op,
wmEvent evt 
) [static]
static int ringcut_modal ( bContext C,
wmOperator op,
wmEvent event 
) [static]
static void ringsel_draw ( const bContext C,
ARegion UNUSEDar,
void *  arg 
) [static]
static void ringsel_exit ( wmOperator op) [static]
static void ringsel_find_edge ( tringselOpData lcd,
int  cuts 
) [static]
static void ringsel_finish ( bContext C,
wmOperator op 
) [static]
static int ringsel_init ( bContext C,
wmOperator op,
int  do_cut 
) [static]
static int ringsel_invoke ( bContext C,
wmOperator op,
wmEvent evt 
) [static]