Bezier surface: check selected objects

As the GUI selection changes, the Bezier surface tool avaibility is
always updated, so it is active if and only if 2-4 Bezier curves are
selected.
This commit is contained in:
balazs-bamer
2015-01-03 19:39:10 +01:00
committed by wmayer
parent 1311d5cf2c
commit 37406a968e
5 changed files with 60 additions and 48 deletions

View File

@@ -1,6 +1,6 @@
/***************************************************************************
* Copyright (c) 2014 Nathan Miller <Nathan.A.Mill[at]gmail.com> *
* Balázs Bámer *
* Copyright (c) 2014-2015 Nathan Miller <Nathan.A.Mill[at]gmail.com> *
* Balázs Bámer *
* *
* This file is part of the FreeCAD CAx development system. *
* *
@@ -54,7 +54,6 @@ BezSurf::BezSurf()
{
ADD_PROPERTY(aBList,(0,"Geom_BezierCurve"));
ADD_PROPERTY(filltype,(1));
}
//Structures