THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 19/11/2003 at 07:35, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 8.207
Platform: Windows ;
Language(s) : C++ ;
---------
I noticed that the example data type data type property enumerations does not include the vector, only long and string. The vector is still defined in other parts of the source. These seems like an inconsistency in the source. Can you please explain?
Regards,
Thomas Cray
www.cidertank.com
#define DATATYPE_DEFAULTLONG 1
#define DATATYPE_DEFAULTSTRING 2
CustomProperty datatypeprops[] =
{
** { CUSTOMTYPE_LONG, DATATYPE_DEFAULTLONG, "DEFAULTLONG" },
{ CUSTOMTYPE_STRING, DATATYPE_DEFAULTLONG, "DEFAULTSTRING" },
** { CUSTOMTYPE_END, 0, NULL }
};
class iExampleDataType : public iCustomDataType<ExampleDataType>
{
friend class ExampleDataTypeClass;
LONG ldata;
String sdata;
Vector vdata;