-
Notifications
You must be signed in to change notification settings - Fork 137
[Request] Group Brushes Using Shortcut + Selection Behavior #58
Comments
As for your first question, it already exists, instead of CTRL+G just press the G key. To ungroup, press SHIFT+G. You can see this in the preferences window under key mappings or in the wiki. |
Well, that's embarrassing. Thank you. |
I made a blunder just like it very recently here haha. But I like your selection idea, makes a lot of sense. Will see how well it works. 😄 |
I implemented most of your wishes. You can now create a group, remove a group, select all brushes in a group and select the group in the inspector. Sadly selecting the group and moving all brushes at once with the resize tool isn't an option, but you can quickly select every brush in the group now with a single button press and then move them. |
Sorry about the delay, your idea isn't bad and it works quite well but I found another solution that's even better. Now by default the group will be selected (similarly to a compound brush) and you get the common bounds tools. It's even more user friendly and makes the hierarchy selection less awkward. |
Awesome! Can't wait to check it out. |
Maybe it's a problem on my end, but creating a group will turn subtract brushes into add brushes. This also happens if I attempt to move the group. |
I can confirm this behavior, nice find. I will have a look and see why this is happening. |
The issue has been fixed, please try it out. :) |
Please have another look at the latest pull request update. I removed the 'Always Select Group' flag and it now behaves absolutely amazing just like compound brushes. No more flickering in the hierarchy. You can manually select a child brush in the hierarchy to edit it and if you click in the scene view it will select the whole group. Complete with new inspector icon. This is the type of behavior that would make @sabresaurus proud. 😁 |
Wow, that's great work! However, if you move or resize a child, it seems that the group bounds aren't updated automatically. It's great being able to select a child in the hierarchy without activating the whole group. On that note, I think that it'd be intuitive if this behavior was also reflected in the scene view. Perhaps the user could select a child in the scene view by double-clicking it? I'm curious - is this way of grouping brushes paving the way to being able to perform CSG operations on groups? |
Yeah I got stuck with the bounding box size earlier today and I couldn't find a good way to update it but all of the sudden I realized there was an obvious solution all along so it's solved now. Thanks for the reminder. Double click has been implemented as suggested, feel free to give it a try. Also not sure what you mean with CSG operations on groups? |
You've done it! 👍 The bounding box updates without issue and the double-click selection works perfect. By CSG operations on groups I mean setting a group to add/subtract (and intersect down the line, perhaps?) like you would an individual brush. Say you have a group consisting of two boxes, one smaller subtracting the other, creating a frame. Settings the group to subtract would essentially give the user a subtracting frame. EDIT: I feel like I need to say it again, awesome work on the group management. Works great, feels great. |
Ah right! It's literally Unreal Editor's Intersect feature: Unless @sabresaurus knows a trick this may not be possible because the new shape is no longer convex (SabreCSG does not support concave shapes, yet). Edit: And thank you too! Thanks to your report we now have amazing group management! :) |
Your request should probably be copy & pasted into a new issue. |
Added visual group management. Fixes #58.
It's possible to group brushes by creating an empty GameObject and inserting the brushes as children. Could this be handled automatically? E.g. select the brushes you wish to group, press Ctrl+G and a parent GameObject is created.
Also, it would be convenient if selecting a parent GameOject selected all the children. And/or, if there was a option to select the entire group when clicking a child. Is this feasible? Perhaps it would make more sense to group brushes using some specific Sabre CSG object instead.
The text was updated successfully, but these errors were encountered: