[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [26863] branches/soc-2008-mxcurioni/source /blender/freestyle/intern/blender_interface/FRS_freestyle.cpp: Added changes for showing the rendering status in the status bar of

Tamito Kajiyama rd6t-kjym at asahi-net.or.jp
Sat Feb 13 13:16:09 CET 2010


Revision: 26863
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=26863
Author:   kjym3
Date:     2010-02-13 13:16:08 +0100 (Sat, 13 Feb 2010)

Log Message:
-----------
Added changes for showing the rendering status in the status bar of
the Info window.

Modified Paths:
--------------
    branches/soc-2008-mxcurioni/source/blender/freestyle/intern/blender_interface/FRS_freestyle.cpp

Modified: branches/soc-2008-mxcurioni/source/blender/freestyle/intern/blender_interface/FRS_freestyle.cpp
===================================================================
--- branches/soc-2008-mxcurioni/source/blender/freestyle/intern/blender_interface/FRS_freestyle.cpp	2010-02-13 11:37:34 UTC (rev 26862)
+++ branches/soc-2008-mxcurioni/source/blender/freestyle/intern/blender_interface/FRS_freestyle.cpp	2010-02-13 12:16:08 UTC (rev 26863)
@@ -121,6 +121,9 @@
 		controller->Clear();
 
 		// load mesh
+        re->i.infostr= "Freestyle: Mesh loading";
+		re->stats_draw(re->sdh, &re->i);
+        re->i.infostr= NULL;
 		if( controller->LoadMesh(re, srl) ) // returns if scene cannot be loaded or if empty
 			return;
         if( re->test_break(re->tbh) )
@@ -156,6 +159,9 @@
 		cout << "Suggestive contour dkr epsilon : " << controller->getSuggestiveContourKrDerivativeEpsilon() << endl;
 
 		// compute view map
+        re->i.infostr= "Freestyle: View map creation";
+		re->stats_draw(re->sdh, &re->i);
+        re->i.infostr= NULL;
 		controller->ComputeViewMap();
 	}
 	
@@ -245,6 +251,9 @@
 				if( controller->_ViewMap ) {
 					
 					// render strokes					
+                    re->i.infostr= "Freestyle: Stroke rendering";
+		            re->stats_draw(re->sdh, &re->i);
+                	re->i.infostr= NULL;
 					controller->DrawStrokes();
 					freestyle_render = controller->RenderStrokes(re);
 					controller->CloseFile();





More information about the Bf-blender-cvs mailing list