removing warning in helper function
Merge pull request #19 from kerautret/DisplayImagePrimitive3D

removing warning in helper function