@@ -746,34 +746,34 @@ int Slot::intersectsSegment(
746
746
{
747
747
if (intersectionCount == 1 || intersectionCount == 2 )
748
748
{
749
- if (intersectionPointA = = nullptr )
749
+ if (intersectionPointA ! = nullptr )
750
750
{
751
751
globalTransformMatrix.transformPoint (intersectionPointA->x , intersectionPointA->y , *intersectionPointA);
752
- if (intersectionPointB = = nullptr )
752
+ if (intersectionPointB ! = nullptr )
753
753
{
754
754
intersectionPointB->x = intersectionPointA->x ;
755
755
intersectionPointB->y = intersectionPointA->y ;
756
756
}
757
757
}
758
- else if (intersectionPointB = = nullptr )
758
+ else if (intersectionPointB ! = nullptr )
759
759
{
760
760
globalTransformMatrix.transformPoint (intersectionPointB->x , intersectionPointB->y , *intersectionPointB);
761
761
}
762
762
}
763
763
else
764
764
{
765
- if (intersectionPointA = = nullptr )
765
+ if (intersectionPointA ! = nullptr )
766
766
{
767
767
globalTransformMatrix.transformPoint (intersectionPointA->x , intersectionPointA->y , *intersectionPointA);
768
768
}
769
769
770
- if (intersectionPointB = = nullptr )
770
+ if (intersectionPointB ! = nullptr )
771
771
{
772
772
globalTransformMatrix.transformPoint (intersectionPointB->x , intersectionPointB->y , *intersectionPointB);
773
773
}
774
774
}
775
775
776
- if (normalRadians = = nullptr )
776
+ if (normalRadians ! = nullptr )
777
777
{
778
778
globalTransformMatrix.transformPoint (cos (normalRadians->x ), sin (normalRadians->x ), _helpPoint, true );
779
779
normalRadians->x = atan2 (_helpPoint.y , _helpPoint.x );
0 commit comments