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
Merge remote branch 'origin/V7_dev' into V8_0_0_BR
[modules/geom.git]
/
src
/
EntityGUI
/
EntityGUI_SketcherDlg.cxx
diff --git
a/src/EntityGUI/EntityGUI_SketcherDlg.cxx
b/src/EntityGUI/EntityGUI_SketcherDlg.cxx
index 29af40921bc49591ebc0ef979b609c346d0236bf..6749738fdec2ec85ebfbfd9ab742db57ca5a3be2 100644
(file)
--- a/
src/EntityGUI/EntityGUI_SketcherDlg.cxx
+++ b/
src/EntityGUI/EntityGUI_SketcherDlg.cxx
@@
-541,7
+541,7
@@
void EntityGUI_SketcherDlg::InitClick()
Group4Spin->hide();
GroupRect->hide();
globalSelection(); // close local selection to clear it
Group4Spin->hide();
GroupRect->hide();
globalSelection(); // close local selection to clear it
- localSelection(
GEOM::GEOM_Object::_nil(),
TopAbs_VERTEX );
+ localSelection( TopAbs_VERTEX );
}
}
@@
-632,15
+632,14
@@
void EntityGUI_SketcherDlg::RectClicked()
SIGNAL( currentSelectionChanged() ), this, SLOT( SelectionIntoArgument() ) );
GroupRect->show();
SIGNAL( currentSelectionChanged() ), this, SLOT( SelectionIntoArgument() ) );
GroupRect->show();
-
+
myX1=0;
myX1=0;
- myX2=10;
- myY1=0;
- myY2=10;
-
GroupRect->SpinBox_DX1->setValue(myX1);
GroupRect->SpinBox_DX1->setValue(myX1);
+ myY1=0;
GroupRect->SpinBox_DY1->setValue(myY1);
GroupRect->SpinBox_DY1->setValue(myY1);
+ myX2=10;
GroupRect->SpinBox_DX2->setValue(myX2);
GroupRect->SpinBox_DX2->setValue(myX2);
+ myY2=10;
GroupRect->SpinBox_DY2->setValue(myY2);
resize( minimumSizeHint() );
GroupRect->SpinBox_DY2->setValue(myY2);
resize( minimumSizeHint() );
@@
-1144,7
+1143,7
@@
void EntityGUI_SketcherDlg::ClickOnEnd()
}
QString Command = myCommand.join( "" );
}
QString Command = myCommand.join( "" );
- Sketcher_Profile aProfile = Sketcher_Profile( Command.to
Ascii
() );
+ Sketcher_Profile aProfile = Sketcher_Profile( Command.to
Latin1
() );
bool isDone = false;
TopoDS_Shape myShape = aProfile.GetShape( &isDone );
if ( isDone ) {
bool isDone = false;
TopoDS_Shape myShape = aProfile.GetShape( &isDone );
if ( isDone ) {
@@
-1572,7
+1571,7
@@
void EntityGUI_SketcherDlg::SetEditCurrentArgument()
selButton->setDown(true);
}
globalSelection(); // close local selection to clear it
selButton->setDown(true);
}
globalSelection(); // close local selection to clear it
- localSelection(
GEOM::GEOM_Object::_nil(), myNeedType
);
+ localSelection(
myNeedType
);
}
}
@@
-2342,12
+2341,12
@@
bool EntityGUI_SketcherDlg::execute( ObjectList& objects )
//Last Shape
QString Command1 = myCommand.join( "" );
//Last Shape
QString Command1 = myCommand.join( "" );
- Sketcher_Profile aProfile1( Command1.to
Ascii
() );
+ Sketcher_Profile aProfile1( Command1.to
Latin1
() );
myShape1 = aProfile1.GetShape();
//Current Shape
QString Command2 = Command1 + GetNewCommand( aParameters );
myShape1 = aProfile1.GetShape();
//Current Shape
QString Command2 = Command1 + GetNewCommand( aParameters );
- Sketcher_Profile aProfile2( Command2.to
Ascii
() );
+ Sketcher_Profile aProfile2( Command2.to
Latin1
() );
myShape2 = aProfile2.GetShape( &isDone, &error );
//Error Message
myShape2 = aProfile2.GetShape( &isDone, &error );
//Error Message