[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [14543] branches/apricot/source/blender/ blenkernel/intern/text.c: caedes needed this fix for exporting

Campbell Barton ideasman42 at gmail.com
Fri Apr 25 12:25:17 CEST 2008


Revision: 14543
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=14543
Author:   campbellbarton
Date:     2008-04-25 12:25:17 +0200 (Fri, 25 Apr 2008)

Log Message:
-----------
caedes needed this fix for exporting

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

Modified: branches/apricot/source/blender/blenkernel/intern/text.c
===================================================================
--- branches/apricot/source/blender/blenkernel/intern/text.c	2008-04-25 10:12:32 UTC (rev 14542)
+++ branches/apricot/source/blender/blenkernel/intern/text.c	2008-04-25 10:25:17 UTC (rev 14543)
@@ -1030,7 +1030,8 @@
 
 void txt_cut_sel (Text *text)
 {
-	txt_copy_clipboard(text);
+	if (!G.background) /* Python uses txt_cut_sel, which it should not, working around for now  */
+		txt_copy_clipboard(text);
 	
 	txt_delete_sel(text);
 	txt_make_dirty(text);





More information about the Bf-blender-cvs mailing list