mirror of
https://github.com/sky-systems/sky_phone.git
synced 2026-09-04 09:13:24 +00:00
FIX - use a stable camera hold pose
Replace the selfie dance dictionary with the looping phone camera pose. Apply the same hold animation to rear and selfie modes while preserving vehicle-specific phone animations.
This commit is contained in:
@@ -245,8 +245,11 @@ local function get_base_animation(ped, mode)
|
||||
if mode == MODE_CALL then
|
||||
return dictionary, Config.Animations.Clips.CallListen
|
||||
end
|
||||
if mode == MODE_CAMERA_SELFIE and not IsPedInAnyVehicle(ped, false) then
|
||||
return Config.Animations.Dictionaries.Selfie, Config.Animations.Clips.Selfie
|
||||
if
|
||||
(mode == MODE_CAMERA_REAR or mode == MODE_CAMERA_SELFIE)
|
||||
and not IsPedInAnyVehicle(ped, false)
|
||||
then
|
||||
return Config.Animations.Dictionaries.Camera, Config.Animations.Clips.Camera
|
||||
end
|
||||
return dictionary, Config.Animations.Clips.TextRead
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user