mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Optics - Don't modify camera for ThreeDen Editor
Fix broken ThreeDen Camera when returning to editor from preview. PIP will still work in preview. Will have to take a look at 1.56 RC to see if command exists and eventually cleanup.
This commit is contained in:
parent
9833a543b0
commit
360bdcb50e
@ -6,6 +6,12 @@ if (!hasInterface) exitWith {};
|
||||
GVAR(camera) = objNull;
|
||||
|
||||
0 = 0 spawn {
|
||||
// Workarround for the ThreeDen Editor Camera
|
||||
//ToDo: verify if command will exist in 1.56 release
|
||||
if (((productVersion select 2) >= 155) && {is3DEN}) exitWith {
|
||||
ACE_LOGINFO("Eden detected: disabling Optics PIP Camera");
|
||||
};
|
||||
|
||||
waituntil {!isNull ACE_player};
|
||||
waituntil {sleep 1; {_x != GVAR(camera)} count allMissionObjects "camera" == 0 && {isNull curatorCamera}};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user