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
updated copyright message
[modules/geom.git]
/
src
/
TransformationGUI
/
TransformationGUI_RotationDlg.cxx
diff --git
a/src/TransformationGUI/TransformationGUI_RotationDlg.cxx
b/src/TransformationGUI/TransformationGUI_RotationDlg.cxx
index d7cf7b6b27901e09918043156d788fd38027504a..7bf0479f5ce1a241c043482cafac53082fc66c9d 100644
(file)
--- a/
src/TransformationGUI/TransformationGUI_RotationDlg.cxx
+++ b/
src/TransformationGUI/TransformationGUI_RotationDlg.cxx
@@
-1,4
+1,4
@@
-// Copyright (C) 2007-20
16 CEA/DEN, EDF R&D
, OPEN CASCADE
+// Copyright (C) 2007-20
23 CEA, EDF
, OPEN CASCADE
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@
-497,7
+497,7
@@
bool TransformationGUI_RotationDlg::execute (ObjectList& objects)
anObj = anOper->RotateCopy(myObjects[i].get(), myAxis.get(), GetAngle() * M_PI / 180.);
if (!anObj->_is_nil()) {
if(!IsPreview()) {
anObj = anOper->RotateCopy(myObjects[i].get(), myAxis.get(), GetAngle() * M_PI / 180.);
if (!anObj->_is_nil()) {
if(!IsPreview()) {
- anObj->SetParameters(aParameters.join(":").to
Latin1
().constData());
+ anObj->SetParameters(aParameters.join(":").to
Utf8
().constData());
}
objects.push_back(anObj._retn());
}
}
objects.push_back(anObj._retn());
}
@@
-509,7
+509,7
@@
bool TransformationGUI_RotationDlg::execute (ObjectList& objects)
anObj = anOper->Rotate(myObjects[i].get(), myAxis.get(), GetAngle() * M_PI / 180.);
if (!anObj->_is_nil()) {
if(!IsPreview()) {
anObj = anOper->Rotate(myObjects[i].get(), myAxis.get(), GetAngle() * M_PI / 180.);
if (!anObj->_is_nil()) {
if(!IsPreview()) {
- anObj->SetParameters(aParameters.join(":").to
Latin1
().constData());
+ anObj->SetParameters(aParameters.join(":").to
Utf8
().constData());
updateAttributes(anObj, aParameters);
}
objects.push_back(anObj._retn());
updateAttributes(anObj, aParameters);
}
objects.push_back(anObj._retn());