so, I'm trying to get my feet wet<br>I've put a patch on the tracker with a first try at python menus for the 3d view...<br>...it's just a test to start fiddling with the code :)<br>(is the tracker the right place for this kind of patches?)<br>
<br>for now I've just moved the switch that creates "select" menus from view3d_header.c to python, using the (wrapped) C functions to create the actual content of the menu<br>to do this I've added a string property showing the current mode to the context<br>
<br>then as a test I've implemented the mesh editmode "select" menu in python<br><br>the patch is 19031:<br><a href="https://projects.blender.org/tracker/index.php?func=detail&aid=19031&group_id=9&atid=127">https://projects.blender.org/tracker/index.php?func=detail&aid=19031&group_id=9&atid=127</a><br>
<br>tomorrow I'll try to drop on #blendercoders and see if someome has some time to spare...<br>cheers!<br><br><br><div class="gmail_quote">On Thu, Jul 16, 2009 at 11:47 PM, lorenzo pierfederici <span dir="ltr"><<a href="mailto:lpierfederici@gmail.com">lpierfederici@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br><br>I'd like to help out a bit, and I thought I could start with this:<div class="im">
<br><br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Armature & Pose<br>
---------------<br>
<br>
* Make 3d view menus work using operators.<br>
* Implement missing operators.<br>
<br></blockquote></div><br></div>looking at the 3d view menus I noticed that they are defined in a C function.<br>What's the plan with them? Are they going to stay in C?<br>Otherwise if they have to be ported to python I could have a try at that,<br>
maybe starting from the armature and pose menus and making them use operators as I go...<div class="im"><br><br><br><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">
* Nodes space needs more work.<br></blockquote><br></div>I'm definitely very interested in the Nodes space! what kind of work does it need?<br><br><br>
</blockquote></div><br>