![]() It seems to work on a Mac, but I don’t know how well this technique will work on other platforms (especially X-Windows with its slimy asynchronous nature). I’d appreciate other developers and users trying it and letting me know if it works and feels ok, please. One possible way to handle the window edge problem is to “warp” the cursor by the same offset as you had to move the menu to keep it on the screen. ![]() Plus there should be a user option to enable and disable it, of course. And I hope it does not astonish users too much. I’ve made a patch that implements one approach to solving this problem using mouse warping that I’ve tried and like.īut it needs to be tested on other platforms, which I don’t have set up myself. To get started learning the code, I’ve tried taking a stab at fixing a bug, “Pie menu breaks if spawned near window edge”: #49029 - Pie menu breaks if spawned near window edge - blender - Blender Projects Especially an example of how to make a custom view with boxes and arrows you can drag around, like the graph editor. ![]() I would appreciate suggestions of other exemplary code and add-ons to look at as examples of how to program Blender. It’s a great example to learn Blender user interface programming from, since it does so many more things than just editing pie menus. So I’ve been reading the Python and C++ source code in Blender, and also playing with Raa’s amazing Pie Menu Editor and reading its source code to learn how it works. Hi! I’m delighted by Blender 2.8’s support for pie menus (which I’ve implemented for other systems), and I’d like to help improve them.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |