Cleanup: Make function static
This commit is contained in:
parent
2841d225a9
commit
77aac42fbc
|
@ -157,10 +157,6 @@ bool edit_modifier_poll_generic(struct bContext *C,
|
|||
const bool is_liboverride_allowed);
|
||||
void edit_modifier_properties(struct wmOperatorType *ot);
|
||||
bool edit_modifier_invoke_properties(struct bContext *C, struct wmOperator *op);
|
||||
bool edit_modifier_invoke_properties_with_hover(struct bContext *C,
|
||||
struct wmOperator *op,
|
||||
const struct wmEvent *event,
|
||||
int *r_retval);
|
||||
|
||||
struct ModifierData *edit_modifier_property_get(struct wmOperator *op,
|
||||
struct Object *ob,
|
||||
|
|
|
@ -1120,10 +1120,10 @@ bool edit_modifier_invoke_properties(bContext *C, wmOperator *op)
|
|||
* with a UI panel below the mouse cursor, unless a specific modifier is set with a context
|
||||
* pointer. Used in order to apply modifier operators on hover over their panels.
|
||||
*/
|
||||
bool edit_modifier_invoke_properties_with_hover(bContext *C,
|
||||
wmOperator *op,
|
||||
const wmEvent *event,
|
||||
int *r_retval)
|
||||
static bool edit_modifier_invoke_properties_with_hover(bContext *C,
|
||||
wmOperator *op,
|
||||
const wmEvent *event,
|
||||
int *r_retval)
|
||||
{
|
||||
if (RNA_struct_property_is_set(op->ptr, "modifier")) {
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue