This change is needed for PAINT_OT_weight_sample_group to be accessed from a menu. Otherwise using the OPTYPE_DEPENDS_ON_CURSOR flag causes both the initial activation and the selected vertex group to prompt the user to select a region.
This change is needed for PAINT_OT_weight_sample_group to be accessed from a menu. Otherwise using the OPTYPE_DEPENDS_ON_CURSOR flag causes both the initial activation and the selected vertex group to prompt the user to select a region.