mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-11-12 00:29:18 +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)
|
TPythonDump::operator<< (const std::list<Handle(GEOM_Object)>& theObjects)
|
||||||
{
|
{
|
||||||
Standard_Integer aLength = theObjects.size();
|
Standard_Integer aLength = theObjects.size();
|
||||||
if ( aLength > 1 ) {
|
if ( aLength != 1 ) {
|
||||||
myStream << "[";
|
myStream << "[";
|
||||||
}
|
}
|
||||||
std::list<Handle(GEOM_Object)>::const_iterator obj = theObjects.begin();
|
std::list<Handle(GEOM_Object)>::const_iterator obj = theObjects.begin();
|
||||||
@ -152,7 +152,7 @@ namespace GEOM
|
|||||||
*this << *obj;
|
*this << *obj;
|
||||||
if ( i < aLength ) myStream << ", ";
|
if ( i < aLength ) myStream << ", ";
|
||||||
}
|
}
|
||||||
if ( aLength > 1 ) {
|
if ( aLength != 1 ) {
|
||||||
myStream << "]";
|
myStream << "]";
|
||||||
}
|
}
|
||||||
return *this;
|
return *this;
|
||||||
|
@ -615,8 +615,6 @@ bool RepairGUI_GlueDlg::onAcceptLocal()
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
erasePreview(false);
|
|
||||||
|
|
||||||
try {
|
try {
|
||||||
if (openCommand()) {
|
if (openCommand()) {
|
||||||
SUIT_OverrideCursor wc;
|
SUIT_OverrideCursor wc;
|
||||||
@ -672,6 +670,8 @@ bool RepairGUI_GlueDlg::onAcceptLocal()
|
|||||||
abortCommand();
|
abortCommand();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
erasePreview(false);
|
||||||
|
|
||||||
updateViewer();
|
updateViewer();
|
||||||
activateSelection();
|
activateSelection();
|
||||||
updateButtonState();
|
updateButtonState();
|
||||||
|
Loading…
Reference in New Issue
Block a user