summaryrefslogtreecommitdiff
path: root/indra/newview/llglsandbox.cpp
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2023-04-15 02:23:38 +0300
committerakleshchev <117672381+akleshchev@users.noreply.github.com>2023-04-17 13:33:49 +0300
commiteaccee37f2875c4d2378cf0ce562f382b88487d7 (patch)
tree6aa01150bada134272c66b6c4e2361b273437e4f /indra/newview/llglsandbox.cpp
parentebbc09551adbf9f03681740987a488a61593acc6 (diff)
SL-19549 Add option to show ban lines on collision
Diffstat (limited to 'indra/newview/llglsandbox.cpp')
-rw-r--r--indra/newview/llglsandbox.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llglsandbox.cpp b/indra/newview/llglsandbox.cpp
index 175f1849cf..25e9ade7df 100644
--- a/indra/newview/llglsandbox.cpp
+++ b/indra/newview/llglsandbox.cpp
@@ -741,6 +741,12 @@ void LLViewerParcelMgr::renderCollisionSegments(U8* segments, BOOL use_pass, LLV
gGL.end();
}
+void LLViewerParcelMgr::resetCollisionTimer()
+{
+ mCollisionTimer.reset();
+ mRenderCollision = TRUE;
+}
+
void draw_line_cube(F32 width, const LLVector3& center)
{
width = 0.5f * width;