BEE2-items icon indicating copy to clipboard operation
BEE2-items copied to clipboard

CAM_STUDIO_PITCH doesn't get set

Open vrad-exe opened this issue 1 year ago • 3 comments

When using monitors, CAM_STUDIO_PITCH does not get set by the precompiler, resulting in the monitors not behaving right and the console getting spammed with errors:

AN ERROR HAS OCCURED [the index 'CAM_STUDIO_PITCH' does not exist]

CALLSTACK
*FUNCTION [set_camera_studio()] mon_camera.nut line [105]
*FUNCTION [Think()] mon_camera.nut line [70]

LOCALS
[this] TABLE
[this] TABLE

vrad-exe avatar Sep 30 '24 02:09 vrad-exe

Hmm, wut. That was changed to CAM_STUDIO_ANG (storing pitch/yaw/roll together) in 2020 - BEEmod/BEE2.4@0f3e4fc069fcc644ee4c71b81aca8ba2ad0285c8.

TeamSpen210 avatar Sep 30 '24 03:09 TeamSpen210

Did you never push the updated script? I'd be surprised if it was broken that long though

vrad-exe avatar Sep 30 '24 03:09 vrad-exe

Apparently not, and also I don't even have it in my version. Easy fix though.

TeamSpen210 avatar Sep 30 '24 03:09 TeamSpen210