[Bf-blender-cvs] [c287624] master: Fix T38597: cycles status bar missing some updates.

Brecht Van Lommel noreply at git.blender.org
Tue Feb 11 16:33:29 CET 2014


Commit: c287624f50f680c805d4ffdd3c927a224e0bb8e1
Author: Brecht Van Lommel
Date:   Tue Feb 11 16:26:08 2014 +0100
https://developer.blender.org/rBc287624f50f680c805d4ffdd3c927a224e0bb8e1

Fix T38597: cycles status bar missing some updates.

===================================================================

M	intern/cycles/blender/blender_session.cpp

===================================================================

diff --git a/intern/cycles/blender/blender_session.cpp b/intern/cycles/blender/blender_session.cpp
index 94d390c..1d3c49b 100644
--- a/intern/cycles/blender/blender_session.cpp
+++ b/intern/cycles/blender/blender_session.cpp
@@ -669,12 +669,12 @@ void BlenderSession::update_status_progress()
 		status += " | " + substatus;
 
 	if(status != last_status) {
+		b_engine.update_stats("", (timestatus + scene + status).c_str());
 		b_engine.update_memory_stats(mem_used, mem_peak);
 		last_status = status;
 	}
 	if(progress != last_progress) {
 		b_engine.update_progress(progress);
-		b_engine.update_stats("", (timestatus + scene + status).c_str());
 		last_progress = progress;
 	}
 }




More information about the Bf-blender-cvs mailing list