<div dir="ltr">The 'Modified()' call did the trick, I will go with that until the next release. Thanks.</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 14, 2015 at 8:37 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 Andrew,<div><br></div><div>I tested this on the latest master and the example is working as expected. I suspect that the patch below is the one that fixes the issue.</div><div><br></div><div>If you can't patch / update the VTK you're using, it looks like a workaround would be to call</div><div><br></div><div>mapper.GetTextProperty().Modified()</div><div><br></div><div>when you update the input string, as that will trigger the coordinates to be recalculated.</div><div><br></div><div><div>commit 1cc1ad152dec84306dc4623a3444c8063085cf1c</div><div>Author: David C. Lonie <<a href="mailto:david.lonie@kitware.com" target="_blank">david.lonie@kitware.com</a>></div><div>Date:   Tue Oct 6 10:47:59 2015 -0400</div><div><br></div><div>    Fix MTime bug in vtkTextMapper.</div><div>    </div><div>    See <a href="http://www.vtk.org/Bug/view.php?id=15303" target="_blank">http://www.vtk.org/Bug/view.php?id=15303</a>. Thanks to</div><div>    Luc Habert for the report and patch.</div><div><br></div><div>diff --git a/Rendering/Core/vtkTextMapper.cxx b/Rendering/Core/vtkTextMapper.cxx</div><div>index be4a968..9f5b67b 100644</div><div>--- a/Rendering/Core/vtkTextMapper.cxx</div><div>+++ b/Rendering/Core/vtkTextMapper.cxx</div><div>@@ -485,7 +485,8 @@ void vtkTextMapper::UpdateQuad(vtkActor2D *actor, int dpi)</div><div>     }</div><div> </div><div>   if (this->CoordsTime < actor->GetMTime() ||</div><div>-      this->CoordsTime < this->TextProperty->GetMTime())</div><div>+      this->CoordsTime < this->TextProperty->GetMTime() ||</div><div>+      this->CoordsTime < this->TCoordsTime)</div><div>     {</div><div>     int text_bbox[4];</div><div>     vtkTextRenderer *tren = vtkTextRenderer::GetInstance();</div></div><div><br></div><div>Cheers,</div><div>Dave</div></div>
</blockquote></div><br></div>