Login Page - Create Account

Support Board


Date/Time: Sat, 18 May 2024 16:54:26 +0000



Post From: suggestion about sc.AddAndManageSingleTextUserDrawnDrawingForStudy()

[2024-04-11 01:42:57]
@sstfrederik - Posts: 404
For what its worth. Just checked the source of this study, and I guess the below code as added very recently as this functionality stopped working as expected for some of my studies.

Adding this CreateNeeded does not make a lot of sense as it prevents a redraw when new values are used for the positioning when a drawing was already there. It should always create.


bool CreateNeeded = r_DrawingTextLineNumber == 0;

if (CreateNeeded)
{
  Tool.BeginDateTime = HorizontalPosition;
  Tool.BeginValue = static_cast<float>(VerticalPosition);
}

Date Time Of Last Edit: 2024-04-11 01:43:29