I must admit I had to jump through quite some hoops to get this working
(the API is safer for one-off tools, not for something like this), but I
got it working quite well now although slow on heavy/subsurfed meshes.

If anyone would wonder, its at: http://www.ewocprojects.be/presel.html

Theres a thread at BlenderArtists forum also, for those who wanna report
bugs... (its development is still ongoing)


And Id love to program this in C at some time but I heard chances are small
it would ever get included with Blender trunk...


On Tue, Aug 27, 2013 at 11:52 PM, Campbell Barton <[email protected]>wrote:

> This is unlikely to be supported,
> Blender 2.4x had event values and callback functions but now Blender
> relies on operators for this.
>
> don't know the details but pre-selection highlight sounds like
> something our API wouldn't handle well.
> (this kind of stuff is best written in C).
>
> On Sun, Aug 25, 2013 at 8:57 AM, Gert De Roost <[email protected]> wrote:
> > Maybe the Python event system could be expanded to also send MENU events
> > when user makes some choice via a menu, the event.value could then be the
> > menu item chosen.  I could use this for my preselection highlighting
> addon :
> > this addon needs to recalculate selection lists/ screen coordinate lists
> > when the user makes certain changes to the mesh.
> >
> >
> > Gert De Roost
> >
> > _______________________________________________
> > Bf-python mailing list
> > [email protected]
> > http://lists.blender.org/mailman/listinfo/bf-python
> >
>
>
>
> --
> - Campbell
> _______________________________________________
> Bf-python mailing list
> [email protected]
> http://lists.blender.org/mailman/listinfo/bf-python
>
_______________________________________________
Bf-python mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-python

Reply via email to