Salome HOME
projects
/
modules
/
geom.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
613a6ae
)
IPAL21444 Problem of Dumps study after reading IGES file
RELIQUAT_5x_30102009
author
dmv
<dmv@opencascade.com>
Thu, 29 Oct 2009 14:21:46 +0000
(14:21 +0000)
committer
dmv
<dmv@opencascade.com>
Thu, 29 Oct 2009 14:21:46 +0000
(14:21 +0000)
src/GEOMImpl/GEOMImpl_IInsertOperations.cxx
patch
|
blob
|
history
diff --git
a/src/GEOMImpl/GEOMImpl_IInsertOperations.cxx
b/src/GEOMImpl/GEOMImpl_IInsertOperations.cxx
index 102ebba74e2438d4f4918c9c73a8746c06a1b7e6..884c457cff9047a88f9020c76b83db5764e0618b 100644
(file)
--- a/
src/GEOMImpl/GEOMImpl_IInsertOperations.cxx
+++ b/
src/GEOMImpl/GEOMImpl_IInsertOperations.cxx
@@
-240,8
+240,10
@@
Handle(GEOM_Object) GEOMImpl_IInsertOperations::Import
}
//Make a Python command
- GEOM::TPythonDump(aFunction) << result << " = geompy.Import(\""
- << theFileName.ToCString() << "\", \"" << theFormatName.ToCString() << "\")";
+ if( theFormatName != "IGES_UNIT" ) {
+ GEOM::TPythonDump(aFunction) << result << " = geompy.Import(\""
+ << theFileName.ToCString() << "\", \"" << theFormatName.ToCString() << "\")";
+ }
SetErrorCode(OK);