Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Kirill Terekhov
INMOST
Commits
c5f557ac
Commit
c5f557ac
authored
Jan 15, 2015
by
Alexander Danilov
Browse files
Fix Mesh::Load() for local files
parent
9d0ff808
Changes
1
Hide whitespace changes
Inline
Side-by-side
mesh_file.cpp
View file @
c5f557ac
...
...
@@ -686,7 +686,7 @@ ecl_exit_loop:
std
::
string
str
,
tag
,
attrval
,
path
=
""
;
std
::
vector
<
std
::
string
>
files
;
std
::
fstream
stream
(
File
.
c_str
(),
std
::
ios
::
in
);
l
=
static_cast
<
INMOST_DATA_ENUM_TYPE
>
(
File
.
find_last_of
(
"/
\\
"
)
)
;
l
=
File
.
find_last_of
(
"/
\\
"
);
if
(
l
!=
std
::
string
::
npos
)
path
=
File
.
substr
(
0
,
l
+
1
);
while
(
stream
.
good
())
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment