Blender  V2.93
lattice_ops.c
Go to the documentation of this file.
1 /*
2  * This program is free software; you can redistribute it and/or
3  * modify it under the terms of the GNU General Public License
4  * as published by the Free Software Foundation; either version 2
5  * of the License, or (at your option) any later version.
6  *
7  * This program is distributed in the hope that it will be useful,
8  * but WITHOUT ANY WARRANTY; without even the implied warranty of
9  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10  * GNU General Public License for more details.
11  *
12  * You should have received a copy of the GNU General Public License
13  * along with this program; if not, write to the Free Software Foundation,
14  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15  *
16  * The Original Code is Copyright (C) 2008 Blender Foundation.
17  * All rights reserved.
18  */
19 
24 #include "DNA_scene_types.h"
25 
26 #include "WM_api.h"
27 
28 #include "ED_lattice.h"
29 #include "ED_screen.h"
30 
31 #include "lattice_intern.h"
32 
34 {
43 }
44 
46 {
47  wmKeyMap *keymap = WM_keymap_ensure(keyconf, "Lattice", 0, 0);
48  keymap->poll = ED_operator_editlattice;
49 }
bool ED_operator_editlattice(struct bContext *C)
Definition: screen_ops.c:598
void LATTICE_OT_select_all(wmOperatorType *ot)
void LATTICE_OT_select_random(wmOperatorType *ot)
void LATTICE_OT_select_more(wmOperatorType *ot)
void LATTICE_OT_select_ungrouped(wmOperatorType *ot)
void LATTICE_OT_select_mirror(wmOperatorType *ot)
void LATTICE_OT_select_less(wmOperatorType *ot)
void LATTICE_OT_flip(wmOperatorType *ot)
void LATTICE_OT_make_regular(wmOperatorType *ot)
void ED_keymap_lattice(wmKeyConfig *keyconf)
Definition: lattice_ops.c:45
void ED_operatortypes_lattice(void)
Definition: lattice_ops.c:33
bool(* poll)(struct bContext *)
wmKeyMap * WM_keymap_ensure(wmKeyConfig *keyconf, const char *idname, int spaceid, int regionid)
Definition: wm_keymap.c:852
void WM_operatortype_append(void(*opfunc)(wmOperatorType *))