UV Editing select by patch sometimes fails #31830

Closed
opened 2012-06-14 15:08:49 +02:00 by Reiner Prokein · 9 comments

%%%r47319 Win 7, 64 Bit

I noticed that selecting by patch in the UV editing fails sometimes. It sometimes selects a neighbour patch, or doesnt select a patch at all. The attached scene has nearly every face as a single patch, im in the middle of unwrapping. I am not sure if this might even be the problem. But here it is extreme. Some patches are unselectable by that. I have to work around by using face mode.

Attached the example scene and a short flash video to show the problem%%%

%%%r47319 Win 7, 64 Bit I noticed that selecting by patch in the UV editing fails sometimes. It sometimes selects a neighbour patch, or doesn`t select a patch at all. The attached scene has nearly every face as a single patch, i`m in the middle of unwrapping. I am not sure if this might even be the problem. But here it is extreme. Some patches are unselectable by that. I have to work around by using face mode. Attached the example scene and a short flash video to show the problem%%%
Author

Changed status to: 'Open'

Changed status to: 'Open'

%%%Hi Reiner,

Island selection I think works by first finding the closest vertex from where you clicked, then selecting that island. When I look at your video it seems to follow this convention. It can be confusing because you have the mouse over an island, but the closest vertex is part of a nearby island so it selects that island. If you go into face mode of UV editor on the scene you attached you can also see that it works similarly with faces, except that it first finds the closest middle of a face and then selects that face, which can also lead to times when your cursor is over a face but it selects some other nearby face whose center is closer then the face your cursor is over.

This works the same in the 3d view if you are viewing it in wireframe mode with face select, it selects faces by the closest middle of a face, not actually the face your cursor is over. In 3d view shaded mode it actually selects by which face your cursor is over. Either way, if you understand this is how it works in the UV editor you can select any island you need to.

It does seem unintuative though and could probably be fixed, but I'm not familiar with the code so would let someone else check this first. I think there is a GSoC student working on UV system this year and this might fit their responsibilities. If no one else responds for a couple of weeks I'll have a look at it when I'm not as busy.

Thanks for the report and the time making your video.%%%

%%%Hi Reiner, Island selection I think works by first finding the closest vertex from where you clicked, then selecting that island. When I look at your video it seems to follow this convention. It can be confusing because you have the mouse over an island, but the closest vertex is part of a nearby island so it selects that island. If you go into face mode of UV editor on the scene you attached you can also see that it works similarly with faces, except that it first finds the closest middle of a face and then selects that face, which can also lead to times when your cursor is over a face but it selects some other nearby face whose center is closer then the face your cursor is over. This works the same in the 3d view if you are viewing it in wireframe mode with face select, it selects faces by the closest middle of a face, not actually the face your cursor is over. In 3d view shaded mode it actually selects by which face your cursor is over. Either way, if you understand this is how it works in the UV editor you can select any island you need to. It does seem unintuative though and could probably be fixed, but I'm not familiar with the code so would let someone else check this first. I think there is a GSoC student working on UV system this year and this might fit their responsibilities. If no one else responds for a couple of weeks I'll have a look at it when I'm not as busy. Thanks for the report and the time making your video.%%%
Author

%%%I see. Thanks for the explanation. It is really confusing. But now i know at least where it comes from :)%%%

%%%I see. Thanks for the explanation. It is really confusing. But now i know at least where it comes from :)%%%

%%%This probably could be improved somehow, but wouldn't consider this is a bug.%%%

%%%This probably could be improved somehow, but wouldn't consider this is a bug.%%%

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Author

%%%Well. I do. I want to select patches, not vertices. But it`s of course your decision :)%%%

%%%Well. I do. I want to select patches, not vertices. But it`s of course your decision :)%%%

%%%Hi

After thinking about this a bit more and running through some actual workflows, it wouldn't make sense in uv mode to select the same way as shaded face selection in the 3d view, as sometimes in uv editor the uv's overlap on purpose, and there wouldn't be a good way to choose which should be on top.

That being said, I think it would make sense for island select mode to select by nearest vert, edge, or face, instead of just by nearest vert. This also sounds like a relatively easy patch so I wrote it up.

You can try it out here: http://projects.blender.org/tracker/index.php?func=detail&aid=31869&group_id=9&atid=127

Thanks.%%%

%%%Hi After thinking about this a bit more and running through some actual workflows, it wouldn't make sense in uv mode to select the same way as shaded face selection in the 3d view, as sometimes in uv editor the uv's overlap on purpose, and there wouldn't be a good way to choose which should be on top. That being said, I think it would make sense for island select mode to select by nearest vert, edge, or face, instead of just by nearest vert. This also sounds like a relatively easy patch so I wrote it up. You can try it out here: http://projects.blender.org/tracker/index.php?func=detail&aid=31869&group_id=9&atid=127 Thanks.%%%
Author

%%%This sounds like a useful approach. Thanks :)%%%

%%%This sounds like a useful approach. Thanks :)%%%

%%%Hi,

I've updated the patch to work on trunk along with a couple of changes.

Also made a video demonstration of the patch here: https://www.youtube.com/watch?v=Vngz1JJwm1M%%%

%%%Hi, I've updated the patch to work on trunk along with a couple of changes. Also made a video demonstration of the patch here: https://www.youtube.com/watch?v=Vngz1JJwm1M%%%
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser Project (Legacy)
Interest
Asset System
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#31830
No description provided.