Commit 3fd3ab66 authored by Jan Möbius's avatar Jan Möbius

Removed warning

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@9594 383ad7c9-94d9-4d36-a494-682f7c89f535
parent bb753349
......@@ -112,11 +112,12 @@ toggleBSplineCurveSelection(QMouseEvent* _event)
// toggle selection
if( bsco->splineCurve()->get_knotvector_ref()->selections_available() )
{
if( target_idx < bsco->splineCurve()->get_knotvector_ref()->size())
if( target_idx < bsco->splineCurve()->get_knotvector_ref()->size()) {
if( bsco->splineCurve()->get_knotvector_ref()->selection( target_idx) == 0)
bsco->splineCurve()->get_knotvector_ref()->selection( target_idx ) = 1;
else
bsco->splineCurve()->get_knotvector_ref()->selection( target_idx ) = 0;
}
}
emit updateView();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment