File tree 2 files changed +6
-10
lines changed
2 files changed +6
-10
lines changed Original file line number Diff line number Diff line change @@ -82,17 +82,13 @@ if (GVAR(enabled) == 1) exitWith {
82
82
// Clear selected entities if waypoint placement can occur and restore next frame
83
83
// Using entities tree as an alternative to the lack of a command to set curator selected entities
84
84
if (_canPlaceWaypoints ) then {
85
- private _ctrlEntities = findDisplay IDD_RSCDISPLAYCURATOR displayCtrl IDC_RSCDISPLAYCURATOR_ENTITIES;
86
- private _selection = tvSelection _ctrlEntities ;
87
- _ctrlEntities tvSetCurSel [- 1 ];
88
-
89
85
[{
90
- params [" _ctrlEntities" , " _selection" ];
86
+ params [" _objects" , " _groups" , " _waypoints" , " _markers" ];
87
+
88
+ setCuratorSelected (_objects + _groups + _waypoints + _markers );
89
+ }, curatorSelected ] call CBA_fnc_execNextFrame ;
91
90
92
- {
93
- _ctrlEntities tvSetSelected [_x , true ];
94
- } forEach _selection ;
95
- }, [_ctrlEntities , _selection ]] call CBA_fnc_execNextFrame ;
91
+ setCuratorSelected [];
96
92
};
97
93
};
98
94
};
Original file line number Diff line number Diff line change 10
10
#define VERSION_AR MAJOR,MINOR,PATCHLVL,BUILD
11
11
12
12
// MINIMAL required version for the Mod. Components can specify others..
13
- #define REQUIRED_VERSION 2.12
13
+ #define REQUIRED_VERSION 2.14
14
14
#define REQUIRED_CBA_VERSION {3 ,15 ,8 }
15
15
16
16
#ifdef COMPONENT_BEAUTIFIED
You can’t perform that action at this time.
0 commit comments