[PD] remove superfluous nullptr checks
This commit is contained in:
@@ -318,7 +318,7 @@ void TaskPolarPatternParameters::onAxisChanged(int /*num*/)
|
||||
PartDesign::PolarPattern* pcPolarPattern = static_cast<PartDesign::PolarPattern*>(getObject());
|
||||
|
||||
try{
|
||||
if(axesLinks.getCurrentLink().getValue() == nullptr){
|
||||
if (!axesLinks.getCurrentLink().getValue()) {
|
||||
// enter reference selection mode
|
||||
hideObject();
|
||||
showBase();
|
||||
|
||||
Reference in New Issue
Block a user