gazebosim/gz-common

Potential bug in Collada importer

Open

#245 opened on Sep 7, 2021

View on GitHub
 (6 comments) (0 reactions) (0 assignees)C++ (59 forks)auto 404
buggraphicshelp wanted

Repository metrics

Stars
 (28 stars)
PR merge metrics
 (PR metrics pending)

Description

Environment

  • OS Version: Ubuntu 18.04 and Ubuntu 20.04
  • Source or binary build? Source, compiled from main (e70a75d107ba86bb3d1a68690e1d33bfaa4cbb29)

Description

I have two almost exact .dae meshes. One of them loads and the other doesn't with the following error message:

[GUI] [Err] [Ogre2MeshFactory.cc:559] Cannot load mesh with zero sub-meshes
[GUI] [Err] [Ogre2MeshFactory.cc:125] Failed to get Ogre item for [file:///home/caguero/vrx2022_ws/src/vrx/vrx_gazebo/models/placard_2022/meshes/Placard.dae]
[GUI] [Err] [SceneManager.cc:382] Failed to load geometry for visual: visual

placard.zip

See the attached .zip containing two meshes. placard_2022.dae loads but Placard.dae doesn't load. I recommend to run meld to see the differences. The diff shows just a difference in scene id name and <instance_visual_scene url=.

Steps to reproduce

  1. Drag and drop placard_2022.dae into the scene. The mesh should load.
  2. Drag and drop Placard.dae into the scene. The mesh doesn't load.

Contributor guide