Skip to content

Commit

Permalink
deploy: 86796a1
Browse files Browse the repository at this point in the history
  • Loading branch information
brentyi committed Jul 27, 2024
1 parent b5b2f8d commit d981588
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Binary file modified latest/.doctrees/environment.pickle
Binary file not shown.
8 changes: 6 additions & 2 deletions latest/_modules/viser/_viser/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1091,10 +1091,14 @@ <h1>Source code for viser._viser</h1><div class="highlight"><pre>

<span class="sd"> **Work-in-progress.** This API may be changed or removed.</span>
<span class="sd"> &quot;&quot;&quot;</span>
<span class="k">return</span> <span class="bp">self</span><span class="o">.</span><span class="n">_websock_server</span><span class="o">.</span><span class="n">start_recording</span><span class="p">(</span>
<span class="n">recorder</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">_websock_server</span><span class="o">.</span><span class="n">start_recording</span><span class="p">(</span>
<span class="c1"># Don&#39;t record GUI messages. This feels brittle.</span>
<span class="nb">filter</span><span class="o">=</span><span class="k">lambda</span> <span class="n">message</span><span class="p">:</span> <span class="s2">&quot;Gui&quot;</span> <span class="ow">not</span> <span class="ow">in</span> <span class="nb">type</span><span class="p">(</span><span class="n">message</span><span class="p">)</span><span class="o">.</span><span class="vm">__name__</span>
<span class="p">)</span></div>
<span class="p">)</span>
<span class="c1"># Insert current scene state.</span>
<span class="k">for</span> <span class="n">message</span> <span class="ow">in</span> <span class="bp">self</span><span class="o">.</span><span class="n">_websock_server</span><span class="o">.</span><span class="n">_broadcast_buffer</span><span class="o">.</span><span class="n">message_from_id</span><span class="o">.</span><span class="n">values</span><span class="p">():</span>
<span class="n">recorder</span><span class="o">.</span><span class="n">_insert_message</span><span class="p">(</span><span class="n">message</span><span class="p">)</span>
<span class="k">return</span> <span class="n">recorder</span></div>

</pre></div>
</article>
Expand Down

0 comments on commit d981588

Please sign in to comment.