Fix a pb when the parser send polygon with size 0 for robot hpp builder.
Fix a pb when the parser send polygon with size 0 for robot hpp builder.

Fix also a bug related to Material numbering.

jrl-umi3218/jrl-dynamics,jrl-umi3218/jrl-dynamics