compas-dev / compas_view2

Standalone viewer for COMPAS
https://compas.dev/compas_view2/
MIT License
6 stars 8 forks source link

Sceneform multi selection #189

Closed ZacZhangzhuo closed 9 months ago

ZacZhangzhuo commented 9 months ago

This should close #186

What type of change is this?

2023-11-11-01-11-01-56

Checklist

Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

petrasvestartas commented 9 months ago

@ZacZhangzhuo

Thank you :)

Would it also select all the child elements when a parent is selected?

image
ZacZhangzhuo commented 9 months ago

@ZacZhangzhuo

Thank you :)

Would it also select all the child elements when a parent is selected? image

not really... generally in the view2 and most other software, the left click is for a single selection, shift or control + the click is for multiple. In this case, considering we will need to select the parent object only, I felt is better to assign the left click to single selection. if you want to select multiple, simply holding shift and clicking a range of them should work :)