mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 19:19:56 +00:00
Prevent arrows for move/scale markers from intersecting.
This commit is contained in:
parent
492b99b008
commit
197ea95646
1 changed files with 1 additions and 1 deletions
|
@ -221,7 +221,7 @@ osg::ref_ptr<osg::Node> CSVRender::Object::makeMoveOrScaleMarker (int axis)
|
|||
|
||||
for (int i=0; i<2; ++i)
|
||||
{
|
||||
float length = i ? shaftLength : 0;
|
||||
float length = i ? shaftLength : MarkerShaftWidth;
|
||||
|
||||
vertices->push_back (getMarkerPosition (-MarkerShaftWidth/2, -MarkerShaftWidth/2, length, axis));
|
||||
vertices->push_back (getMarkerPosition (-MarkerShaftWidth/2, MarkerShaftWidth/2, length, axis));
|
||||
|
|
Loading…
Reference in a new issue