[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [59322] branches/soc-2013-depsgraph_mt/ source/blender/blenkernel/intern: Remove debug-only code, forgot to get rid of it in some of previous commit.

Sergey Sharybin sergey.vfx at gmail.com
Tue Aug 20 11:46:06 CEST 2013


Revision: 59322
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=59322
Author:   nazgul
Date:     2013-08-20 09:46:05 +0000 (Tue, 20 Aug 2013)
Log Message:
-----------
Remove debug-only code, forgot to get rid of it in some of previous commit.

Modified Paths:
--------------
    branches/soc-2013-depsgraph_mt/source/blender/blenkernel/intern/DerivedMesh.c
    branches/soc-2013-depsgraph_mt/source/blender/blenkernel/intern/scene.c

Modified: branches/soc-2013-depsgraph_mt/source/blender/blenkernel/intern/DerivedMesh.c
===================================================================
--- branches/soc-2013-depsgraph_mt/source/blender/blenkernel/intern/DerivedMesh.c	2013-08-20 09:45:26 UTC (rev 59321)
+++ branches/soc-2013-depsgraph_mt/source/blender/blenkernel/intern/DerivedMesh.c	2013-08-20 09:46:05 UTC (rev 59322)
@@ -48,7 +48,6 @@
 #include "BLI_memarena.h"
 #include "BLI_utildefines.h"
 #include "BLI_linklist.h"
-#include "BLI_threads.h"
 
 #include "BKE_pbvh.h"
 #include "BKE_cdderivedmesh.h"

Modified: branches/soc-2013-depsgraph_mt/source/blender/blenkernel/intern/scene.c
===================================================================
--- branches/soc-2013-depsgraph_mt/source/blender/blenkernel/intern/scene.c	2013-08-20 09:45:26 UTC (rev 59321)
+++ branches/soc-2013-depsgraph_mt/source/blender/blenkernel/intern/scene.c	2013-08-20 09:46:05 UTC (rev 59322)
@@ -1223,12 +1223,6 @@
 
 		PRINT("Thread %d: update object %s\n", threadid, object->id.name);
 
-		if ((object->id.flag & LIB_DOIT) == 0) {
-			if (object->recalc & OB_RECALC_ALL) {
-				printf("Unneeded update %s\n", object->id.name + 2);
-			}
-		}
-
 #ifdef DETAILED_ANALYSIS_OUTPUT
 		{
 #else
@@ -1377,29 +1371,6 @@
 	 */
 	DAG_threaded_update_begin(scene);
 
-	{
-		Base *base;
-		Object *object;
-
-		for (object = bmain->object.first; object; object = object->id.next) {
-			object->id.flag &= ~LIB_DOIT;
-		}
-
-		for (base = scene->base.first; base; base = base->next) {
-			object = base->object;
-			object->id.flag |= LIB_DOIT;
-
-			if (object->dup_group && (object->transflag & OB_DUPLIGROUP)) {
-				GroupObject *go;
-				for (go = object->dup_group->gobject.first; go; go = go->next) {
-					if (go->ob) {
-						go->ob->id.flag |= LIB_DOIT;
-					}
-				}
-			}
-		}
-	}
-
 	/* Put all nodes which are already ready for schedule to the task pool.
 	 * usually its just a Scene node.
 	 *




More information about the Bf-blender-cvs mailing list