Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
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:
User Information: Cinema 4D Version: 12 Platform: Windows ; Mac OSX ; Language(s) : C++ ;
--------- Hi,
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).
Any hints? Thanks.
Klaus
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).
cheers, Matthias
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.