mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-13 02:00:35 +05:00
refs #1373 comment out the limit of selected points in the local-point-list
This commit is contained in:
parent
ed9a2d484b
commit
190ad709e4
@ -80,11 +80,10 @@ CurveCreator_Widget::CurveCreator_Widget(QWidget* parent,
|
||||
CurveCreator_ICurve *theCurve,
|
||||
const int theActionFlags,
|
||||
const QStringList& theCoordTitles,
|
||||
Qt::WindowFlags fl,
|
||||
int theLocalPointRowLimit )
|
||||
Qt::WindowFlags fl )
|
||||
: QWidget(parent), myNewSectionEditor(NULL), myCurve(theCurve), mySection(0),
|
||||
myDragStarted( false ), myDragInteractionStyle( SUIT_ViewModel::STANDARD ),
|
||||
myOCCViewer( 0 ), myLocalPointRowLimit( theLocalPointRowLimit ),
|
||||
myOCCViewer( 0 ),
|
||||
myOld2DMode(OCCViewer_ViewWindow::No2dMode)
|
||||
{
|
||||
bool isToEnableClosed = !( theActionFlags & DisableClosedSection );
|
||||
@ -1460,16 +1459,16 @@ void CurveCreator_Widget::updateLocalPointView()
|
||||
CurveCreator_Utils::getSelectedPoints( aContext, myCurve, myLocalPoints );
|
||||
int aNbPoints = myLocalPoints.size();
|
||||
|
||||
bool isRowLimit = aNbPoints > myLocalPointRowLimit;
|
||||
myLocalPointView->setVisible( getActionMode() == ModificationMode && !isRowLimit );
|
||||
//bool isRowLimit = aNbPoints > myLocalPointRowLimit;
|
||||
myLocalPointView->setVisible( getActionMode() == ModificationMode/* && !isRowLimit */);
|
||||
|
||||
if ( !isRowLimit ) {
|
||||
bool isBlocked = myLocalPointView->blockSignals(true);
|
||||
//if ( !isRowLimit ) {
|
||||
bool isBlocked = myLocalPointView->blockSignals(true);
|
||||
|
||||
myLocalPointView->setLocalPointsToTable( myLocalPoints );
|
||||
myLocalPointView->setLocalPointsToTable( myLocalPoints );
|
||||
|
||||
myLocalPointView->blockSignals( isBlocked );
|
||||
}
|
||||
myLocalPointView->blockSignals( isBlocked );
|
||||
//}
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -71,8 +71,7 @@ public:
|
||||
CurveCreator_ICurve *theCurve,
|
||||
const int theActionFlags = NoFlags,
|
||||
const QStringList& theCoordTitles = QStringList(),
|
||||
Qt::WindowFlags fl=0,
|
||||
int theLocalPointRowLimit = 20);
|
||||
Qt::WindowFlags fl=0);
|
||||
|
||||
// OCC viewer manipulation
|
||||
void setOCCViewer( OCCViewer_Viewer* theViewer );
|
||||
|
Loading…
Reference in New Issue
Block a user