PythonAPI: BMLoopUV.select_edge never returns True and doesn't update uv select state when set manually. #65836
Labels
No Label
Interest
Animation & Rigging
Interest
Blender Cloud
Interest
Collada
Interest
Core
Interest
Documentation
Interest
Eevee & Viewport
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
Import and Export
Interest
Modeling
Interest
Modifiers
Interest
Nodes & Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds, Tests & Devices
Interest
Python API
Interest
Rendering & Cycles
Interest
Sculpt, Paint & Texture
Interest
Translations
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Meta
Good First Issue
Meta
Papercut
Module
Add-ons (BF-Blender)
Module
Add-ons (Community)
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
6 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#65836
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: Linux-4.18.0-21-generic-x86_64-with-debian-buster-sid 64 Bits
Graphics card: Mesa DRI Intel(R) Haswell Mobile Intel Open Source Technology Center 4.5 (Core Profile) Mesa 18.2.8
Blender Version
Broken: version: 2.80 (sub 74), branch: blender2.7, commit date: 2019-06-03 19:00, hash:
blender/blender@d62a749fcf
Worked: (optional)
Short description of error
BMLoopUV.select_edge never returns True and doesn't update uv select state when set manually.
Exact steps for others to reproduce the error
See attached .blend file for exact/minimal repro. Contains an embedded script with a simple bmesh operator ("UVLoop Select Edge Bug"), when you run it with a selected edge in the UV editor it should print "THIS WILL NEVER HAPPEN" to the console, but obviously it does not. Script also contains simple logic to prove that the edge is selected by checking the next loop's select state.
uvloop_bug.blend
Script, for posterity:
Added subscriber: @testure
Added subscriber: @kioku
For anyone else who might need this functionality, a workaround that I use is the following:
Added subscriber: @ideasman42
Added subscriber: @lichtwerk
@ideasman42 :
MLOOPUV_EDGESEL
is not set anywhere [code is relying onMLOOPUV_VERTSEL
everywhere afaict].Could look into this, but not sure how behavior here should be regarding
select_edge
? Should the flag be set if any neighborMLoopUV
is selected (feels ambiguous)?This variable should probably be removed.
This issue was referenced by blender/blender@9fa29fe765
Changed status from 'Confirmed' to: 'Resolved'
@testure: this has now been properly removed, leaving you with your workaround which seems good.