Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set a BL_Order to all the panels so that the panels stay in the exact same order every time you load blender #121

Open
Tracked by #117
wikid24 opened this issue Dec 2, 2023 · 2 comments · May be fixed by #117
Open
Tracked by #117
Labels
enhancement New feature or request

Comments

@wikid24
Copy link

wikid24 commented Dec 2, 2023

Hi,

Me again. This seems like such a small thing, but I cannot ever find the same panel I am looking for in MMD Tools because it changes position every time I load blender or load a new .blend file.

Sometimes the panel I am looking for is on the top, sometimes it is on the bottom, but it is never in the exact same place... Is it possible to set a bl_order so that the panels will stay in the exact same place all the time? It doesn't matter what the order is to me, as along as they are always in the exact same place.

image

https://docs.blender.org/api/current/bpy.types.Panel.html#bpy.types.Panel.bl_order

Thank you!

@wikid24
Copy link
Author

wikid24 commented Dec 2, 2023

example of me using this code on my ffxiv mmd tools helper addon to make sure the panels always stay in the exact same order: https://github.com/wikid24/ffxiv_mmd_tools_helper/blob/master/ffxiv_mmd_tools_helper/panels.py

@UuuNyaa UuuNyaa added the enhancement New feature or request label Dec 3, 2023
@UuuNyaa UuuNyaa linked a pull request Dec 3, 2023 that will close this issue
11 tasks
@UuuNyaa
Copy link
Owner

UuuNyaa commented Dec 3, 2023

Thanks for the suggestion 😀
I will specify the panel orders in #117

@UuuNyaa UuuNyaa linked a pull request Apr 22, 2024 that will close this issue
11 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants