Fix SVACE issue 62/206462/2
authorHeeyong Song <heeyong.song@samsung.com>
Mon, 20 May 2019 01:07:09 +0000 (10:07 +0900)
committerHeeyong Song <heeyong.song@samsung.com>
Fri, 24 May 2019 01:31:53 +0000 (01:31 +0000)
Change-Id: I77c735b8430eb9916e65b616c6395b9d66646d0e

dali/internal/event/events/pinch-gesture-processor.cpp

index 8840f5f..f638af2 100644 (file)
@@ -121,7 +121,10 @@ void PinchGestureProcessor::SetMinimumPinchDistance( float value )
   if( mGestureRecognizer )
   {
     PinchGestureRecognizer* pinchRecognizer = dynamic_cast<PinchGestureRecognizer*>(mGestureRecognizer.Get());
-    pinchRecognizer->SetMinimumPinchDistance(value);
+    if( pinchRecognizer )
+    {
+      pinchRecognizer->SetMinimumPinchDistance(value);
+    }
   }
 }