<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	>
<channel>
	<title>Comments for Bret Bays Animation</title>
	<atom:link href="http://bretbays.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://bretbays.com</link>
	<description>The Animation, Art and Ramblings of Bret Bays</description>
	<pubDate>Sat, 19 May 2012 23:24:21 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on Solo Selected Script by Jose</title>
		<link>http://bretbays.com/2012/05/17/solo-selected-script/comment-page-1/#comment-8698</link>
		<dc:creator>Jose</dc:creator>
		<pubDate>Sat, 19 May 2012 06:34:08 +0000</pubDate>
		<guid isPermaLink="false">http://bretbays.com/?p=688#comment-8698</guid>
		<description>Thnxs xhisdudenessx.
Ok. Now it's working propertly.
In Spain, we say..... The one who don't know, it's like the one who can't see.
Do you know what i'm getting at?.

Thnx again.</description>
		<content:encoded><![CDATA[<p>Thnxs xhisdudenessx.<br />
Ok. Now it&#8217;s working propertly.<br />
In Spain, we say&#8230;.. The one who don&#8217;t know, it&#8217;s like the one who can&#8217;t see.<br />
Do you know what i&#8217;m getting at?.</p>
<p>Thnx again.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Solo Selected Script by xhisdudenessx</title>
		<link>http://bretbays.com/2012/05/17/solo-selected-script/comment-page-1/#comment-8687</link>
		<dc:creator>xhisdudenessx</dc:creator>
		<pubDate>Fri, 18 May 2012 20:29:39 +0000</pubDate>
		<guid isPermaLink="false">http://bretbays.com/?p=688#comment-8687</guid>
		<description>This is a script not a plugin. So it needs to go into your library&gt;scripts folder. Then it will appear in the script menu under user scripts.</description>
		<content:encoded><![CDATA[<p>This is a script not a plugin. So it needs to go into your library>scripts folder. Then it will appear in the script menu under user scripts.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Solo Selected Script by Jose</title>
		<link>http://bretbays.com/2012/05/17/solo-selected-script/comment-page-1/#comment-8683</link>
		<dc:creator>Jose</dc:creator>
		<pubDate>Fri, 18 May 2012 19:29:41 +0000</pubDate>
		<guid isPermaLink="false">http://bretbays.com/?p=688#comment-8683</guid>
		<description>Hi Brets.
First of all, thnx for share stufs like this.
I have downloaded, I copied in the folder of Plugins in C4D, but it does not appear.
I have loked for it everywhere, but I can't find it.
Do you know what is happened to me?

Thnx again</description>
		<content:encoded><![CDATA[<p>Hi Brets.<br />
First of all, thnx for share stufs like this.<br />
I have downloaded, I copied in the folder of Plugins in C4D, but it does not appear.<br />
I have loked for it everywhere, but I can&#8217;t find it.<br />
Do you know what is happened to me?</p>
<p>Thnx again</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on A Useful Python Snippet by Donovan Keith</title>
		<link>http://bretbays.com/2011/01/25/a-useful-python-snippet/comment-page-1/#comment-5408</link>
		<dc:creator>Donovan Keith</dc:creator>
		<pubDate>Thu, 04 Aug 2011 18:21:40 +0000</pubDate>
		<guid isPermaLink="false">http://bretbays.com/?p=529#comment-5408</guid>
		<description>That didn't come through very well, you can view the formatted code here:
https://gist.github.com/1125825</description>
		<content:encoded><![CDATA[<p>That didn&#8217;t come through very well, you can view the formatted code here:<br />
<a href="https://gist.github.com/1125825" rel="nofollow">https://gist.github.com/1125825</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on A Useful Python Snippet by Donovan Keith</title>
		<link>http://bretbays.com/2011/01/25/a-useful-python-snippet/comment-page-1/#comment-5407</link>
		<dc:creator>Donovan Keith</dc:creator>
		<pubDate>Thu, 04 Aug 2011 18:09:51 +0000</pubDate>
		<guid isPermaLink="false">http://bretbays.com/?p=529#comment-5407</guid>
		<description>Hi Bret,

Thanks for this. I would recommend tweaking the function so that you pass in a method as an argument. That way you don't have to rewrite it every time. In addition, your " if( obj.GetNext() ):" checks are redundant, because the function always checks to see if the object is None before looking for the next object. Here's my revised version:

def printName( obj ):
	print obj.GetName()

def GoDownHierarchy(obj, doSomething):
	#If there isn't an object, stop looping.
	if obj is None:
		return None

	#call the function 
	doSomething( obj )

	#Try to get the next one down, there's a chance it will be None	
	GoDownHierarchy(obj.GetDown(), doSomething)
	
	#Try to get the next object, there's a chance it will be None
	GoDownHierarchy(obj.GetNext(), doSomething)

def main( obj ):
	GoDownHierarchy( obj, printName )</description>
		<content:encoded><![CDATA[<p>Hi Bret,</p>
<p>Thanks for this. I would recommend tweaking the function so that you pass in a method as an argument. That way you don&#8217;t have to rewrite it every time. In addition, your &#8221; if( obj.GetNext() ):&#8221; checks are redundant, because the function always checks to see if the object is None before looking for the next object. Here&#8217;s my revised version:</p>
<p>def printName( obj ):<br />
	print obj.GetName()</p>
<p>def GoDownHierarchy(obj, doSomething):<br />
	#If there isn&#8217;t an object, stop looping.<br />
	if obj is None:<br />
		return None</p>
<p>	#call the function<br />
	doSomething( obj )</p>
<p>	#Try to get the next one down, there&#8217;s a chance it will be None<br />
	GoDownHierarchy(obj.GetDown(), doSomething)</p>
<p>	#Try to get the next object, there&#8217;s a chance it will be None<br />
	GoDownHierarchy(obj.GetNext(), doSomething)</p>
<p>def main( obj ):<br />
	GoDownHierarchy( obj, printName )</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on A Useful Python Snippet by Aleksey</title>
		<link>http://bretbays.com/2011/01/25/a-useful-python-snippet/comment-page-1/#comment-4489</link>
		<dc:creator>Aleksey</dc:creator>
		<pubDate>Sat, 05 Feb 2011 05:22:36 +0000</pubDate>
		<guid isPermaLink="false">http://bretbays.com/?p=529#comment-4489</guid>
		<description>Hey man,

great stuff, more of these =) 
Just learning the basics of python, but this information has been stored for future reference =)

Did you do the animation mentor course in cinema or in maya?

Cheers,
Aleksey</description>
		<content:encoded><![CDATA[<p>Hey man,</p>
<p>great stuff, more of these =)<br />
Just learning the basics of python, but this information has been stored for future reference =)</p>
<p>Did you do the animation mentor course in cinema or in maya?</p>
<p>Cheers,<br />
Aleksey</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Contact by Rodrigo</title>
		<link>http://bretbays.com/contact/comment-page-1/#comment-4445</link>
		<dc:creator>Rodrigo</dc:creator>
		<pubDate>Wed, 26 Jan 2011 02:09:28 +0000</pubDate>
		<guid isPermaLink="false">http://bretbays.com/?page_id=40#comment-4445</guid>
		<description>Hi Bret,
long time fan and fellow animation mentor student ( I am in class 5 now )
I have a question; when I open the Alfred rig in r12, the jaw doesn't work. It works fine in r11. your thoughts?
Thank you</description>
		<content:encoded><![CDATA[<p>Hi Bret,<br />
long time fan and fellow animation mentor student ( I am in class 5 now )<br />
I have a question; when I open the Alfred rig in r12, the jaw doesn&#8217;t work. It works fine in r11. your thoughts?<br />
Thank you</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on A Useful Python Snippet by Tweets that mention Die With Your Boots On » A Useful Python Snippet -- Topsy.com</title>
		<link>http://bretbays.com/2011/01/25/a-useful-python-snippet/comment-page-1/#comment-4443</link>
		<dc:creator>Tweets that mention Die With Your Boots On » A Useful Python Snippet -- Topsy.com</dc:creator>
		<pubDate>Tue, 25 Jan 2011 22:47:52 +0000</pubDate>
		<guid isPermaLink="false">http://bretbays.com/?p=529#comment-4443</guid>
		<description>[...] This post was mentioned on Twitter by Bret, Bret. Bret said: A Useful Python Snippet http://aq8ww.th8.us [...]</description>
		<content:encoded><![CDATA[<p>[...] This post was mentioned on Twitter by Bret, Bret. Bret said: A Useful Python Snippet <a href="http://aq8ww.th8.us" rel="nofollow">http://aq8ww.th8.us</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Contact by Andreas Gaschka</title>
		<link>http://bretbays.com/contact/comment-page-1/#comment-4205</link>
		<dc:creator>Andreas Gaschka</dc:creator>
		<pubDate>Thu, 23 Sep 2010 15:31:36 +0000</pubDate>
		<guid isPermaLink="false">http://bretbays.com/?page_id=40#comment-4205</guid>
		<description>Well, this Time I build my own rigs, but perhaps next time I would like to commision you.
I just don't find any email adress here anywhere!</description>
		<content:encoded><![CDATA[<p>Well, this Time I build my own rigs, but perhaps next time I would like to commision you.<br />
I just don&#8217;t find any email adress here anywhere!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Contact by xhisdudenessx</title>
		<link>http://bretbays.com/contact/comment-page-1/#comment-4202</link>
		<dc:creator>xhisdudenessx</dc:creator>
		<pubDate>Mon, 20 Sep 2010 23:57:19 +0000</pubDate>
		<guid isPermaLink="false">http://bretbays.com/?page_id=40#comment-4202</guid>
		<description>Thanks for the kind words. Orestis did all the face rig for Alfred. He too deserves much credit.

Re Freelance: Yes I am. :)</description>
		<content:encoded><![CDATA[<p>Thanks for the kind words. Orestis did all the face rig for Alfred. He too deserves much credit.</p>
<p>Re Freelance: Yes I am. <img src='http://bretbays.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

