mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-13 02:00:35 +05:00
0052898: TC 7.7.0: Regression "Glue Faces" dialog glues all faces instead selected faces
This commit is contained in:
parent
0141ab7c44
commit
1db636b7ff
@ -144,7 +144,7 @@ namespace GEOM
|
||||
TPythonDump::operator<< (const std::list<Handle(GEOM_Object)>& theObjects)
|
||||
{
|
||||
Standard_Integer aLength = theObjects.size();
|
||||
if ( aLength > 1 ) {
|
||||
if ( aLength != 1 ) {
|
||||
myStream << "[";
|
||||
}
|
||||
std::list<Handle(GEOM_Object)>::const_iterator obj = theObjects.begin();
|
||||
@ -152,7 +152,7 @@ namespace GEOM
|
||||
*this << *obj;
|
||||
if ( i < aLength ) myStream << ", ";
|
||||
}
|
||||
if ( aLength > 1 ) {
|
||||
if ( aLength != 1 ) {
|
||||
myStream << "]";
|
||||
}
|
||||
return *this;
|
||||
|
@ -615,8 +615,6 @@ bool RepairGUI_GlueDlg::onAcceptLocal()
|
||||
return false;
|
||||
}
|
||||
|
||||
erasePreview(false);
|
||||
|
||||
try {
|
||||
if (openCommand()) {
|
||||
SUIT_OverrideCursor wc;
|
||||
@ -672,6 +670,8 @@ bool RepairGUI_GlueDlg::onAcceptLocal()
|
||||
abortCommand();
|
||||
}
|
||||
|
||||
erasePreview(false);
|
||||
|
||||
updateViewer();
|
||||
activateSelection();
|
||||
updateButtonState();
|
||||
|
Loading…
Reference in New Issue
Block a user