Node kits can only be constructed from parts known at compile time

Create issue
Issue #61 closed
Thomas Moeller created an issue

In Coin the macro SO_KIT_ADD_CATALOG_ENTRY() directly calls getClassTypeId() of the part. This restricts node kits to be constructed only from parts for which include files are available. Using nodes registered with the scene object database by other extensions is currently unsupported. To improve compatibility with other Open Inventor implementations it would be better to look up the part type via SoType::fromName() as already done in the SO_KIT_CONSTRUCTOR() macro.

Comments (4)

  1. Log in to comment