[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [11075] trunk/blender/source/blender/src/ header_info.c: This is patch #6833

Kent Mein mein at cs.umn.edu
Tue Jun 26 18:16:13 CEST 2007


Revision: 11075
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=11075
Author:   sirdude
Date:     2007-06-26 18:16:13 +0200 (Tue, 26 Jun 2007)

Log Message:
-----------
This is patch #6833
https://projects.blender.org/tracker/index.php?func=detail&aid=6833&group_id=9&atid=127

It adds the option when creating a new "screen" to create an empty one
(one with one window)

While its one more click, I think this is pretty dang useful.  If people
want to revert it feel free, and we can talk about it.
This seems more consistant with the Scene bar though so I figured it was safe 
to add it.

Kent

Modified Paths:
--------------
    trunk/blender/source/blender/src/header_info.c

Modified: trunk/blender/source/blender/src/header_info.c
===================================================================
--- trunk/blender/source/blender/src/header_info.c	2007-06-26 15:24:38 UTC (rev 11074)
+++ trunk/blender/source/blender/src/header_info.c	2007-06-26 16:16:13 UTC (rev 11075)
@@ -395,7 +395,10 @@
 		}
 		/* last item: NEW SCREEN */
 		if(sc==0) {
-			duplicate_screen();
+			nr= pupmenu("New Screen%t|Empty%x1|Duplicate%x2");
+
+			if(nr==1) default_twosplit();
+			if(nr==2) duplicate_screen();
 		}
 		break;
 	case B_INFODELSCR:





More information about the Bf-blender-cvs mailing list