franMarz / TexTools-Blender

TexTools is a UV and Texture toolset created several years ago for Blender and Max by @renderhjs. In this open repository, originally created by @SavMartin, we develop the current version of this popular Blender add-on.
Other
2.02k stars 138 forks source link

Issue with "Straight" feature under "UV Layout". #204

Closed kushag09 closed 7 months ago

kushag09 commented 7 months ago

Trying to straighten the edge of my UV but apparently it doesn't do anything. Attached a video here showing the issue, please check. Using Blender 4.0 and TexTools version 1.6.1.

https://github.com/franMarz/TexTools-Blender/assets/67006397/cdd3427a-0fb4-43bc-b203-b5d433c32662

franMarz commented 7 months ago

Could you please share a simplified file containing the geometry of that problematic UV island only?

kushag09 commented 7 months ago

Sure, here's the obj file - https://drive.google.com/file/d/18EXeTFQR3sEntTliTZRohthk7hRhQSHF/view?usp=sharing

Couldn't share it via github as it isn't supported.

kushag09 commented 7 months ago

Hi, I reinstalled the textools with the changes you made, the feature still doesn't seem to work for me. Is it because of the geometry?

https://github.com/franMarz/TexTools-Blender/assets/67006397/e6658046-d0aa-4c2e-aecd-127b060ba93b

I noticed one thing, if I make changes to the uv like scaling, rotating and then perform the "straight" feature, it reverts all these changes made.

franMarz commented 7 months ago

Straight worked for me even before my last commit. I thought that the problem should be bound to the object being active but not selected in your blendfile, because you sent me the OBJ file and I selected the object and it worked. Please send me a simplified version of the blendfile, only with that shirt piece, zipped. You will be able to upload the ZIP archive here.

kushag09 commented 7 months ago

Shf.zip

Here's the zip file. I am using blender 4.0, maybe it could be the issue of the blender version.

franMarz commented 7 months ago

I use the same version. The problem is that you have Live Unwrapping enabled. Just deactivate Live Unwrap while in Edit Mode from the Options popover at the top right corner of the 3D Space Editor. This should be exposed more clearly in the Blender UI tbh. We have to consider whether TexTools should alert about this, like it used to do with UV Selection Sync when most of the tools were not compatible with it.