On 11/06/2016 at 00:57, xxxxxxxx wrote:
Cinema 4D Version: R17
Platform: Windows ;
Language(s) : C++ ;
In my plugin I'm generating a dynamic description that uses CUSTOMDATATYPE_GRADIENT. I have noticed though, that its colors do not track the document color profile setting. I am aware that when generating descriptions via a .res file there is an ICC_BASEDOCUMENT option to get this behaviour.
How would I go about specifying this when creating the dynamic description's BaseContainer?
On 13/06/2016 at 02:17, xxxxxxxx wrote:
the ICC_BASEDOCUMENT option corresponds to the DR_COLORFIELD_ICC_BASEDOC flag of the BaseContainer.
On 13/06/2016 at 03:40, xxxxxxxx wrote:
This solves the issue I was having.
Perhaps the GetSetDParameter plugin sample could also be modified to include this flag.