<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Le 08/09/2013 00:51, Jack a &eacute;crit&nbsp;:<br>
    </div>
    <blockquote cite="mid:522BAE05.1070408@rybn.org" type="cite">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      <div class="moz-cite-prefix">Le 07/09/2013 23:43, topo bot a
        &eacute;crit&nbsp;:<br>
      </div>
      <blockquote
cite="mid:CAPkoNb5txsQ1H==BCEg5sSMk13KxwMwkBQAbouprh-QYJgKeNw@mail.gmail.com"
        type="cite">
        <pre wrap="">Hi again, im iterating a geo in Gem and then im anulating one iterated
geo using module with spigot.
It works fine, but when i add  GEMglPushMatrix and GEMglPopMatrix  i
get GL:stack overflow because each GEMglPushMatrix is expecting one
GEMglPopMatrix and when i anulate one geo that means that one
GEMglPushMatrix is not gonna have its GEMglPopMatrix pair.

any idea how can i solve this problem?

I attached the patch and here theres also a pic

<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.freeimagehosting.net/newuploads/8s8r3.png">http://www.freeimagehosting.net/newuploads/8s8r3.png</a>
</pre>
        <br>
        <fieldset class="mimeAttachmentHeader"></fieldset>
        <br>
        <pre wrap="">_______________________________________________
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list
UNSUBSCRIBE and account-management -&gt; <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.puredata.info/listinfo/pd-list">http://lists.puredata.info/listinfo/pd-list</a>
</pre>
      </blockquote>
      <br>
      Can you explain what you want to achieve ?<br>
      If you just want to have the same occurence of
      GEMglPushMatrix/GEMglPopMatrix, then use another [spigot] with a
      [== 1]. Send the output of this [spigot] directly in the
      [GEMglPopMatrix]. You should get What you want (hide the sphere
      and always get couple GEMglPushMatrix/GEMglPopMatrix).<br>
      ++<br>
      <br>
      Jack<br>
      <br>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
<a class="moz-txt-link-abbreviated" href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list
UNSUBSCRIBE and account-management -&gt; <a class="moz-txt-link-freetext" href="http://lists.puredata.info/listinfo/pd-list">http://lists.puredata.info/listinfo/pd-list</a>
</pre>
    </blockquote>
    <br>
    Here the patch.<br>
    Don't know if it is what you want.<br>
    ++<br>
    <br>
    Jack<br>
    <br>
    <br>
  </body>
</html>