<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -17,6 +17,7 @@ end
 
 local Update = function(self, event, unit)
 	if(not UnitIsUnit(self.unit, unit)) then return end
+	if(self.PreUpdatePortrait) then self:PreUpdatePortrait(event, unit) end
 
 	local portrait = self.Portrait
 	if(portrait:IsObjectType'Model') then
@@ -36,6 +37,8 @@ local Update = function(self, event, unit)
 	else
 		SetPortraitTexture(portrait, unit)
 	end
+
+	if(self.PostUpdatePortrait) then self:PostUpdatePortrait(event, unit) end
 end
 
 local Enable = function(self)</diff>
      <filename>elements/portraits.lua</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>48ce8b1b7992a3d88691c3054aa7af30c2feba05</id>
    </parent>
  </parents>
  <author>
    <name>Trond A Ekseth</name>
    <login>haste</login>
    <email>troeks@gmail.com</email>
  </author>
  <url>http://github.com/haste/oUF/commit/36dc00c79a613ef5f5bc9eb1c48f87fc1a77491c</url>
  <id>36dc00c79a613ef5f5bc9eb1c48f87fc1a77491c</id>
  <committed-date>2009-11-20T08:35:49-08:00</committed-date>
  <authored-date>2009-11-20T08:35:49-08:00</authored-date>
  <message>Add (Pre|Post)UpdatePortrait().</message>
  <tree>e42bb52de15052d966d7671d8695a98430b54d37</tree>
  <committer>
    <name>Trond A Ekseth</name>
    <login>haste</login>
    <email>troeks@gmail.com</email>
  </committer>
</commit>
