Skip to content

Commit

Permalink
Merge branch 'master' into use-CBA_fnc_execAfterNFrames
Browse files Browse the repository at this point in the history
  • Loading branch information
mharis001 committed Oct 3, 2023
2 parents 0aa1693 + 9831768 commit fe1e510
Show file tree
Hide file tree
Showing 10 changed files with 8 additions and 11 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<p align="center">
<img src="https://raw.githubusercontent.com/zen-mod/ZEN/master/extras/assets/logo/logo_zen_black.png" width="500">
<img src="https://github.com/zen-mod/ZEN/raw/master/extras/assets/logo/black/ZEN-Logo.png#gh-light-mode-only" width="512">
<img src="https://github.com/zen-mod/ZEN/raw/master/extras/assets/logo/white/ZEN-Logo.png#gh-dark-mode-only" width="512">
</p>

<p align="center">
Expand Down
14 changes: 5 additions & 9 deletions addons/context_menu/functions/fnc_initDisplayCurator.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -82,17 +82,13 @@ if (GVAR(enabled) == 1) exitWith {
// Clear selected entities if waypoint placement can occur and restore next frame
// Using entities tree as an alternative to the lack of a command to set curator selected entities
if (_canPlaceWaypoints) then {
private _ctrlEntities = findDisplay IDD_RSCDISPLAYCURATOR displayCtrl IDC_RSCDISPLAYCURATOR_ENTITIES;
private _selection = tvSelection _ctrlEntities;
_ctrlEntities tvSetCurSel [-1];

[{
params ["_ctrlEntities", "_selection"];
params ["_objects", "_groups", "_waypoints", "_markers"];

setCuratorSelected (_objects + _groups + _waypoints + _markers);
}, curatorSelected] call CBA_fnc_execNextFrame;

{
_ctrlEntities tvSetSelected [_x, true];
} forEach _selection;
}, [_ctrlEntities, _selection]] call CBA_fnc_execNextFrame;
setCuratorSelected [];
};
};
};
Expand Down
2 changes: 1 addition & 1 deletion addons/main/script_mod.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#define VERSION_AR MAJOR,MINOR,PATCHLVL,BUILD

// MINIMAL required version for the Mod. Components can specify others..
#define REQUIRED_VERSION 2.12
#define REQUIRED_VERSION 2.14
#define REQUIRED_CBA_VERSION {3,16,0}

#ifdef COMPONENT_BEAUTIFIED
Expand Down
Binary file added extras/assets/logo/black/ZEN-Logo.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added extras/assets/logo/black/ZEN-Logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed extras/assets/logo/logo_zen_black.png
Binary file not shown.
Binary file added extras/assets/logo/white/ZEN-Logo.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added extras/assets/logo/white/ZEN-Logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes

0 comments on commit fe1e510

Please sign in to comment.