Just make the operator cancel if the region in the context is not a RegionView3d. This is not an issue isolated to this operator, it affects other ones that require a RegionView3d too, like knife. One to solve for later, at least this doesn't crash now.