mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Maptools - Don't convert vanilla straight lines (#7072)
This commit is contained in:
parent
f04b26b93e
commit
80e203c371
@ -24,8 +24,10 @@ TRACE_2("params",_dir,_params);
|
||||
if ((_button == 0) && {GVAR(freedrawing) || _ctrlKey}) exitWith {
|
||||
if (GVAR(freedrawing) && {_dir == 0}) then {
|
||||
GVAR(freedrawing) = false;
|
||||
GVAR(drawPosEnd) = _control ctrlMapScreenToWorld [_screenPosX, _screenPosY];
|
||||
TRACE_2("Ending Line",GVAR(freedrawing),GVAR(drawPosEnd));
|
||||
if (_shiftKey) exitWith {
|
||||
TRACE_1("using vanilla straight line",_shiftKey);
|
||||
};
|
||||
TRACE_2("Ending Line",GVAR(freedrawing),GVAR(freeDrawingData));
|
||||
[{
|
||||
if (allMapMarkers isEqualTo []) exitWith {};
|
||||
private _markerName = allMapMarkers select (count allMapMarkers - 1);
|
||||
|
Loading…
Reference in New Issue
Block a user