[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [47878] branches/soc-2011-tomato/source/ blender/compositor/operations/COM_KeyingScreenOperation.cpp: Port keying screen operation to changed mutex api for nodes

Sergey Sharybin sergey.vfx at gmail.com
Thu Jun 14 11:48:37 CEST 2012


Revision: 47878
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=47878
Author:   nazgul
Date:     2012-06-14 09:48:27 +0000 (Thu, 14 Jun 2012)
Log Message:
-----------
Port keying screen operation to changed mutex api for nodes

Modified Paths:
--------------
    branches/soc-2011-tomato/source/blender/compositor/operations/COM_KeyingScreenOperation.cpp

Modified: branches/soc-2011-tomato/source/blender/compositor/operations/COM_KeyingScreenOperation.cpp
===================================================================
--- branches/soc-2011-tomato/source/blender/compositor/operations/COM_KeyingScreenOperation.cpp	2012-06-14 09:42:17 UTC (rev 47877)
+++ branches/soc-2011-tomato/source/blender/compositor/operations/COM_KeyingScreenOperation.cpp	2012-06-14 09:48:27 UTC (rev 47878)
@@ -165,11 +165,11 @@
 	if (this->cachedTriangulation)
 		return this->cachedTriangulation;
 
-	BLI_mutex_lock(getMutex());
+	lockMutex();
 	if (this->cachedTriangulation == NULL) {
 		this->cachedTriangulation = buildVoronoiTriangulation();
 	}
-	BLI_mutex_unlock(getMutex());
+	unlockMutex();
 
 	return this->cachedTriangulation;
 }




More information about the Bf-blender-cvs mailing list