edgeToFaceSelect is bugged?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Trying to convert edge to face selection in Unwrap Editor using maxscript. It only works if 2 or more edges selected and at least 2 edges are not touching.
1 create default plane and convert it to Editable Poly
2 apply Unwrap UVW modifier and open its editor
3 switch to face mode and select all faces(you need it to see face selection changes)
4 switch to edge mode and select any single edge
5 in Listener run
$.modifiers[1].edgeToFaceSelect()
6 switch to faces
You can see that No faces are selected.
To see how it is supposed to work:
1b create default plane and convert it to Editable Poly
2b apply Unwrap UVW modifier and open its editor
3b switch to face mode and select all faces(you need it to see face selection changes)
4b switch to edge mode and select 2 edges that are not touching and share same face(top and bottom or left and right edges of the same face)
5b in Listener run
$.modifiers[1].edgeToFaceSelect()
6b switch to faces
Face that has both of these edges, is selected as expected.
If I select a single edge and convert selection to faces via UI, by clicking on faces button while holding Ctrl - it will work as expected, thus I assume the problem is with edgeToFaceSelect()
but that method doesn't produce any events in macrorecorder so I can't use it.