3D View boarder/lasso select tool options
Add tool options to control how select operates (add/sub/set/and/xor). Note: edit mode armature select still needs to support all options, this is complicated by how it handles partial end-point selection.
This commit is contained in:
@@ -364,6 +364,7 @@ void WM_operator_properties_select_action(struct wmOperatorType *ot, int
|
||||
void WM_operator_properties_select_action_simple(struct wmOperatorType *ot, int default_action);
|
||||
void WM_operator_properties_select_random(struct wmOperatorType *ot);
|
||||
int WM_operator_properties_select_random_seed_increment_get(wmOperator *op);
|
||||
void WM_operator_properties_select_operation(struct wmOperatorType *ot);
|
||||
struct CheckerIntervalParams {
|
||||
int nth; /* bypass when set to zero */
|
||||
int skip;
|
||||
@@ -375,14 +376,6 @@ void WM_operator_properties_checker_interval_from_op(
|
||||
bool WM_operator_properties_checker_interval_test(
|
||||
const struct CheckerIntervalParams *op_params, int depth);
|
||||
|
||||
|
||||
/* MOVE THIS SOMEWHERE ELSE */
|
||||
#define SEL_TOGGLE 0
|
||||
#define SEL_SELECT 1
|
||||
#define SEL_DESELECT 2
|
||||
#define SEL_INVERT 3
|
||||
|
||||
|
||||
/* flags for WM_operator_properties_filesel */
|
||||
#define WM_FILESEL_RELPATH (1 << 0)
|
||||
|
||||
@@ -391,7 +384,6 @@ bool WM_operator_properties_checker_interval_test(
|
||||
#define WM_FILESEL_FILEPATH (1 << 3)
|
||||
#define WM_FILESEL_FILES (1 << 4)
|
||||
|
||||
|
||||
/* operator as a python command (resultuing string must be freed) */
|
||||
char *WM_operator_pystring_ex(struct bContext *C, struct wmOperator *op,
|
||||
const bool all_args, const bool macro_args,
|
||||
|
||||
Reference in New Issue
Block a user