Salome HOME
projects
/
modules
/
geom.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Preparation of intermediate revision
[modules/geom.git]
/
src
/
RepairGUI
/
RepairGUI_ChangeOrientationDlg.cxx
diff --git
a/src/RepairGUI/RepairGUI_ChangeOrientationDlg.cxx
b/src/RepairGUI/RepairGUI_ChangeOrientationDlg.cxx
index 4d6e6aeefa8faf5beed47659d6af5b02691621ee..93fd613a9398ee8264dcc18a6ffc05d73be35890 100644
(file)
--- a/
src/RepairGUI/RepairGUI_ChangeOrientationDlg.cxx
+++ b/
src/RepairGUI/RepairGUI_ChangeOrientationDlg.cxx
@@
-269,11
+269,12
@@
bool RepairGUI_ChangeOrientationDlg::execute( ObjectList& objects )
bool toCreateCopy = GroupPoints->CheckButton1->isChecked();
GEOM::GEOM_Object_var anObj;
bool toCreateCopy = GroupPoints->CheckButton1->isChecked();
GEOM::GEOM_Object_var anObj;
+ GEOM::GEOM_IHealingOperations_var anOper = GEOM::GEOM_IHealingOperations::_narrow( getOperation() );
if ( toCreateCopy ) {
if ( toCreateCopy ) {
- anObj =
GEOM::GEOM_IHealingOperations::_narrow( getOperation() )
->ChangeOrientationCopy( myObject );
+ anObj =
anOper
->ChangeOrientationCopy( myObject );
}
else {
}
else {
- anObj =
GEOM::GEOM_IHealingOperations::_narrow( getOperation() )
->ChangeOrientation( myObject );
+ anObj =
anOper
->ChangeOrientation( myObject );
}
if ( !anObj->_is_nil() )
}
if ( !anObj->_is_nil() )