Origin crashes if add then delete ROI


Version: 2022 SR1

Type: Bug Fixes

Category: Programming

Subcategory: Labtalk

Jira: ORG-24017


Open \Samples\Matrix Conversion and Gridding\2D Gaussian.ogm then press Ctrl+Shift+I to view mode.

Open Script Window then run the following LT together

layer.ROI();
layer.ROI(-1);

==> Origin crashes.

Note: No such issue if run one script first then run the another one.