On 22/04/2015 at 07:30, xxxxxxxx wrote:
Hi Sebastian,
Thanks for your answer!
I've tried to implement the method inside my project, but it seems to do nothing.
Here is my code:
Bool MyPluginData::GetDDescription(GeListNode* node, Description* description, DESCFLAGS_DESC& flags)
{
if (!description->LoadDescription(IDS_MYPLUGIN))
return false;
const DescID* singleid = description->GetSingleDescID();
DescID cid = DescLevel(10002, DTYPE_REAL, 0);
if (!singleid || cid.IsPartOf(*singleid, nullptr))
{
BaseContainer bc = GetCustomDataTypeDefault(DTYPE_REAL);
bc.SetFloat(DESC_MIN, SLIDER2);
if (!description->SetParameter(cid, bc, DescLevel(0)))
return true;
}
flags |= DESCFLAGS_DESC_LOADED;
return true;
Does anybody see the problem here?
I get no errors inside Xcode, and none in C4D.
Thanks in advance for your help and time!
Greetings,
Casimir Smets