News:

 

Topic: Basic hierarchy in object list  (Read 29855 times)

0 Members and 2 Guests are viewing this topic.

  • No avatar
  • Posts: 3705
  • Developer
  • Administrator
  • Polygon
October 13, 2015, 10:04:29 am
Try this
http://www.digitalfossils.com/Download/NVil-Oct-13-15.rar

The problems of you two should be fixed.
LMB+Pause+LMB for naming is enabled.

  • Posts: 1697
  • Administrator
  • Polygon
    • http://samardac.com/
October 13, 2015, 10:13:24 am
Works super! :)
 As I understood you can not solve this thing with folder?
Portfolio: www.samardac.com

  • Posts: 1697
  • Administrator
  • Polygon
    • http://samardac.com/
October 13, 2015, 10:19:54 am
Some bug.
If I select one object:


Than select another one in viewport both have in my case blue background.


If you select them in Scene herarcy everything is working good.
Portfolio: www.samardac.com

  • No avatar
  • Posts: 3705
  • Developer
  • Administrator
  • Polygon
October 13, 2015, 11:14:53 am
Some bug.
If I select one object:


Than select another one in viewport both have in my case blue background.


If you select them in Scene herarcy everything is working good.

Try this
http://www.digitalfossils.com/Download/NVil-Oct-14-15.rar

  • Posts: 1697
  • Administrator
  • Polygon
    • http://samardac.com/
October 13, 2015, 01:50:04 pm
Nice!
IStonia what do you think about my last sugestion about Highlight selected objet?
http://voidworld.cmcproductions.co.uk/index.php/topic,2719.15.html
I think it would be great.
Portfolio: www.samardac.com

  • No avatar
  • Posts: 976
  • Polygon
October 13, 2015, 09:53:37 pm
Beautiful work. :)
Thank you, IStonia.

  • No avatar
  • Posts: 976
  • Polygon
October 14, 2015, 09:29:49 pm
Very often when after renaming an object in the hierarchy tree, Nvil selects other objects.
--
Sometimes it's Scene Hierarchy folder that gets selected for some reason.
« Last Edit: October 15, 2015, 12:44:57 am by rubberDuck »

  • No avatar
  • Posts: 3705
  • Developer
  • Administrator
  • Polygon
October 15, 2015, 09:12:48 am
Nice!
IStonia what do you think about my last sugestion about Highlight selected objet?
http://voidworld.cmcproductions.co.uk/index.php/topic,2719.15.html
I think it would be great.

I'll try to implement it the next few days.


Very often when after renaming an object in the hierarchy tree, Nvil selects other objects.
--
Sometimes it's Scene Hierarchy folder that gets selected for some reason.

Can you catch the bugs in a video?

  • Posts: 1697
  • Administrator
  • Polygon
    • http://samardac.com/
October 15, 2015, 09:23:06 am
Quote
I'll try to implement it the next few days.
Great!! Can't wait!

Also some bug with tree:
When you select group when hierarchic transform enabled, and after that try to select objects in viewport, Pivot stay at group mode, but it have to change to object mode. If you select object not in viewport but in tree everything is ok.
Portfolio: www.samardac.com

  • No avatar
  • Posts: 3705
  • Developer
  • Administrator
  • Polygon
October 15, 2015, 09:48:34 am
Also some bug with tree:
When you select group when hierarchic transform enabled, and after that try to select objects in viewport, Pivot stay at group mode, but it have to change to object mode. If you select object not in viewport but in tree everything is ok.


It's better to stay that way. The implementation is not easy. Also sometimes you may get confused when you are not sure the selection is made in viewport or tree view or when you do undo/redo.

  • No avatar
  • Posts: 976
  • Polygon
October 15, 2015, 11:56:53 am
Very often when after renaming an object in the hierarchy tree, Nvil selects other objects.
--
Sometimes it's Scene Hierarchy folder that gets selected for some reason.

Can you catch the bugs in a video?
Sure can as it's 100% reproducible.
Here's the video: https://www.dropbox.com/s/dg0of9g50948jdn/hierarchy_rename_causes_selection.mp4?dl=1

The video shows the problem in discussion, but also two other ones:
- Renaming objects in the Scene Hierarchy is a non-undoable operation.
- (This one is very tightly connected to the "rename leads to selection" bug) When hierarchical transforms are enabled and if there are leftovers from renaming an object from the main level of the tree (->Scene Hierarchy folder is marked in the Scene Hierarchy) then selecting any object in the viewport and transforming it will transform all objects from the scene.

Also, this isn't shown on the video, but hotkeys don't work when Scene Hierarchy has focus.

P.S. When you have time, can you make clicking on an empty space of the Scene Hierarchy to deselect the current selection? Like in Windows Explorer?

EDIT: Check the attachment for a scene in which you can reproduce the bug.
« Last Edit: October 15, 2015, 12:58:33 pm by rubberDuck »

  • No avatar
  • Posts: 3705
  • Developer
  • Administrator
  • Polygon
October 16, 2015, 07:37:47 am
I can't open the video file. Can you change the format?

  • No avatar
  • Posts: 976
  • Polygon
October 16, 2015, 12:19:53 pm
I can't open the video file. Can you change the format?
You need a player capable of opening H265 codec (like VLC).
Anyway, here's the same video in H264 - it should play in just anything: https://www.dropbox.com/s/c553kiyw67e01es/hierarchy_rename_causes_selection_h264.mp4?dl=1

  • No avatar
  • Posts: 976
  • Polygon
October 16, 2015, 08:17:19 pm
Some more feature requests that I think would greatly enhance working with hierarchy.

Parent command
Short description
Parents objects selected in the viewport. Last object in selection is used as the target (parent).

Use case
User wants to parent box1, box5 and box 7 under sphere1 without looking for them in the hierarchy tree. In the viewport, he selects box1, box5, box7 (in any order) and finally selects sphere1. He presses the hotkey assigned to the Parent command and selected boxes immediately become children of sphere1.

---

Reveal selected object(s) in the hierarchy tree

Short description
Expands all branches of the hierarchy tree that contain selected objects.

Use case
User selects several objects in the viewport and he wants to find them in the hierarchy tree. However the tree is collapsed. He presses the hotkey that invokes the Reveal command and immediately all branches that contain the selection are expanded to levels that those objects are located at.

---

Quick branch collapse/expand
Short description
Performs a complete collapse or expansion of all branches under the current level.

Use case A
The scene's hierarchy tree is deep and most of its branches are fully or partially expanded. The user wants to completely collapse a selected branch (complete collapse of a branch = collapsed selected branch and all of its child branches). He hovers the cursor over the "minus" icon (used for branch collapsing), depresses a modifier key (preferrably a SHIFT key) and LMB-clicks on the icon. Every single branch under the selected one gets collapsed.

Use case B
The scene's hierarchy tree is deep and most of its branches are fully collapsed. The user wants to completely expand a selected branch (complete expansion of a branch = expanded selected branch and all of its child branches). He hovers the cursor over the "plus" icon (used for branch expanding), depresses a modifier key (preferrably a SHIFT key) and LMB-clicks on the icon. Every single branch under the selected one gets expanded.

  • No avatar
  • Posts: 3705
  • Developer
  • Administrator
  • Polygon
October 18, 2015, 10:41:43 am
Try this
http://www.digitalfossils.com/Download/NVil-Oct-18-15.rar

* The bug is fixed.
* Undo/Redo works when the tree view is focused.
* Renaming is undoable.
* LMB on empty space in tree view will clear all selection.
* View > Set Hierarchy From Selection/Reveal Selection In Hierarchy.
* Shift+RMB for expand/Collapse.