diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llmaniprotate.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/linden/indra/newview/llmaniprotate.cpp b/linden/indra/newview/llmaniprotate.cpp index 94bbe7d..43a22e5 100644 --- a/linden/indra/newview/llmaniprotate.cpp +++ b/linden/indra/newview/llmaniprotate.cpp | |||
@@ -868,7 +868,7 @@ void LLManipRotate::renderSnapGuides() | |||
868 | LLVector3 outer_point; | 868 | LLVector3 outer_point; |
869 | LLVector3 text_point; | 869 | LLVector3 text_point; |
870 | LLQuaternion rot(deg * DEG_TO_RAD, constraint_axis); | 870 | LLQuaternion rot(deg * DEG_TO_RAD, constraint_axis); |
871 | gGL.begin(GL_LINES); | 871 | gGL.begin(LLVertexBuffer::LINES); |
872 | { | 872 | { |
873 | inner_point = (projected_snap_axis * mRadiusMeters * SNAP_GUIDE_INNER_RADIUS * rot) + center; | 873 | inner_point = (projected_snap_axis * mRadiusMeters * SNAP_GUIDE_INNER_RADIUS * rot) + center; |
874 | F32 tick_length = 0.f; | 874 | F32 tick_length = 0.f; |
@@ -1046,7 +1046,7 @@ void LLManipRotate::renderSnapGuides() | |||
1046 | object_axis = object_axis * SNAP_GUIDE_INNER_RADIUS * mRadiusMeters + center; | 1046 | object_axis = object_axis * SNAP_GUIDE_INNER_RADIUS * mRadiusMeters + center; |
1047 | LLVector3 line_start = center; | 1047 | LLVector3 line_start = center; |
1048 | 1048 | ||
1049 | gGL.begin(GL_LINES); | 1049 | gGL.begin(LLVertexBuffer::LINES); |
1050 | { | 1050 | { |
1051 | gGL.vertex3fv(line_start.mV); | 1051 | gGL.vertex3fv(line_start.mV); |
1052 | gGL.vertex3fv(object_axis.mV); | 1052 | gGL.vertex3fv(object_axis.mV); |
@@ -1054,7 +1054,7 @@ void LLManipRotate::renderSnapGuides() | |||
1054 | gGL.end(); | 1054 | gGL.end(); |
1055 | 1055 | ||
1056 | // draw snap guide arrow | 1056 | // draw snap guide arrow |
1057 | gGL.begin(GL_TRIANGLES); | 1057 | gGL.begin(LLVertexBuffer::TRIANGLES); |
1058 | { | 1058 | { |
1059 | LLVector3 arrow_dir; | 1059 | LLVector3 arrow_dir; |
1060 | LLVector3 arrow_span = (object_axis - line_start) % getConstraintAxis(); | 1060 | LLVector3 arrow_span = (object_axis - line_start) % getConstraintAxis(); |
@@ -1074,7 +1074,7 @@ void LLManipRotate::renderSnapGuides() | |||
1074 | 1074 | ||
1075 | { | 1075 | { |
1076 | LLGLDepthTest gls_depth(GL_TRUE); | 1076 | LLGLDepthTest gls_depth(GL_TRUE); |
1077 | gGL.begin(GL_LINES); | 1077 | gGL.begin(LLVertexBuffer::LINES); |
1078 | { | 1078 | { |
1079 | gGL.vertex3fv(line_start.mV); | 1079 | gGL.vertex3fv(line_start.mV); |
1080 | gGL.vertex3fv(object_axis.mV); | 1080 | gGL.vertex3fv(object_axis.mV); |
@@ -1082,7 +1082,7 @@ void LLManipRotate::renderSnapGuides() | |||
1082 | gGL.end(); | 1082 | gGL.end(); |
1083 | 1083 | ||
1084 | // draw snap guide arrow | 1084 | // draw snap guide arrow |
1085 | gGL.begin(GL_TRIANGLES); | 1085 | gGL.begin(LLVertexBuffer::TRIANGLES); |
1086 | { | 1086 | { |
1087 | LLVector3 arrow_dir; | 1087 | LLVector3 arrow_dir; |
1088 | LLVector3 arrow_span = (object_axis - line_start) % getConstraintAxis(); | 1088 | LLVector3 arrow_span = (object_axis - line_start) % getConstraintAxis(); |