<?xml version="1.0" encoding="UTF-8"?>
	<rss version="2.0"
		xmlns:content="http://purl.org/rss/1.0/modules/content/"
		xmlns:wfw="http://wellformedweb.org/CommentAPI/"
		xmlns:dc="http://purl.org/dc/elements/1.1/"
		xmlns:atom="http://www.w3.org/2005/Atom"

			>

	<channel>
		<title>Cycling 74  &#187;  Topic: paint method and outlets</title>
		<atom:link href="http://cycling74.com/forums/topic/paint-method-and-outlets/feed" rel="self" type="application/rss+xml" />
		<link>http://cycling74.com/forums/topic/paint-method-and-outlets/feed</link>
		<description></description>
		<pubDate>Tue, 18 Jun 2013 21:56:14 +0000</pubDate>
		<generator>http://bbpress.org/?v=2.2.4</generator>
		<language></language>

		
														
					
				<item>
					<guid>http://cycling74.com/forums/topic/paint-method-and-outlets/#post-58213</guid>
					<title><![CDATA[paint method and outlets]]></title>
					<link>http://cycling74.com/forums/topic/paint-method-and-outlets/#post-58213</link>
					<pubDate>Wed, 27 Jul 2011 19:17:08 +0000</pubDate>
					<dc:creator>danieleghisi</dc:creator>

					<description>
						<![CDATA[
						<p>Hello everybody,</p>
<p>I&#8217;d like to send a bang through an outlet when the painting method is done painting. (of course not at *every* paint method, just sometimes &#8211; I handle this with a flag.)</p>
<p>I&#8217;m experiencing some troubles. Juce has a bad crash if I send just an outlet_bang in the paint method. Which could probably make sense to me; but I&#8217;m experiencing the very same crash also if I use: schedule_delay, qelem_set, defer_low. And I really don&#8217;t understand why.</p>
<p>Shortly: I&#8217;ve run out of ideas! I&#8217;m sure I&#8217;m doing something wrong. What should I do in order to have a bang sent when a certain paint method has been completed?</p>
<p>Thanks a lot,<br />
Daniele</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/paint-method-and-outlets/#post-209074</guid>
					<title><![CDATA[Re: paint method and outlets]]></title>
					<link>http://cycling74.com/forums/topic/paint-method-and-outlets/#post-209074</link>
					<pubDate>Wed, 27 Jul 2011 22:54:33 +0000</pubDate>
					<dc:creator>danieleghisi</dc:creator>

					<description>
						<![CDATA[
						<p>Oops, as usual I didn&#8217;t look carefully enough. </p>
<p>The mistake was elsewhere &#8211; precisely here: apparently setting weird values for patching_rect makes Max crash:</p>
<div><span id="toggle209074-0" class="patchtoggle" onmousedown="toggleMaxPatch('post209074-0', 'er209074-0');">&#8211; Pasted Max <span id="maxversion209074-0"></span> Patch, click to <span id="er209074-0">expand</span>. &#8211;</span> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"  width="110" height="14" class="clippy" ><param name="allowScriptAccess" value="always" /><param name="quality" value="high" /><param name="scale" value="noscale" /><param NAME="FlashVars" value="copied=copied!&#038;copyto=copy to clipboard"/><param name="bgcolor" value="#FFFFFF"/><param name="wmode" value="opaque"/><embed src="/wp-content/plugins/bbpress-copy-compressed/clippy.swf"  width="110" height="14"   name="clippy"  quality="high"  allowScriptAccess="always"  type="application/x-shockwave-flash"  pluginspage="http://www.macromedia.com/go/getflashplayer"  FlashVars="text=----------begin_max5_patcher----------%0A291.3ociRFsaCBBEF9Z3ofv0NCf110c2dNVZVPEsznfQvD2Z569pGwUcwkzK%0ADC%2Bmygy%2B2AthQzL6fxQIuQ9ffPWwHDHMJfB6QzF4PdszAoQaTNmrRQilh4UC%0AdPuU5yOqMUe1ox8DVLQvODS3hjcGYGS1S1mDOWiouw16qUd3D4A0Rqw6zeq.%0AMQLKHOko%2BqV0jKoTxoPnUsbJJe28BCqB1dXyqwreKQW.l0lc4EwA5hNajMPC%0Anu2ok0Kbp1LaTwn1MLdbI5ImVk8lbu1Z1F8z%2BiwxZqzSitCa3KSZpdBvSSm.%0AmAfO9aKx4ahGeAdPUzZs4uuMfNOpulYmsuKe17yCWxilWnbdsQBShGIwWkyY%0AcQgBBOe02nKZsZiO3AxoUNDeC%2Big3JJk%0A-----------end_max5_patcher-----------&#038;copied=copied!&#038;;copyto=copy to clipboard"  bgcolor="#ffffff"  wmode="opaque" /> </object></div>
<div id="post209074-0" style="display:none;visibility:hidden;" >
<div class="patchtoggleInfo"><small>Copy <b>all</b> of the following text.Then, in Max, select <em>New From Clipboard</em>.</small></div>
<div class="patchtogglediv">
<pre><code id="pastedcode209074-0">----------begin_max5_patcher----------
291.3ociRFsaCBBEF9Z3ofv0NCf110c2dNVZVPEsznfQvD2Z569pGwUcwkzK
DC+mygy+2AthQzL6fxQIuQ9ffPWwHDHMJfB6QzF4PdszAoQaTNmrRQilh4UC
dPuU5yOqMUe1ox8DVLQvODS3hjcGYGS1S1mDOWiouw16qUd3D4A0Rqw6zeq.
MQLKHOko+qV0jKoTxoPnUsbJJe28BCqB1dXyqwreKQW.l0lc4EwA5hNajMPC
nu2ok0Kbp1LaTwn1MLdbI5ImVk8lbu1Z1F8z+iwxZqzSitCa3KSZpdBvSSm.
mAfO9aKx4ahGeAdPUzZs4uuMfNOpulYmsuKe17yCWxilWnbdsQBShGIwWkyY
cQgBBOe02nKZsZiO3AxoUNDeC+ig3JJk
-----------end_max5_patcher-----------</code></pre></div>
</div>
<p>Yet, I&#8217;m still wandering: am I allowed to use outlets within the paint method, without scheduling or deferring?</p>
<p>Thanks,<br />
Daniele</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/paint-method-and-outlets/#post-209075</guid>
					<title><![CDATA[Re: paint method and outlets]]></title>
					<link>http://cycling74.com/forums/topic/paint-method-and-outlets/#post-209075</link>
					<pubDate>Thu, 28 Jul 2011 21:48:27 +0000</pubDate>
					<dc:creator>Timothy Place</dc:creator>

					<description>
						<![CDATA[
						<p>Hi Daniele,</p>
<p>I do not recommend making outlet calls in your paint method.  </p>
<p>At the moment you will probably find that it works to make such outlet calls, however, this will have the effect of executing parts of the patcher at inappropriate times (i.e. serviced from the main thread, but from the wrong queue) and could cause unexpected behaviors intermittently (which will be *very* hard to track down) and degrade the performance of the Max environment.</p>
<p>I also don&#8217;t recommend using schedule_delay().  If you need a high-priority event (which is unlikely if it is a paint notification) then use clock_new() and clock_delay().  For a low-priority event, the qelem is preferable to defer_low().</p>
<p>Cheers,<br />
  Tim</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/paint-method-and-outlets/#post-209076</guid>
					<title><![CDATA[Re: paint method and outlets]]></title>
					<link>http://cycling74.com/forums/topic/paint-method-and-outlets/#post-209076</link>
					<pubDate>Fri, 29 Jul 2011 19:43:07 +0000</pubDate>
					<dc:creator>danieleghisi</dc:creator>

					<description>
						<![CDATA[
						<p>Thanks Tim, everything is clear. I&#8217;ll go with qelem, then.</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

