[PD] fix pad/pocket direction issue
- the info if a custom direction is used, was incorrectly determined by checking a checkbox that only displays the vector value, no matter if it is a custom vector or not
This commit is contained in:
@@ -640,7 +640,8 @@ bool TaskPadParameters::getAlongSketchNormal(void) const
|
||||
|
||||
bool TaskPadParameters::getCustom(void) const
|
||||
{
|
||||
return ui->checkBoxDirection->isChecked();
|
||||
// index 2 is hardcoded to custom vector
|
||||
return ui->directionCB->currentIndex() == 2 ? true : false;
|
||||
}
|
||||
|
||||
std::string TaskPadParameters::getReferenceAxis(void) const
|
||||
|
||||
@@ -650,7 +650,8 @@ bool TaskPocketParameters::getAlongSketchNormal(void) const
|
||||
|
||||
bool TaskPocketParameters::getCustom(void) const
|
||||
{
|
||||
return ui->checkBoxDirection->isChecked();
|
||||
// index 2 is hardcoded to custom vector
|
||||
return ui->directionCB->currentIndex() == 2 ? true : false;
|
||||
}
|
||||
|
||||
std::string TaskPocketParameters::getReferenceAxis(void) const
|
||||
|
||||
Reference in New Issue
Block a user