THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 13/11/2010 at 08:03, xxxxxxxx wrote:
Cinema 4D Version: 12
Platform: Windows ; Mac OSX ;
Language(s) : C++ ;
my plugin draws some additional lines to specific spline objects. I want these lines to be in the color of the object. It works fine using BaseDraw::GetObjectColor if a color is set in the basis object properties. But if not, GetObjectColor returns the default object color of the document settings but not the color of the spline as it is drawn in the editor (black).
On 18/11/2010 at 05:53, xxxxxxxx wrote:
In this case you should check if a color is set otherwise use the "Shaded Wire" color (VIEWCOLOR_SHADEDWIRE).
On 18/11/2010 at 06:12, xxxxxxxx wrote:
ok, thanks. Hope that this isn't too bad for the performance when applying this within the Draw method.