You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am bit confused regarding your issue 😕
In the project's example file example.kra, the positions found in the layer_data are the following:
So they definitely aren't equal in the case of the example file.
Would there be any chance to explain the issue in more depth or to supply an example file?
Hello,
I am not sure I can set up my environment in order to create a pull request, but I would require just a small change in _get_layer_data.
All the layers seem to have a position 0,0, which makes the plugin unsuitable for importing images with many small layers.
This seems to be due to this:
layer_data["position"] = Vector2(exported_layer->left + (int32_t)exported_layer->x, exported_layer->top + (int32_t)exported_layer->y);
Would it be possible to publish "left" and "top" in layer_data autonomously as well?
Thanks!
The text was updated successfully, but these errors were encountered: