[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [14452] branches/apricot/source/blender/ blenkernel/intern/blender.c: Make scripts stay in the windows when LOAD UI is disabled

Campbell Barton ideasman42 at gmail.com
Thu Apr 17 18:29:19 CEST 2008


Revision: 14452
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=14452
Author:   campbellbarton
Date:     2008-04-17 18:28:29 +0200 (Thu, 17 Apr 2008)

Log Message:
-----------
Make scripts stay in the windows when LOAD UI is disabled

Modified Paths:
--------------
    branches/apricot/source/blender/blenkernel/intern/blender.c

Modified: branches/apricot/source/blender/blenkernel/intern/blender.c
===================================================================
--- branches/apricot/source/blender/blenkernel/intern/blender.c	2008-04-17 15:41:06 UTC (rev 14451)
+++ branches/apricot/source/blender/blenkernel/intern/blender.c	2008-04-17 16:28:29 UTC (rev 14452)
@@ -330,6 +330,7 @@
 		extern void lib_link_screen_restore(Main *, Scene *);
 		
 		SWAP(ListBase, G.main->screen, bfd->main->screen);
+		SWAP(ListBase, G.main->script, bfd->main->script);
 		
 		/* we re-use current screen */
 		curscreen= G.curscreen;





More information about the Bf-blender-cvs mailing list