[Gui] remove superfluous nullptr checks
This commit is contained in:
@@ -374,7 +374,7 @@ RotTransDragger::invalidateSurroundScaleCB(void *parent, SoDragger *)
|
||||
// Invalidate the surroundScale, if it exists.
|
||||
SoSurroundScale *mySS = SO_CHECK_PART(
|
||||
myParentDragger, "surroundScale", SoSurroundScale);
|
||||
if (mySS != nullptr)
|
||||
if (mySS)
|
||||
mySS->invalidate();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user