[Bf-committers] Global undo & running python scripts

Campbell Barton cbarton at metavr.com
Tue Feb 1 08:31:24 CET 2005


Ton Roosendaal wrote:

> Hi,
>
> Currently, a global undo reloads an entire Blender database (struct  
> Main) but keeps the GUI (Screen structs). Restoring a GUI therefore  
> isn't always possible, for example when the GUI was displaying data  
> that doesn't exist anymore.
>
> A related issue was reported in the tracker about running python  
> scripts (with GUI). Can one of our python team members say something  
> about the correct circumstances to detect whether a running script 
> can  be closed and safely restarted after Undo?
>
> -Ton-
>
> ------------------------------------------------------------------------ 
> -- 
> Ton Roosendaal  Blender Foundation ton at blender.org  
> http://www.blender.org
>
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at projects.blender.org
> http://projects.blender.org/mailman/listinfo/bf-committers
>
>
I dont know if its reasionable to ask- but would it be possible not to 
exit the script at all? At the moment undo takes long enough with large 
files, re-running all scripts would not make things any faster.
But this could be a stop gap solution... :)
- Cam

-- 
Campbell J Barton

Sierra Suites Hotel
32 Fourth Av Waltham, Room 103
phone: 781 622 1900
mobile: 617 935 6773

133 Hope Street
Geelong West, Victoria 3218 Australia

URL:    http://www.metavr.com
e-mail: cbarton at metavr.com
phone: AU (03) 5229 0241



More information about the Bf-committers mailing list