summaryrefslogtreecommitdiff
path: root/indra/newview/llflexibleobject.cpp
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2021-08-16 22:33:27 +0300
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2021-08-16 22:33:27 +0300
commit4a4838aa83f85c405ab2a0354b1da35a9fe5b92c (patch)
tree267a1050778526990c9f74ec5a6c02ad3e6324c8 /indra/newview/llflexibleobject.cpp
parentc29a902e73808263a189cb09525e4aff1a7401e9 (diff)
SL-14988 Removed redundant check
Potentially a result of a merge conflict, same check and recorder are inside doFlexibleUpdate();
Diffstat (limited to 'indra/newview/llflexibleobject.cpp')
-rw-r--r--indra/newview/llflexibleobject.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/indra/newview/llflexibleobject.cpp b/indra/newview/llflexibleobject.cpp
index ea019bcb93..2e9c804b21 100644
--- a/indra/newview/llflexibleobject.cpp
+++ b/indra/newview/llflexibleobject.cpp
@@ -788,11 +788,7 @@ BOOL LLVolumeImplFlexible::doUpdateGeometry(LLDrawable *drawable)
volume->updateRelativeXform();
- if (mRenderRes > -1)
- {
- LL_RECORD_BLOCK_TIME(FTM_DO_FLEXIBLE_UPDATE);
- doFlexibleUpdate();
- }
+ doFlexibleUpdate();
// Object may have been rotated, which means it needs a rebuild. See SL-47220
BOOL rotated = FALSE;