Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds Mesh selection on Sector Preview #1049

Merged
merged 4 commits into from
Jan 2, 2023

Conversation

llicursi
Copy link
Contributor

@llicursi llicursi commented Jan 2, 2023

Adds a visual and textual feedback when selecting a rendered mesh on Sector Preview view.

mesh-selection-wolvenkit.mp4

Capturing the click over a mesh will select it and display in blue #0000FF to give a visual contrast of current used colors. Also, the worldNode will be displayed on new grid item called "Selection", e.g. : worldNode [145] instanceMeshNode

Implemented:

  • Mesh selection on Sector Preview view. Highlighting the Mesh in blue and displaying the name in selection field.
  • Renames header from Sector Previews to All Sector Preview, in MeshPreviewBlock.cs
  • Split mouse events per type of Preview : Mesh, All Sector, Sector and Entity

Fixed:

  • Mouse events on all previews is properly restored when tab focus is restored.

Copy link
Member

@rfuzzo rfuzzo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm, thanks!

@rfuzzo rfuzzo merged commit 0361dd8 into WolvenKit:main Jan 2, 2023
@Simarilius-uk
Copy link
Contributor

This is awesome, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants