Closed balintlaczko closed 4 years ago
OK, looks like when we export, the (last drawn) cropping dim is applied no matter cropping is on or not. UPDATE: The problem occurs at [VA_cropping_data], which sends the stored cropping to the cropping rectangle while exporting even if cropping is not on. Working on it...
OK, finally, it works. While implementing it I actually discovered several bad things happening when cropping is activated or deactivated, and some small structural issues... In the [VA_cropping_data] we are now logging the cropping state and cropping rect (the mouse start-end-diff array) for each item. If we want to extend the per-item-settings-recalling thing it might be wise to do it via extending the [dict VA_items]. So we can just save/recall the contents of the dict to save/recall the "session".
This probably has to do with some missing initialization of dim values. Steps to reproduce: