Project

General

Profile

Warning

Added by Piboule Alexandre over 8 years ago

Hello,

If you do a Computree core code update AND if you have created new items classes in your plugin, it could not compile anymore.

To solve it, go in the .h of each item class, and replace the following line :

CT_TYPE_IMPL_MACRO(CT_ItemClassName, CT_ParentClassName)

by :

CT_TYPE_IMPL_MACRO(CT_ItemClassName, CT_ParentClassName, Item name)

Item name can be any string (don't put quotes around it, it is a compiler macro), which you want to be displayed for describing this class in the GUI.

This change allow Computree to show an intelligible name for item classes instead of class names from the code.
If you use templated item classes, you can ask me for help or check how it is done in CT_Image2D class.

Best regards.
Alexandre Piboule.


Comments