<div dir="ltr">This should clean up the errors for empty inputs:<div><br></div><div><a href="http://review.source.kitware.com/#/t/5562/">http://review.source.kitware.com/#/t/5562/</a><br></div><div><br></div><div>I'm not sure why " " would slow down the bbox calculation, and I couldn't reproduce that here.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 11, 2015 at 8:53 AM, David Lonie <span dir="ltr"><<a href="mailto:david.lonie@kitware.com" target="_blank">david.lonie@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi David,<div><br></div><div>None of those things should be happening -- I'll take a look.</div><div><br></div><div>Dave</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Tue, Mar 10, 2015 at 7:34 PM, David Gobbi <span dir="ltr"><<a href="mailto:david.gobbi@gmail.com" target="_blank">david.gobbi@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">This may sound like a silly, but vtkScalarBarActor is giving me trouble.<div>I'm using the master branch.<div><br></div><div>If I don't call SetTitle, the vtkScalarBarActor gives me this error:</div><div><br></div><div>    vtkTextActor::SetInput was passed an uninitialized string<br></div><div><br></div><div>If I call SetTitle("") with an empty string, I get this error:</div><div><br></div><div>    vtkOpenGLTexture: No scalar values found for texture input!</div><div><br></div><div>Finally, if I call SetTitle(" "), i.e. give it a space character, then sometimes</div><div>when I render the program gets stuck for a few seconds in the following</div><div>function:</div><div><br></div><div>vtkFreeTypeTools::CalculateBoundingBox<vtkUnicodeString>().</div><div><br></div><div>Is there something that makes computing the bounding box of a single</div><div>space character difficult for freetype?  And why does vtkScalarBarActor</div><div>require the user to set a title?</div><span><font color="#888888"><div><br></div><div> - David</div>















</font></span></div></div>
<br></div></div><span class="">_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" target="_blank">http://markmail.org/search/?q=vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" target="_blank">http://public.kitware.com/mailman/listinfo/vtkusers</a><br>
<br></span></blockquote></div><br></div>
</blockquote></div><br></div>