comparison Applications/Samples/SingleFrameEditorApplication.h @ 487:e4febcef669e am-touch-events

fix warning
author am@osimis.io
date Fri, 15 Feb 2019 18:43:41 +0100
parents 2f6ecb5037ea
children aede9b042cb7
comparison
equal deleted inserted replaced
484:7bf001b9d244 487:e4febcef669e
245 245
246 size_t selected; 246 size_t selected;
247 247
248 if (widget.LookupSelectedLayer(selected) && 248 if (widget.LookupSelectedLayer(selected) &&
249 (tool_ == Tool_Crop || 249 (tool_ == Tool_Crop ||
250 tool_ == Tool_Resize) || 250 tool_ == Tool_Resize ||
251 tool_ == Tool_Mask) 251 tool_ == Tool_Mask))
252 { 252 {
253 RadiographyScene::LayerAccessor accessor(widget.GetScene(), selected); 253 RadiographyScene::LayerAccessor accessor(widget.GetScene(), selected);
254 254
255 ControlPoint controlPoint; 255 ControlPoint controlPoint;
256 if (accessor.GetLayer().LookupControlPoint(controlPoint, x, y, view.GetZoom(), GetHandleSize())) 256 if (accessor.GetLayer().LookupControlPoint(controlPoint, x, y, view.GetZoom(), GetHandleSize()))