On 16/06/2014 at 03:45, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 14
Platform: Mac OSX ;
Language(s) : C++ ;
---------
I changed the class type of my plugin from:
class cPolyPaintTool : public ToolData
to
class cPolyPaintTool : public DescriptionToolData
and now, the line:
return RegisterToolPlugin(ID_POLYPAINTTOOL, GeLoadString(IDS_POLYPAINTTOOL),PLUGINFLAG_TOOL_OBJECTHIGHLIGHT,AutoBitmap("icontool.tif"),GeLoadString(IDS_POLYPAINTTOOL_HELP), gNew cPolyPaintTool);
}
returns an error of "Allocating an object of abstract class type 'cPolyPaintTool'"
If I get back to ToolData, it builds fine.
What can I bo doing wrong?