Drawing do 2D and 3D

On 13/03/2017 at 02:52, xxxxxxxx wrote:

User Information:
Cinema 4D Version:   R18 demo 
Platform:   Windows  ; Mac  ;  
Language(s) :     C++  ;

yesterday I chased nasty bug in drawing 3D gizmo lines into viewports and then I realized that 2D BaseDraw functions probably silently sets basedraw matrix to screen matrix.

I understand the reason why it works like this but still it is unexpected. Please add some note to documentation to 2D drawing functions that they also changes base draw matrix. Just as a hint for developers.

Thank you :-)

On 14/03/2017 at 03:37, xxxxxxxx wrote:


Thanks for reporting this unexpected behavior. I confirm the BaseDraw 2D drawing routines call bd->SetMatrix_Screen().
A note will be added to these functions.