[Bf-committers] Where is the function that draws the feedback dotted line when scale or rotate in the viewport?

Julian Eisel eiseljulian at gmail.com
Thu Dec 15 20:33:53 CET 2016


Hi,

Sounds like you're looking for drawHelpline in transform.c. Just a bit
hidden in a draw-callback ;)

Cheers,
- Julian -

On 15 December 2016 at 20:28,  <blendergit at gmail.com> wrote:
>
> Hi,
>
> I’m working in the new Grease Pencil object for 2.8 and I need to review how to set the origin of the feedback line that you have in the viewport when scale or rotate. I’m talking about the grey dotted line that change when you move the mouse.
>
> I have tried to find the function where this is drawn and where the origin is defined, but I was unable.
>
> Can anyone remember the name of the function or give me any advice or clue?
>
> Thanks,
> Antonio Vazquez
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> https://lists.blender.org/mailman/listinfo/bf-committers


More information about the Bf-committers mailing list