[Bf-funboard] hooks for edit mode

Campbell Barton ideasman42 at gmail.com
Fri Jan 30 15:04:18 CET 2009


On Fri, Jan 30, 2009 at 3:39 AM, Nathan Letwory <jesterking at letwory.net> wrote:
> 2009/1/30 IL'dar AKHmetgaleev <akhilman at gmail.com>:
>> Greetings!
>>
>> I propose to add script hooks for entering and exiting to/from edit
>> mode, Or even better for changing mode. It might be scriptlink. But
>> this script should have a way to know which was old mode and which is
>> new one.
>>
>> This script link might be used for writing ctime IDProperty.
>
> You could already do this with event spacehandler for 3dview. Listen
> for tabkey presses, check if window is in editmode and do your magic
> on selected object.
>
> /Nathan
> _______________________________________________
> Bf-funboard mailing list
> Bf-funboard at blender.org
> http://lists.blender.org/mailman/listinfo/bf-funboard
>

This works to a point but isn't reliable since meshes can be modified
without going into editmode.

Off the top of my head... join/separate meshes, apply size rotation,
face sort, vertex color painting, weight painting, changing UV or Vcol
layers.

-- 
- Campbell


More information about the Bf-funboard mailing list