diff options
Diffstat (limited to 'src/Runtime/Source/runtimerender/graphobjects')
-rw-r--r-- | src/Runtime/Source/runtimerender/graphobjects/Qt3DSRenderText.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/Runtime/Source/runtimerender/graphobjects/Qt3DSRenderText.cpp b/src/Runtime/Source/runtimerender/graphobjects/Qt3DSRenderText.cpp index 8b44e00f..e4694c56 100644 --- a/src/Runtime/Source/runtimerender/graphobjects/Qt3DSRenderText.cpp +++ b/src/Runtime/Source/runtimerender/graphobjects/Qt3DSRenderText.cpp @@ -67,10 +67,5 @@ SText::SText() NVBounds3 SText::GetTextBounds() const { - NVBounds3 retval; - retval.setEmpty(); - if (m_TextTexture != NULL) { - retval.include(m_Bounds); - } - return retval; + return m_Bounds; } |