c30ra / uv-align-distribute

This add-on help align and distribute uv island in the uv space
GNU General Public License v3.0
68 stars 9 forks source link

The addon panel randomly disappears #14

Closed jiabaoyu closed 4 years ago

jiabaoyu commented 4 years ago

"Align/Distribute" panel just randomly goes blank. Most of the case with complex scene which contains many Ngons. Sometimes, in a empty scene I add a cylinder, and go to UV editor, there is so possiblities that the panel goes blank. image

c30ra commented 4 years ago

Be sure uv sync is disabled, and give any error you have in the console

jiabaoyu commented 4 years ago

Be sure uv sync is disabled, and give any error you have in the console

Oh, I just realized that I always keeps uv sync activated. When disabled, problem solved. I guess why you make the addon disabled in UV SYNC mode is that distribute operation will need uv sync off otherwise vertex or edge selection in uv sync mode selects connected pieces would ruin the distribute result and is meaningless.

However, in face/island selection mode, when UV SYNC turned on, align funtion should still be functional.

I may make a usability imporvement proposal: When UV SYNC on, greyout or hide "distribute" function; When UV SYNC off, greyout or hide "align" function;

c30ra commented 4 years ago

If I'm not wrong unfortunately the way islands are detected is impossible with uv sync enabled. Blender doesn't provide a way to acess islands as we see them in the editor. I will add a warning if uv sync is enabled, but I can't do much more

jiabaoyu commented 4 years ago

If I'm not wrong unfortunately the way islands are detected is impossible with uv sync enabled. Blender doesn't provide a way to acess islands as we see them in the editor. I will add a warning if uv sync is enabled, but I can't do much more

Thank you for you excellent work!