[Bf-python] crasher in CVS with UV Face Select mode

Joe Eagar joeedh at gmail.com
Sun Jan 21 04:11:08 CET 2007


Ken Hughes wrote:
> Just came across a way to segfault Blender using the Python API:
>
> If you are in UV Face Select mode and remove the active face, you'll 
> get a segfault when you try to so anything again in the 3D window.  A 
> quick look through the code didn't give me any good ideas how to avoid 
> this: should we switch the 3D window out of edit mode if you delete 
> the object?  Throw an exception?
>
> Ken
Can't you just flag some other face as the active face, and if you run 
out of faces go out of UV Face mode?

Joe



More information about the Bf-python mailing list