<p><br>
On Jul 3, 2012 9:07 PM, "Sven Langkamp" <<a href="mailto:sven.langkamp@gmail.com" target="_blank">sven.langkamp@gmail.com</a>> wrote:<br>
><br>
> On Tue, Jul 3, 2012 at 9:07 PM, Michael O'Sullivan <<a href="mailto:francium.duck@gmail.com" target="_blank">francium.duck@gmail.com</a>> wrote:<br>
>><br>
>> Hello!<br>
>><br>
>> I'm very impressed with Krita, and would like to contribute. I've only<br>
>> started looking at the source code today though, and I'm now feeling<br>
>> rather stupid.<br>
>><br>
>> The scratch I'd like to itch is the following bug:<br>
>> Bug 299844 - using a shape tool creates new shape layer even if shape<br>
>> layer selected<br>
>> <a href="https://bugs.kde.org/show_bug.cgi?id=299844" target="_blank">https://bugs.kde.org/show_bug.cgi?id=299844</a><br>
>><br>
>> I've found that the "draw a path" and "draw straight line with current<br>
>> brush" tools don't seemed to be influenced by this bug, so I was<br>
>> hoping to compare and contrast the implementations of these tools with<br>
>> those of the ellipse and rectangle shape tools. The only problem is,<br>
>> I'm not sure which files the "draw a path" and "draw straight line<br>
>> with current brush" tools are implemented in the krita/ui/tools<br>
>> directory. Can anyone point me in the right direction?<br>
>><br>
><br>
> Welcome!<br>
><br>
> krita/ui/tools are just the base classes for tools. The specific tools are under krita/plugins/tools.<br>
> The line and path tool are under krita/plugins/tools/defaulttools kis_tool_line and kis_tool_path<br>
><br>
> You might also have a look at ui/kis_shape_controller.cpp there is a method addShape that adds the new shape layer.<br>
><br>
> If you have questions you can also ask in the Krita IRC channel #krita on <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a><br>
><br>
> Good luck!<br>
><br>
> _______________________________________________<br>
> kimageshop mailing list<br>
> <a href="mailto:kimageshop@kde.org" target="_blank">kimageshop@kde.org</a><br>
> <a href="https://mail.kde.org/mailman/listinfo/kimageshop" target="_blank">https://mail.kde.org/mailman/listinfo/kimageshop</a><br>
></p>
<p>Thank you so much! This may take me a little while; I'm still working out how it all fits together. I'll lurk on the irc channel :)</p><p>Michael</p>