57 #define B_SEL_VERT 110
58 #define B_SEL_EDGE 111
59 #define B_SEL_FACE 112
89 ot->
idname =
"VIEW3D_OT_toggle_matcap_flip";
158 TIP_(
"Vertex select - Shift-Click for multiple modes, Ctrl-Click contracts selection"));
175 TIP_(
"Edge select - Shift-Click for multiple modes, "
176 "Ctrl-Click expands/contracts selection depending on the current mode"));
193 TIP_(
"Face select - Shift-Click for multiple modes, Ctrl-Click expands selection"));
235 if ((obedit ==
NULL) && is_paint) {
struct ScrArea * CTX_wm_area(const bContext *C)
struct Scene * CTX_data_scene(const bContext *C)
struct Object * CTX_data_edit_object(const bContext *C)
struct ViewLayer * CTX_data_view_layer(const bContext *C)
struct bGPdata * CTX_data_gpencil_data(const bContext *C)
struct View3D * CTX_wm_view3d(const bContext *C)
struct Main * CTX_data_main(const bContext *C)
struct wmWindow * CTX_wm_window(const bContext *C)
BMEditMesh * BKE_editmesh_from_object(struct Object *ob)
Return the BMEditMesh for a given object.
void DEG_id_tag_update(struct ID *id, int flag)
@ ID_RECALC_COPY_ON_WRITE
@ GP_DATA_STROKE_EDITMODE
Object is a sort of wrapper for general info.
#define OBACT(_view_layer)
#define SCE_SELECT_VERTEX
@ V3D_SHADING_MATCAP_FLIP_X
bool EDBM_selectmode_toggle_multi(struct bContext *C, const short selectmode_new, const int action, const bool use_extend, const bool use_expand)
void ED_undo_push(struct bContext *C, const char *str)
void ED_view3d_shade_update(struct Main *bmain, struct View3D *v3d, struct ScrArea *area)
void UI_but_flag_disable(uiBut *but, int flag)
uiBlock * uiLayoutGetBlock(uiLayout *layout)
void UI_block_func_handle_set(uiBlock *block, uiBlockHandleFunc func, void *arg)
uiLayout * uiLayoutRow(uiLayout *layout, bool align)
uiBut * uiDefIconButBitS(uiBlock *block, int type, int bit, int retval, int icon, int x, int y, short width, short height, short *poin, float min, float max, float a1, float a2, const char *tip)
void uiItemR(uiLayout *layout, struct PointerRNA *ptr, const char *propname, int flag, const char *name, int icon)
#define ND_RENDER_OPTIONS
void RNA_pointer_create(ID *id, StructRNA *type, void *data, PointerRNA *r_ptr)
struct SceneDisplay display
int(* exec)(struct bContext *, struct wmOperator *) ATTR_WARN_UNUSED_RESULT
struct wmEvent * eventstate
void WM_event_add_notifier(const bContext *C, uint type, void *reference)