summaryrefslogtreecommitdiffstats
path: root/src/Runtime/Source/runtimerender/graphobjects/Qt3DSRenderText.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Runtime/Source/runtimerender/graphobjects/Qt3DSRenderText.cpp')
-rw-r--r--src/Runtime/Source/runtimerender/graphobjects/Qt3DSRenderText.cpp7
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;
}