![]() ![]() I tried fixing the code with ChatGPT’s help but nothing worked. ![]() I received a an error from reference tab plugin:This occurred when I was trying to flip my reference image vertically/horizontally with the flip buttons. Here isįile "/Users/sydniwilson/Library/Application Support/krita/pykrita/reference_tabs/reference_tabs.py", line 141, in toggle_hmirror The above is a description of an error in a Python program. Users/sydniwilson/Library/Application Support/krita/pykrita/reference_tabs/reference_tabs.py in toggle_hmirror(self=)ġ41 ansformedImage = (True,False)ĪttributeError: 'ReferenceViewer' object has no attribute 'transformedImage'Īrgs = ("'ReferenceViewer' object has no attribute 'transformedImage'",) Here is the sequence ofįunction calls leading up to the error, in the order they occurred. Python 3.9.12: /Users/sydniwilson/Desktop/krita.app/Contents/MacOS/kritaĪ problem occurred in a Python script. But I haven’t gotten those figured out yet.Īs I start to make more significant changes, I wonder if I should come up with some sort of versioning system, at least to save the commit hash somewhere, so it’s possible to easily know which version you’re using.īut for now, I didn’t want to let these useful commits pile up locally until I forgot about them. I’ve looked into adding the ability to scroll past the image bounds (to view the top of the image at the bottom of the docker, for instance), and also a way to only scale the part of the image that is being shown, because zooming in closely on the entirety of a large image uses a lot of memory.For instance, a setting to use smooth scaling or not (per image). Ideally there should be a way to load a new image in an existing tab with either the existing config or the default config. There are some issues with loading a new image into an existing tab, where the config isn’t set up properly.Possibly along with the ability to drag a single image into the tabbar instead to have it open in a new tab. I’d like to add some sort of option to drag-and-drop a single image into an existing tab, instead of always a new tab.Here’s my current todo list of some other things I’ve been working on but haven’t finished: Remember the last opened folder in the file dialog after restarting, by saving it into Krita’s kritarc config file.Currently the image(s) will always open in new tabs. Added support for drag-and-dropping images.Add menu actions to close All, Left, and Right tabs, instead of just the current tab.Previously there might have been some leaking of the tab widget. Correctly free memory when closing a tab.I’ve pushed a few new changes to my repository the short version is that you can now drag-and-drop images, and that the file dialog will remember what folder was open after restart. ![]() Zooming in uses the top-left corner instead of the center of the view.įeedback, suggestions, and modifications are welcome. Loading a large file and zooming in very close will use a lot of memory! This is because the entire image is being scaled, not just the visible part. ![]() Set the behavior of the “Fit to page” button to one of the following:īelow the image is a toolbar. Load: Prompts to load an image in the current tab.Ĭlose Tab: Closes the current tab. Open: Adds a tab and prompts to load an image. Open reference images in docker tabs, with zooming, scrolling, and mirroring. The manual to explain the details (click to show): Reference Tabs Docker GitLab repo: Freya Lupen / Reference Tabs Docker There are still some issues and things that could be improved, but I figured I would share it the way it is now in case anyone’s interested rather than waiting until I get around to working on it again. Referencing one of Krita’s previous splash screens, Blooming II by Tyson Tan, to draw some fanart of Kiki. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |