sverchok
sverchok copied to clipboard
fix #4705. Viewer Index+ show right text with multiple objects and indices of objects
Sverchok 1.3.0-alpha, Blender 3.6.1, Windows 11
fix #4705
- [ ] waiting for ready to blender 4.0
Now Modes are good:
-
Only indices for vertices, edges, faces without object indices
-
Indices for vertices, edges, faces with (!!!) object indices
-
Only text for vertices, edges, faces without object indices
)
-
Text for vertices, edges, faces with (!!!) object indices
Blend file for tests: issue_4705.example.blend.zip
Hi @zeffii ! Can you test this pull request? I force to work this node in a mode with multiple objects with custom text and property "Draw Object Index" is On. But I think this node need global refactor ))) (not now)
P.S. Also I simplify using shaders to a single shader draw_indices_2D_wbg without draw_indices_2D. draw_indices_2D is a very simple and it differ only by a background rectangle. May be draw_indices_2D is not need any more?
All was hidden with that configuration of params:
Fixed.
the ghost icon-button is for hiding backfacing indices, so only really works when user passes polygons too.
I get this glitch after exclude draw_indices_2D. Now it is work good.
Hi, @zeffii! May I ask you to view this PR?
@satabol sorry , i've been traveling and have not been spending much time near computers.
i don't see anything i disagree with, but would prefer if #4983 was pushed first.
Ok @zeffii. No problem. I will expect it. )))