Commit 5d32344e authored by David C. Lonie's avatar David C. Lonie

Don't attempt to render NULL strings.

Change-Id: I54a664d7c4b0dc8824a099b035e26872f0b6fa7f
parent 1edb598f
......@@ -44,6 +44,11 @@ float vtkGL2PSUtilities::LineWidthFactor = 5.f / 7.f;
void vtkGL2PSUtilities::DrawString(const char *str,
vtkTextProperty *tprop, double pos[])
if (!str)
vtkTextRenderer *tren(vtkTextRenderer::GetInstance());
if (tren == NULL)
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment