ColladaLoader: fix cases where VERTEX and NORMAL share same polylist <p> (#2825)
* add test to check gazebo model generated by assimp4, see #2682
* Length of polylist <p> is not the number of inputs
(i.e. VERTEX and NORMAL) * vcount.size() * 3.
If both VERTEX and NORMAL have offset 0, then the length of
polylist <p> is vcount.size() * 3.
So use length of set(offset) as inputSize.
This fix for cases where VERTEX and NORMAL share same vcounts, see https://github.com/osrf/gazebo/issues/2682#issue-602951524
Signed-off-by: Steve Peters <email address hidden>
Co-authored-by: Steve Peters <email address hidden>
be44390...
by
Louise Poubel <email address hidden>
Port Ignition Common's profiler to Gazebo 9 (#2813)
Co-authored-by: Jose Luis Rivero <email address hidden>
Co-authored-by: Louise Poubel <email address hidden>
Co-authored-by: Steve Peters <email address hidden>