Drag&Drop TimeTrack
-
On 14/06/2016 at 07:51, xxxxxxxx wrote:
User Information:
Cinema 4D Version: R13.061
Platform: Windows ;
Language(s) : C++ ;---------
Hello,
In my pluggins, on Animation layout, in TimeLine window, is possible to Drag&Drop; the TimeTracks and I want to inhibit this, like in Cinema.In MyCTrack::Init(GeListNode *node) (derivated from CTrackData) I want to do it like here, but without success:
CTrack* track = (CTrack* ) node;
track->ChangeNBit(NBIT_NO_DD, NBITCONTROL_SET);or
GeListNode* pNode = Get();
if (pNode)
pNode->ChangeNBit(NBIT_NO_DD,NBITCONTROL_SET);Can be this (using ChangeNBit()) a possibility or do you have any hint how to do this?
Thank you,
Daniel -
On 15/06/2016 at 01:52, xxxxxxxx wrote:
Hello,
the "Time" track is not a plugin. In fact, a track is only then not dragged & dropped when it is not a plugin track (based on CTrackData). If a track can be dragged and dropped does not depend on a bit or something similar. So it seems that is is not possible to disable drag & drop for custom tracks.
Best wishes,
Sebastian