Custom Query (95 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (82 - 84 of 95)

Ticket Resolution Summary Owner Reporter
#61 fixed Units option on *calibrate Olly Betts Andrew
Description

Currently the calibrate adjusts for the offset then multiplies by the scale factor, which works for a stretched tape with the end missing *calibrate tape 0.05 0.752

But of things like mounting a DistoX in a waterproof case the offset will be measured with another device so will not want scaling

Suggestion is to allow the addition of units to the offset if the scale factor should not be applied, this should allow the original format to continue to work while adding functionality.

if not units

real = ( reading - offset) * scale

If units eg *calibrate tape -0.05m 0.752

real = reading * scale - offset
#119 fixed Undefined behavior in img.c Olly Betts Matěj Plch
Description

Hi, therion uses img.h and img.c, and when I compile and run therion with Undefined Behavior Sanitizer, this error appears:

UndefinedBehaviorSanitizer: undefined-behavior
../extern/img.c:103:27: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'

Problem is in function get32(), where shifting of signed value by 24 bits interferes with a sign bit. Bitwise operations should be done with unsigned types.

Therion CI job where this error occured: https://github.com/Afforix/therion/runs/2025117514?check_suite_focus=true.

#20 fixed Aven crashes on opening file on Ubuntu 11.04 Olly Betts Mike
Description

Opening a 3d file results in the following:-

The program 'aven' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadDrawable (invalid Pixmap or Window parameter)'.
  (Details: serial 33805 error_code 9 request_code 137 minor_code 8)

Help About... shows:-

Linux 2.6.38-11-generic i686
wxWidgets 2.8.11 (GTK+ >= 2.6)
Display Depth: 24 bpp (colour)
No OpenGL information available yet - try opening a file.

Graphics card is Radeon X1300/X1550 Series

Failure seems to leave the following message in Xorg.0.log:

[273047.328] (EE) RADEON(0): [DRI2] DRI2SwapBuffers: drawable has no back or front?
Note: See TracQuery for help on using queries.