Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
hpp-fcl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Guilhem Saurel
hpp-fcl
Commits
33483cdf
Commit
33483cdf
authored
8 years ago
by
jcarpent
Browse files
Options
Downloads
Patches
Plain Diff
[Loader] Fix bug with missing C_Str method in aiString
parent
5f2e2ad7
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
include/hpp/fcl/mesh_loader/assimp.h
+2
-0
2 additions, 0 deletions
include/hpp/fcl/mesh_loader/assimp.h
with
2 additions
and
0 deletions
include/hpp/fcl/mesh_loader/assimp.h
+
2
−
0
View file @
33483cdf
...
@@ -166,9 +166,11 @@ inline void buildMesh (const fcl::Vec3f & scale,
...
@@ -166,9 +166,11 @@ inline void buildMesh (const fcl::Vec3f & scale,
aiFace
&
face
=
input_mesh
->
mFaces
[
j
];
aiFace
&
face
=
input_mesh
->
mFaces
[
j
];
if
(
face
.
mNumIndices
!=
3
)
{
if
(
face
.
mNumIndices
!=
3
)
{
std
::
stringstream
ss
;
std
::
stringstream
ss
;
#ifdef FCL_USE_ASSIMP_UNIFIED_HEADER_NAMES
ss
<<
"Mesh "
<<
input_mesh
->
mName
.
C_Str
()
<<
" has a face with "
ss
<<
"Mesh "
<<
input_mesh
->
mName
.
C_Str
()
<<
" has a face with "
<<
face
.
mNumIndices
<<
" vertices. This is not supported
\n
"
;
<<
face
.
mNumIndices
<<
" vertices. This is not supported
\n
"
;
ss
<<
"Node name is: "
<<
node
->
mName
.
C_Str
()
<<
"
\n
"
;
ss
<<
"Node name is: "
<<
node
->
mName
.
C_Str
()
<<
"
\n
"
;
#endif
ss
<<
"Mesh index: "
<<
i
<<
"
\n
"
;
ss
<<
"Mesh index: "
<<
i
<<
"
\n
"
;
ss
<<
"Face index: "
<<
j
<<
"
\n
"
;
ss
<<
"Face index: "
<<
j
<<
"
\n
"
;
throw
std
::
invalid_argument
(
ss
.
str
());
throw
std
::
invalid_argument
(
ss
.
str
());
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment