Commit 1186404b authored by Claes Sjofors's avatar Claes Sjofors

Ge XYCurve dynamics, bugfix for unconnected object

parent d3fe5682
...@@ -11267,6 +11267,9 @@ int GeXY_Curve::scan(grow_tObject object) ...@@ -11267,6 +11267,9 @@ int GeXY_Curve::scan(grow_tObject object)
dyn->parse_attr_name( dyn->parse_attr_name(
x_attr, parsed_name, &inverted, &attr_type_x, &attr_size, &attr_elem); 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); x_value = calloc(MAX(attr_elem, no_of_points), attr_size / attr_elem);
sts = gdh_GetObjectInfo(parsed_name, x_value, attr_size); 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