visucam: avoid calling toolpath computation when operation type is not valid