Commit 1167d48c authored by Claes Sjofors's avatar Claes Sjofors Committed by Claes Sjöfors

Ge XYCurve dynamics, bugfix for unconnected object

parent 7b25b67c
......@@ -11266,6 +11266,9 @@ int GeXY_Curve::scan(grow_tObject object)
dyn->parse_attr_name(
x_attr, parsed_name, &inverted, &attr_type_x, &attr_size, &attr_elem);
}
if (attr_elem == 0)
return 1;
x_value = calloc(MAX(attr_elem, no_of_points), attr_size / attr_elem);
sts = gdh_GetObjectInfo(parsed_name, x_value, attr_size);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment