[2.12a] Entity::getTypeName() returns garbage


photo

Recommended Posts

Hello,

IG::Entity::getTypeName() always returns some garbage.

Log::message(entity->getNode()->getName());
Log::message("\n");
String entityLabel = String::format("%d %s (type %d)", entity->getID(), entity->getTypeName(), entity->getType());
Log::message(entityLabel);
Log::message("\n");
ig_entity_dummy (id: 0 type: 1 type name: Airplane)
0 p΁ (type 1)

Should be an easy fix :-)

Link to post

Hi Stephane,

Thank you! Fixed.

Best regards,
Alexander

Link to post