Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51f6c9c
)
Indexation of OCC sequence is started from 1, but not 0.
author
akl
<akl@opencascade.com>
Mon, 22 Apr 2013 10:36:36 +0000
(10:36 +0000)
committer
akl
<akl@opencascade.com>
Mon, 22 Apr 2013 10:36:36 +0000
(10:36 +0000)
src/SMESH_I/SMESH_2smeshpy.cxx
patch
|
blob
|
history
diff --git
a/src/SMESH_I/SMESH_2smeshpy.cxx
b/src/SMESH_I/SMESH_2smeshpy.cxx
index cabe36237be79be987973860dd77cfec785cfa0b..7d5e9f23ee9278956160791b4f65f8d9431f4858 100644
(file)
--- a/
src/SMESH_I/SMESH_2smeshpy.cxx
+++ b/
src/SMESH_I/SMESH_2smeshpy.cxx
@@
-3715,9
+3715,9
@@
void _pyCommand::Comment()
myString.Insert( i, "#" );
for ( int iPart = 0; iPart < myBegPos.Length(); ++iPart )
{
- int begPos = GetBegPos( iPart );
+ int begPos = GetBegPos( iPart
+ 1
);
if ( begPos != UNKNOWN )
- SetBegPos( iPart, begPos + 1 );
+ SetBegPos( iPart
+ 1
, begPos + 1 );
}
}
}