Revision 5c8ed74d client/python/hlrc_client/MiddlewareRSB.py

View differences:

client/python/hlrc_client/MiddlewareRSB.py
171 171
        t = SphericalDirectionFloat()
172 172
        t.elevation = gaze.tilt
173 173
        t.azimuth = gaze.pan
174
        hg.target = t
174
        hg.target.CopyFrom(t)
175 175

  
176 176
        hg.eye_vergence = gaze.vergence
177 177

  
178 178
        o = SphericalDirectionFloat()
179 179
        o.elevation = gaze.tilt_offset
180 180
        o.azimuth = gaze.pan_offset
181
        hg.offset = o
181
        hg.offset.CopyFrom(o)
182 182

  
183 183
        if blocking:
184 184
            # blocking:

Also available in: Unified diff